![]() |
VR-Forces 5.0.3 Developer's Guide
|
A widget class for allowing manipulation of selection groups.

Classes | |
| struct | SelectionGroup |
Public Member Functions | |
| DtSelectionGroupWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| virtual | ~DtSelectionGroupWidget () |
| virtual QIcon | icon () |
| virtual makVrv::DtQIconConfigurations | qIconConfigurations () const |
| virtual QString | title () |
| virtual const std::string & | pageClassName () const |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Attributes | |
| QVBoxLayout * | myMainLayout |
| QHBoxLayout * | myButtonLayout |
| QToolButton * | myAddSelectionGroup |
| QToolButton * | myRemoveSelectionGroup |
| QToolButton * | myRemoveFromSelectionGroup |
| DtVrfFilteredListView * | mySelectionGroupsList |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| bool | myInitialized |
Protected Types | |
| typedef std::map< std::string, SelectionGroup > | SelectionGroups |
| typedef std::map < QTreeWidgetItem *, std::string > | GroupListItems |
| typedef boost::unordered_map < DtUUID, std::set < std::string > > | WaitingForDiscovery |
Protected Slots | |
| virtual void | onAddSelectionGroup () |
| virtual void | onRemoveSelectionGroup () |
| virtual void | onItemSelectionChanged () |
| virtual void | onGroupRenamed () |
| virtual void | onRemoveFromSelectionGroup () |
Protected Member Functions | |
| virtual void | activate () override |
| virtual void | deactivate () override |
| void | setupUi () |
| virtual void | initialize () |
| virtual void | showEvent (QShowEvent *) |
| virtual void | onSelectionGroupAdded (std::string) |
| virtual void | onSelectionGroupRemoved (std::string) |
| virtual void | onSelectionGroupRenamed (std::string, std::string) |
| virtual void | setupFromSelectionGroupManager () |
| virtual void | onSelectionChanged () |
| virtual void | onSelectionGroupSelected (std::string) |
| virtual void | onItemsAddedToSelectionGroup (std::string, DtSelectionGroupManager::GroupItems) |
| virtual void | onItemsRemovedFromSelectionGroup (std::string, DtSelectionGroupManager::GroupItems) |
| virtual void | onSelectionGroupsCleared () |
| virtual void | onSelectionGroupCleared (std::string) |
| virtual void | slot_rightClickOnItem (QPoint global) |
| virtual std::set< std::string > | selectionGroupsSelected () const |
| virtual QSize | sizeHint () const |
| virtual void | validateButtons () |
| virtual QString | getGroupName (const QString &initialName) const |
| virtual void | onItemRemovedFromSelectionGroups (DtUUID) |
| virtual void | onFilterListItemAboutToBeRemoved (QTreeWidgetItem *) |
| virtual void | onStateAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
Protected Attributes | |
| std::string | myClassName |
| SelectionGroups | mySelectionGroups |
| GroupListItems | myGroupListItems |
| WaitingForDiscovery | myWaitingForDiscovery |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
|
protected |
|
protected |
|
protected |
| makVrf::DtSelectionGroupWidget::DtSelectionGroupWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the icon configurations for the page. This is used to style the page's icon based on application settings.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
overrideprotectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
overrideprotectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
protected |
Sets up user interface.
|
protectedvirtual |
Sets up connections for widget and fills widget with current values.
|
protectedvirtual |
Initialize and set size of widget.
|
protectedvirtual |
Called when a selection group is added. Add a new parent item.
|
protectedvirtual |
Called when a selection group is removed.
|
protectedvirtual |
Called when a selection group is renamed.
|
protectedvirtual |
Sets up groups and items in groups from selection group manager.
|
protectedvirtual |
Called when the selection has changed. Enable add to group button if valid.
|
protectedvirtual |
Called when a selection group is selected.
|
protectedvirtual |
Called when items are added to selection group. Make new items to display.
|
protectedvirtual |
Called when items are removed from a selection group. Delete display items.
|
protectedvirtual |
Called when all selection groups are cleared.
|
protectedvirtual |
Called whena selection group is cleared.
|
protectedvirtual |
Called when filtered list view is right clicked. Bring up right click menu.
|
protectedvirtual |
Returns all the selection groups currently selected.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Initial size hint so as to not fill up the dock.
|
protectedvirtual |
Validates the buttons to see what should be enabled/disabled.
|
protectedvirtual |
Returns a new group name as selected by the user.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| QVBoxLayout* makVrf::DtSelectionGroupWidget::myMainLayout |
| QHBoxLayout* makVrf::DtSelectionGroupWidget::myButtonLayout |
| QToolButton* makVrf::DtSelectionGroupWidget::myAddSelectionGroup |
| QToolButton* makVrf::DtSelectionGroupWidget::myRemoveSelectionGroup |
| QToolButton* makVrf::DtSelectionGroupWidget::myRemoveFromSelectionGroup |
| DtVrfFilteredListView* makVrf::DtSelectionGroupWidget::mySelectionGroupsList |
| makVrv::DtSignalConnectionManager makVrf::DtSelectionGroupWidget::myConnectionManager |
| bool makVrf::DtSelectionGroupWidget::myInitialized |
|
protected |
|
protected |
|
protected |
|
protected |