6#include <QtCore/QtGlobal>
7#if QT_VERSION >= 0x050000
8#include <QtWidgets/QDockWidget>
10#include <QtGui/QDockWidget>
35 I_ASSIGN(m_slaveGuiCompPtr,
"SlaveGui",
"Slave GUI for this dock widget",
true,
"SlaveGui");
36 I_ASSIGN(m_dockAreaAttrPtr,
"DockArea",
"Specify the dock area for this widget\n 0 - left\n 1 - right\n 2 - top\n 3 - bottom",
false, 0);
37 I_ASSIGN(m_dockFeaturesAttrPtr,
"DockFeatures",
"Specify the dock features for this widget\nIt is combination of options:\n0 - permanent\n1 - closable\n 2 - moveable\n 4 - floatable\n 8 - vertical title",
true,
WCF_CLOSABLE |
WCF_MOVEABLE |
WCF_FLOATABLE);
38 I_ASSIGN(m_allowedDockAreasAttrPtr,
"AllowedDockAreas",
"Specify the allowed dock areas\nIt is combination of options:\n 1 - left\n 2 - right\n 4 - top\n 8 - bottom",
false, 0);
39 I_ASSIGN(m_dockTitleAttrPtr,
"DockTitle",
"Specify the dock title ",
false,
"DockTitle");
56 I_ATTR(
int, m_dockAreaAttrPtr);
57 I_ATTR(
int, m_dockFeaturesAttrPtr);
58 I_ATTR(
int, m_allowedDockAreasAttrPtr);
Common interface for GUI objects used in ACF component context.
A common interface for main window component such as dock widget, tool bar and so on.
@ WCF_FLOATABLE
Element can be float from the main window to be standalone window.
@ WCF_CLOSABLE
Element can be closed.
@ WCF_MOVEABLE
Element can be moved.
Base class for all Qt GUI componentes.
#define I_TEXTATTR(member)
Declare translatable text attribute member.
Standard GUI specific interfaces and components based on Qt.