DtEntityList extends DtObjectsSelectionList to provide a list of filterable selection objects; filters include entity, props, aggregates, tactical graphics, etc.
More...
Public Member Functions |
| | DtEntityList (DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &flags=0) |
| | default constructor
|
| virtual | ~DtEntityList () |
| | destructor
|
| | 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 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) |
Protected Member Functions |
| virtual QVariant | data (DtObjectListViewItem *item, int iDataColumn, int iColumn, int iRole) const |
| virtual void | filterItemUpdated (const DtUniqueID &, QTreeWidgetItem *item) |
| virtual void | setCurrentFilter (const DtElementTypeFilter &filter, unsigned int iForListBox=0) |
| QString | listTitle (unsigned int iListBox) const |
| QString | windowTitle () const |
| virtual void | initializeColumns () |
| | Initializes the string array for columns and update routines that are used for those columns.
|
| bool | initFilters (unsigned int iListBox) |
| virtual DtFilteredListView * | createFilteredListView () |
| virtual DtFilteredListView * | createFilteredListView (unsigned int iListBox) |
| | Creates the filtered list window as defined by the factory.
|
| virtual bool | initConnections (DtFilteredListView *window) |
| virtual void | addColumn (int id, const QString &column, bool initiallyVisible=true, DtObjectsListDataFcn dataFcn=NULL, DtObjectsListSortFcn sortFcn=NULL) |
| virtual void | createColumns (DtFilteredListView *window) |
| | Cycle through list and add columns to the list window.
|
| virtual QPixmap | createMenuArrow (DtFilteredListView *window) |
| | Cycle through list and create popup menu virtual void createPopupMenu(DtFilteredListView* window);.
|
| virtual void | keyPressEvent (QKeyEvent *e) |
| virtual bool | initConnections () |
| virtual bool | disconnectConnections (DtFilteredListView *) |
| virtual QString | listCaption (unsigned int iForListBox=0) const |
| virtual bool | initSelectionMode () |
| virtual void | slot_activate (DtDe *subject) |
| virtual void | slot_deactivate (DtDe *subject) |
| void | externalSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected) |
| | Differs from changeSelection in that the filtered windows will be blocked from sending signals that their selections have been updated.
|
| virtual void | closeEvent (QCloseEvent *e) |
Detailed Description
DtEntityList extends DtObjectsSelectionList to provide a list of filterable selection objects; filters include entity, props, aggregates, tactical graphics, etc.
Constructor & Destructor Documentation
| makVrv::DtEntityList::DtEntityList |
( |
DtDe & |
de, |
|
|
QWidget * |
parent = NULL, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual makVrv::DtEntityList::~DtEntityList |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtEntityList::updateColumns |
( |
| ) |
|
|
virtualslot |
| QString makVrv::DtEntityList::listTitle |
( |
unsigned int |
iListBox | ) |
const |
|
protectedvirtual |
| QString makVrv::DtEntityList::windowTitle |
( |
| ) |
const |
|
protectedvirtual |
| virtual void makVrv::DtEntityList::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 from makVrv::DtObjectsSelectionList.
The documentation for this class was generated from the following file: