![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Interface of a delegate object used for operating on concrete UI-container implementation. More...
#include <IMultiPageWidgetDelegate.h>
Public Types | |
enum | PageHeaderPosition { PHP_AUTO , PHP_LEFT , PHP_TOP , PHP_RIGHT , PHP_BOTTOM } |
Enum for describing of page header bar position on the container widget. More... | |
enum | ContainerGuiFlags { CGF_NONE = 0 , CGF_UNIFORM_SIZES = 1 , CGF_COMPACT = 2 } |
Flags for specifying the visual behavior of the page widgets in the UI-container. More... | |
Public Member Functions | |
virtual QWidget * | CreateContainerWidget (QWidget *parentWidgetPtr, int containerGuiFlags=CGF_NONE, int orientation=Qt::Horizontal)=0 |
Create container for the page widgets. | |
virtual bool | ConnectPageIndexListener (QWidget &containerWidget, QObject *receiverPtr, const char *receiverSlotName)=0 |
Connect object, which will be notified about changing of the current selected page index. | |
virtual bool | SetPageHeaderPosition (QWidget &containerWidget, PageHeaderPosition pageHeaderPosition)=0 |
Set the position of the page header bar on the container UI. | |
virtual int | InsertPage (QWidget &containerWidget, QWidget *pageWidgetPtr, const QString &pageTitle, int pageIndex=-1)=0 |
Add a new page to the container. | |
virtual void | RemovePage (QWidget &containerWidget, int pageIndex)=0 |
Remove the page from the container. | |
virtual void | ResetPages (QWidget &containerWidget)=0 |
Remove all pages from the container. | |
virtual int | GetPagesCount (const QWidget &containerWidget) const =0 |
Get the number of the pages in the container. | |
virtual QWidget * | GetPageWidgetPtr (const QWidget &containerWidget, int pageIndex) const =0 |
Get page's widget from the container. | |
virtual int | GetCurrentPage (const QWidget &containerWidget) const =0 |
Get currently active page in the container. | |
virtual bool | SetCurrentPage (QWidget &containerWidget, int pageIndex)=0 |
Set active page in the container. | |
virtual QString | GetPageTitle (const QWidget &containerWidget, int pageIndex) const =0 |
Get the title of the given page. | |
virtual void | SetPageTitle (QWidget &containerWidget, int pageIndex, const QString &pageTitle)=0 |
Set the page title. | |
virtual QIcon | GetPageIcon (const QWidget &containerWidget, int pageIndex) const =0 |
Get the page icon. | |
virtual void | SetPageIcon (QWidget &containerWidget, int pageIndex, const QIcon &pageIcon)=0 |
Set the page icon. | |
virtual QString | GetPageToolTip (const QWidget &containerWidget, int pageIndex) const =0 |
Get the page tool tip. | |
virtual void | SetPageToolTip (QWidget &containerWidget, int pageIndex, const QString &pageToolTip)=0 |
Set the page tool tip. | |
virtual bool | IsPageEnabled (const QWidget &containerWidget, int pageIndex) const =0 |
Get if the page enabled/disabled. | |
virtual bool | SetPageEnabled (QWidget &containerWidget, int pageIndex, bool isPageEnabled=true)=0 |
Set page enabled/disabled. | |
virtual bool | IsPageVisible (const QWidget &containerWidget, int pageIndex) const =0 |
Get if the page visible/hidden. | |
virtual bool | SetPageVisible (QWidget &containerWidget, int pageIndex, bool isPageVisible=true)=0 |
Set page visible/hidden. | |
virtual QSize | GetPageIconSize (const QWidget &containerWidget) const =0 |
Get the size page icon. | |
virtual bool | SetPageIconSize (QWidget &containerWidget, const QSize &pageIconSize)=0 |
Set the size of the icon for all pages in the container. | |
Interface of a delegate object used for operating on concrete UI-container implementation.
The delegate itself is no widget, but it provides all necessary management functionalities for a page container widget.
Definition at line 29 of file IMultiPageWidgetDelegate.h.
Flags for specifying the visual behavior of the page widgets in the UI-container.
Definition at line 66 of file IMultiPageWidgetDelegate.h.
Enum for describing of page header bar position on the container widget.
Definition at line 35 of file IMultiPageWidgetDelegate.h.
|
pure virtual |
Connect object, which will be notified about changing of the current selected page index.
containerWidget | Container widget which provides initiate switching of the page |
receiverPtr | Receiver of the page changing notification |
receiverSlotName | Name of the slot implemented in the receiver implementation, which will be triggered on page switching. |
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Create container for the page widgets.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get currently active page in the container.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
|
pure virtual |
Get the size page icon.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get the number of the pages in the container.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get the title of the given page.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get the page tool tip.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get page's widget from the container.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Add a new page to the container.
If pageIndex
is negative, the new page will be inserted after the last page. The container overtakes the control about widgetPtr
.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get if the page enabled/disabled.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Get if the page visible/hidden.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Remove the page from the container.
The page widget will be destroyed.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Remove all pages from the container.
All page widgets will be destroyed.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Set active page in the container.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Set page enabled/disabled.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Set the position of the page header bar on the container UI.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
|
pure virtual |
Set the size of the icon for all pages in the container.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
|
pure virtual |
Set the page tool tip.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
|
pure virtual |
Set page visible/hidden.
Implemented in iwidgets::CCollapsibleGroupWidgetDelegate, iwidgets::CMiniWidgetDelegate, iwidgets::CSimpleGuiContainerDelegate, iwidgets::CSplitterDelegate, iwidgets::CStackWidgetDelegate, iwidgets::CTabWidgetDelegate, and iwidgets::CToolBoxDelegate.
© Witold Gantzke and Kirill Lepskiy