mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
refs #477, allow to detect an invisible dock widget parent by using CEnableForDockWidgetInfoArea for the view base
(by that I can tell if the parent dock widget is visible)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
0c94922bd6
commit
3acf085b92
@@ -12,6 +12,7 @@
|
||||
#ifndef BLACKGUI_VIEWBASE_H
|
||||
#define BLACKGUI_VIEWBASE_H
|
||||
|
||||
#include "blackgui/components/enablefordockwidgetinfoarea.h"
|
||||
#include "blackgui/filters/filterdialog.h"
|
||||
#include "blackgui/filters/filterwidget.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
@@ -35,7 +36,8 @@ namespace BlackGui
|
||||
namespace Views
|
||||
{
|
||||
//! Non templated base class, allows Q_OBJECT and signals / slots to be used
|
||||
class BLACKGUI_EXPORT CViewBaseNonTemplate : public QTableView
|
||||
class BLACKGUI_EXPORT CViewBaseNonTemplate :
|
||||
public QTableView, public BlackGui::Components::CEnableForDockWidgetInfoArea
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user