6#include <QtCore/QString>
7#if QT_VERSION >= 0x050000
8#include <QtWidgets/QWidget>
9#include <QtWidgets/QSplitter>
11#include <QtGui/QWidget>
12#include <QtGui/QSplitter>
45 I_ASSIGN_MULTI_0(m_guisCompPtr,
"Guis",
"List of GUI's",
true);
46 I_ASSIGN(m_designTypeAttrPtr,
"DesignType",
"Type of design:\n* 0 - Simple (Group Box)\n* 1 - Tool Box\n* 2 - Tab Bar\n* 3 - Splitter\n* 4 - Stacked\n* 5 - Collapsible groups\n* 6 - Mini-widget",
true,
false);
47 I_ASSIGN(m_settingsKeyAttrPtr,
"SettingsKey",
"Key for saving/restoring of the layout information in the registry",
false,
"SettingsKey");
48 I_ASSIGN(m_tabOrientationAttrPtr,
"TabBarOrientation",
"Orientation of the tab bar for tab design\n 0 - North\n 1 - South\n 2 - West\n 3 - East",
true, 0);
49 I_ASSIGN(m_flatViewAttrPtr,
"FlatView",
"Tries to apply flat view to the design if possible (Group Box: without frame; Tab Bar: triangular tabs; Slider: transparent grip)",
true,
false);
73 QString GetSettingsKey()
const;
77 I_ATTR(
int, m_designTypeAttrPtr);
78 I_ATTR(QString, m_settingsKeyAttrPtr);
79 I_ATTR(
int, m_tabOrientationAttrPtr);
80 I_ATTR(
bool, m_flatViewAttrPtr);
Component for the layouting/grouping of the UI-subcomponents.
QWidget * GetPageContainerWidget() const
virtual int GetPagesCount() const override
Get the number of the pages in the UI container.
virtual void OnGuiCreated() override
Called just after GUI is initialized.
virtual void OnRestoreSettings(const QSettings &settings) override
virtual void OnSaveSettings(QSettings &settings) const override
iqtgui::TRestorableGuiWrap< CMultiPageGuiCompBase > BaseClass
virtual int GetDesignType() const override
Get the container UI mode.
virtual iqtgui::IGuiObject * GetPageGuiComponent(int pageIndex) const override
Get the UI component for a given page.
Common interface for GUI objects used in ACF component context.
A wrapper for saving/restoring of GUI component states in the application settings.
Standard GUI specific interfaces and components based on Qt.