DtObjectsSelectionList extends DtSelectionWidget to provide a list of selectable items with icon and name columns.
More...
Public Member Functions |
| | DtObjectsSelectionList (DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &flags=0) |
| | default constructor
|
| virtual | ~DtObjectsSelectionList () |
| | destructor
|
| bool | init (int iNumListBoxes=1) |
| | Initializer.
|
| virtual void | tick () |
| virtual QVariant | data (DtObjectListViewItem *item, int iDataColumn, int iColumn, int iRole) const |
| virtual bool | isDataShown (int data) |
| | DtSelectionWidget (DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &f=0) |
| | default constructor
|
| virtual | ~DtSelectionWidget () |
| | destructor
|
| virtual DtElementData::UniqueIdList | selectedObjects (int iListBox=-1) const |
| | -1 means all objects selected in all list boxes
|
| virtual QString | selectedName (unsigned int iListBox=0) |
| virtual bool | selectedNames (QString &name1, QString &name2) |
| virtual void | addFilter (const DtFilter &filter, unsigned int iForListBox=0, bool executeForFilter=false) |
| virtual DtFilteredListView * | filteredListView (unsigned int iListBox=0) |
| virtual void | clearAllSelections () |
| virtual QString | filterFor (const QString &windowTitle, const QString &listTitle) |
| virtual void | addFinalFilter (const DtFilter &f) |
| | This filter will be passed down to all list windows and used as a final filter check.
|
| virtual void | removeFinalFilter () |
| virtual void | removeButtons () |
| | Removes/shows OK and Cancel buttons.
|
| virtual void | showButtons () |
| virtual void | makeConnections (bool connectMap=true) |
| | Makes/disconnects connections for this widget and all child windows.
|
| virtual void | disconnectConnections () |
| void | setContinueAccept (bool) |
| bool | continueAccept () const |
| virtual void | setSelectedName (const QString &name, int iListBox=0) |
| | Sets the name that is currently selected in the specified filtered list window.
|
| void | onExternalSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected) |
Detailed Description
DtObjectsSelectionList extends DtSelectionWidget to provide a list of selectable items with icon and name columns.
Constructor & Destructor Documentation
| makVrv::DtObjectsSelectionList::DtObjectsSelectionList |
( |
DtDe & |
de, |
|
|
QWidget * |
parent = NULL, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual makVrv::DtObjectsSelectionList::~DtObjectsSelectionList |
( |
| ) |
|
|
virtual |
Member Function Documentation
| bool makVrv::DtObjectsSelectionList::init |
( |
int |
iNumListBoxes = 1 | ) |
|
|
virtual |
| virtual void makVrv::DtObjectsSelectionList::tick |
( |
| ) |
|
|
virtual |
| virtual bool makVrv::DtObjectsSelectionList::isDataShown |
( |
int |
data | ) |
|
|
virtual |
If result is -1, will use default QTreeWidget sort. Return true if lhs < rhs.
| virtual void makVrv::DtObjectsSelectionList::filterListViewCleared |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void makVrv::DtObjectsSelectionList::showObjectOptions |
( |
int |
| ) |
|
|
protectedvirtualslot |
Show column options menu if column 0 is selected; sort for other columns.
| virtual void makVrv::DtObjectsSelectionList::symbolMapChanged |
( |
| ) |
|
|
protectedvirtualslot |
Setup to redo list items.
| void makVrv::DtObjectsSelectionList::rightClickOnItem |
( |
QPoint |
where | ) |
|
|
signal |
| void makVrv::DtObjectsSelectionList::filteredListViewToBeDestroyed |
( |
DtFilteredListView * |
| ) |
|
|
signal |
| virtual DtFilteredListView* makVrv::DtObjectsSelectionList::createFilteredListView |
( |
unsigned int |
iForListBox | ) |
|
|
protectedvirtual |
Creates the filtered list window as defined by the factory.
By default only has it show published objects.
Reimplemented from makVrv::DtSelectionWidget.
| virtual void makVrv::DtObjectsSelectionList::initializeColumns |
( |
| ) |
|
|
protectedvirtual |
Initializes the string array for columns and update routines that are used for those columns.
If there is no update routine for a particular column, set to NoUpdateRoutine. Note that the "Name" column does not need an update routine as it is updated by the base class
Reimplemented in makVrv::DtEntityList.
Cycle through list and add columns to the list window.
| virtual QPixmap makVrv::DtObjectsSelectionList::createMenuArrow |
( |
DtFilteredListView * |
window | ) |
|
|
protectedvirtual |
Cycle through list and create popup menu virtual void createPopupMenu(DtFilteredListView* window);.
| virtual void makVrv::DtObjectsSelectionList::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protectedvirtual |
Member Data Documentation
| QStringList makVrv::DtObjectsSelectionList::myItems |
|
protected |
| bool makVrv::DtObjectsSelectionList::myInitialized |
|
protected |
| Qt::SortOrder makVrv::DtObjectsSelectionList::mySortOrder |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-3-branch/include/vrvCoreQt/DtObjectsList.h