Public Member Functions |
| | DtObjectListView (DtDe &de, QWidget *parent) |
| void | setDataSource (DtObjectsSelectionList *s) |
| | DtFilteredListView (DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &f=0) |
| | default constructor
|
| virtual | ~DtFilteredListView () |
| | destructor
|
| virtual bool | init () |
| virtual void | tick () |
virtual const
DtElementData::UniqueIdList & | selectedObjects () const |
| virtual bool | executeFilters (const DtElementData &window, bool clear=true) |
| | This routine will clear the current list window and add new list window items based on all the filters.
|
| virtual void | addFilter (const DtFilter &filter, bool executeForThisFilter=false) |
| | This object will clone the supplied filter and then delete the clone, so, be sure to delete the supplied filter.
|
| virtual void | setListTitle (const QString &title) |
| | Sets the title of the first column of the list window.
|
| virtual QTreeWidgetItem * | selectedItem () |
| | Returns the currently selected list box item.
|
| virtual void | showSeparator (bool b) |
| virtual void | showCaption (bool b) |
| virtual void | setListBoxCaption (const QString &s) |
| virtual bool | executeFilters () |
| | Executes all filters on dictionary.
|
| virtual void | clearSelection () |
| | Does not emit a signal in response to changing the selection.
|
| virtual QTreeWidgetItem * | listItemForUniqueID (const DtUniqueID &id) |
| virtual DtUniqueID | uniqueIDForListItem (QTreeWidgetItem *) |
| virtual bool | passesFilterTest (const DtUniqueID &id) |
| virtual bool | passesDefaultInvalid (const DtElementEntry &data) const |
| | By default, ignores kind 0 and 7 (transmitter).
|
| virtual void | setShowMode (DtShowDataMode mode) |
| | Will only show model data items that are either published (DtShowPublished) unpublished (DtShowUnpublished) or all (DtShowAll).
|
| virtual DtShowDataMode | showMode () const |
| virtual void | setCurrentFilter (const QString &filter) |
| | Sets the filter to be the filter specified and changes the contents of the list window to match.
|
| virtual void | setSelectionMode (QAbstractItemView::SelectionMode mode) |
| | Sets the selection mode of the list window.
|
| virtual QTreeWidget * | listView () |
| void | setSelectFirstItem (bool) |
| | By default true.
|
| bool | selectFirstItem () const |
| int | nameColumn () const |
| | Returns the column number that the name field is in, default is 0.
|
| void | setNameColumn (int) |
| virtual void | addListBoxItems () |
| virtual void | addFinalFilter (const DtFilter &f) |
| | Final filter checked before adding item.
|
| virtual void | removeFinalFilter () |
| virtual void | addToList (const DtElementEntry &data) |
| | Adds list box items to the current list window (after clearing it out first) for the current filter set.
|
| virtual QString | currentFilter () const |
| | Current filter selected.
|
| virtual void | fillFilterFromSelection (const QString &filter, DtElementData::UniqueIdList &sel) |
| | Erases all items in the dictionary for the filter and fills in the data from the selection set.
|
| virtual void | setComboBoxEditable (bool b) |
| | If true, also connects slot to capture text change.
|
| virtual void | changeFilterName (const QString &oldName, const QString &newName) |
| | Changes the supplied filter name to new one (if exists).
|
| virtual void | removeFilter (const QString &filter) |
| | Removes filter and selects next filter in list.
|
| virtual QString | selectedName () const |
| | Returns the value of the name entry text field.
|
| virtual void | setSelectedName (const QString &s) |
| | Sets name in the name field and selects an entry that matches that name.
|
| virtual void | setDisplayNameEntry (bool) |
| virtual void | setDisplayFilters (bool) |
| void | setItemText (QTreeWidgetItem *item, int col, const QString &txt) |
| | Helper function to set text on QTreeWidgetItem objects.
|
| QString | getItemText (QTreeWidgetItem *item, int col) |
| | Helper function to get text from QTreeWidgetItem objects.
|
| virtual void | addGlobalFilters () |
| | Adds all global filters that are marked for display to the dialog.
|
| virtual bool | passesGlobalFilters (const DtElementEntry &) const |
| | Returns true if this data passes all global filters that are not marked for display.
|
| virtual void | slot_onElementsAdded (const DtElementData::ElementList &elements) |
| | Called by signal whenever elements are added.
|
| virtual void | slot_onElementAttributesChanged (const DtElementData::EntryAttributesList &attributes) |
| | Called by signal whenever element attributes change.
|
| virtual void | slot_onElementsRemoved (const DtElementData::UniqueIdList &elementIds) |
| | Called by signal whenever elements are removed.
|
Additional Inherited Members |
| enum | DtShowDataMode { DtShowAll = 0,
DtShowPublished = 1,
DtShowUnpublished = 2
} |
| virtual void | comboSelectionChanged (int iNewSel) |
| virtual void | changeSelection (const DtElementData::UniqueIdList &d, bool emitSignal=true) |
| virtual void | updateSelection () |
| virtual void | elementUpdated (const DtUniqueID &id, int) |
| virtual void | itemRightClicked (QTreeWidgetItem *lvi, QMouseEvent *, int column) |
| virtual void | itemDoubleClicked (QTreeWidgetItem *lvi, int column) |
| virtual void | comboTextChanged (const QString &) |
| virtual void | selectEntry (const QString &, bool clearCurrentSelection=true) |
| | Selects an entry in the list box that begins with or matches the supplied name (case insensitive).
|
| void | selectionUpdated (const DtElementData::UniqueIdList &d) |
| void | selectionChanged (const DtElementData::UniqueIdList &d) |
| void | filterChanged (DtFilteredListView *, const QString &) |
| | Emitted when the filter selection has changed for the combo selection.
|
| void | filterItemAdded (DtUniqueID id, QTreeWidgetItem *) |
| | Emitted when a new data item is added to window.
|
| void | rightClickOnItem (QPoint where) |
| | Emitted on right click in list.
|
| void | doubleClickOnItem (DtUniqueID id) |
| | Emitted on double-click in list.
|
| void | filterItemUpdated (DtUniqueID id, QTreeWidgetItem *) |
| | Signaled when a filter item is updated.
|
| void | filterItemRemoved (DtUniqueID id, QTreeWidgetItem *) |
| | Signaled when an item is removed, but before it is removed from the list box.
|
| void | filterListViewCleared () |
| | Called when the list window is cleared of all items.
|
| void | comboTextChanged (DtFilteredListView *, const QString &) |
| | Emits that combo text has changed (from slot comboTextChanged).
|
| void | filterAddComplete () |
| | Sent as the final message when the filter is done adding list items.
|
| static DtFilteredListView * | create (DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &f=0) |
| static int | addGlobalFilter (const DtFilter &filter, bool display=false) |
| | Filters that are applied to all filtered list windows.
|
| static void | removeGlobalFilter (int) |
| static void | clearGlobalFilters () |
| Ui::DtFilteredListUi | myUiImpl |
static QHash< int,
DtGlobalFilterContainer > | theGlobalFilters |