|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <treeselection.hpp>
Public Types | |
| enum | FilterType { RegExpFilterType = 1 , ObjectFilterType = 2 } |
| typedef treenode | type_datum |
Public Member Functions | |
| ~treeselection () | |
| treeselection (QObject *parent=0) | |
| Including DBE. | |
| type_datum * | getnode (type_index const &index) const override |
| void | fetchMore (type_index const &index) |
| bool | hasChildren (type_index const &index) const |
| bool | canFetchMore (type_index const &index) const |
| void | SetFilterType (FilterType Filter) |
| void | SetFilterRestrictionLevel (int Levels) |
| void | SetQueryObjects (std::vector< tref > Objects) |
| std::vector< dbe::tref > | GetQueryObjects () |
| void | ResetQueryObjects () |
| void | ResetModel () |
| Public Member Functions inherited from dbe::TreeModelInterface | |
| virtual treenode * | getnode (const QModelIndex &index) const =0 |
| virtual | ~TreeModelInterface ()=default |
| Public Member Functions inherited from dbe::model_common_impl< treeselection > | |
| bool | delete_objects (type_indices::iterator, type_indices::iterator) override |
| bool | update_objects (type_indices::iterator, type_indices::iterator) override |
| bool | create_objects (type_indices::iterator, type_indices::iterator) override |
| Public Member Functions inherited from dbe::model_common_interface | |
| virtual | ~model_common_interface ()=default |
| Public Member Functions inherited from dbe::model_initiate_actions_interface | |
| virtual | ~model_initiate_actions_interface ()=default |
| Public Member Functions inherited from dbe::model_common_data_access_interface | |
| virtual type_object_ref | getobject (type_index const &index) const =0 |
| virtual type_class_info | getclass (type_index const &index) const =0 |
| virtual QAbstractItemModel * | ReturnSourceModel () const =0 |
| virtual | ~model_common_data_access_interface ()=default |
| Public Member Functions inherited from dbe::model_common_async_operations< treeselection > | |
| MODEL_COMMON_TYPES_TOPLEVEL_DEFINITIONS | model_common_async_operations () |
| void | model_common_connections () |
Protected Member Functions | |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
| bool | lessThan (const QModelIndex &left, const QModelIndex &right) const |
| Protected Member Functions inherited from dbe::model_common_interface | |
| virtual void | remove_deleted_object (type_index const &index)=0 |
| virtual void | rename_contained_object (type_index const &index, type_object_info const &obj)=0 |
| virtual void | update_contained_object (type_index const &index, type_object_info const &obj)=0 |
| virtual void | create_contained_object (type_index const &index, type_object_info const &obj)=0 |
| virtual type_index | lookup (type_object_info const &)=0 |
| QUuid | getuuid () const |
| Protected Member Functions inherited from dbe::model_common_async_operations< treeselection > | |
| void | remove_object (type_object_info const &) |
| void | create_object (type_object_info const &) |
| void | rename_object (type_object_info const &) |
| void | update_object (type_object_info const &) |
| void | update_multiple_objects (std::vector< type_object_info > const &) |
Private Slots | |
| void | ToggleEmptyClasses (bool HideLocal) |
| void | slot_create_object (QString const &src, dref const &obj) |
| void | slot_remove_object (QString const &src, dref const &obj) |
| void | slot_update_object (QString const &src, dref const &obj) |
| void | slot_rename_object (QString const &src, dref const &obj) |
Private Member Functions | |
| bool | AcceptItem (const QModelIndex &SourceIndex, int LevelRestriction) const |
| bool | RegexpFilter (int sourceRow, const QModelIndex &sourceParent) const |
| bool | ObjectFilter (int sourceRow, const QModelIndex &sourceParent) const |
| int | AtDepth (const QModelIndex &SourceParent) const |
Private Attributes | |
| FilterType | Type |
| int | LevelRestriction |
| bool | Hide |
| std::vector< tref > | QueryObjects |
Definition at line 24 of file treeselection.hpp.
Definition at line 36 of file treeselection.hpp.
| Enumerator | |
|---|---|
| RegExpFilterType | |
| ObjectFilterType | |
Definition at line 38 of file treeselection.hpp.
| dbe::models::treeselection::~treeselection | ( | ) |
Definition at line 20 of file treeselection.cpp.
|
explicit |
Including DBE.
Definition at line 11 of file treeselection.cpp.
|
private |
Definition at line 203 of file treeselection.cpp.
|
private |
Definition at line 280 of file treeselection.cpp.
| bool dbe::models::treeselection::canFetchMore | ( | type_index const & | index | ) | const |
Definition at line 37 of file treeselection.cpp.
| void dbe::models::treeselection::fetchMore | ( | type_index const & | index | ) |
Definition at line 50 of file treeselection.cpp.
|
protected |
Definition at line 137 of file treeselection.cpp.
|
override |
Definition at line 77 of file treeselection.cpp.
| std::vector< dbe::tref > dbe::models::treeselection::GetQueryObjects | ( | ) |
Definition at line 72 of file treeselection.cpp.
| bool dbe::models::treeselection::hasChildren | ( | type_index const & | index | ) | const |
Definition at line 24 of file treeselection.cpp.
|
protected |
Definition at line 173 of file treeselection.cpp.
|
private |
Definition at line 244 of file treeselection.cpp.
|
private |
Definition at line 232 of file treeselection.cpp.
| void dbe::models::treeselection::ResetModel | ( | ) |
Definition at line 131 of file treeselection.cpp.
| void dbe::models::treeselection::ResetQueryObjects | ( | ) |
Definition at line 126 of file treeselection.cpp.
| void dbe::models::treeselection::SetFilterRestrictionLevel | ( | int | Levels | ) |
Definition at line 56 of file treeselection.cpp.
| void dbe::models::treeselection::SetFilterType | ( | FilterType | Filter | ) |
Definition at line 61 of file treeselection.cpp.
| void dbe::models::treeselection::SetQueryObjects | ( | std::vector< tref > | Objects | ) |
Definition at line 67 of file treeselection.cpp.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
Definition at line 294 of file treeselection.cpp.
|
private |
Definition at line 85 of file treeselection.hpp.
|
private |
Definition at line 83 of file treeselection.hpp.
|
private |
Definition at line 87 of file treeselection.hpp.
|
private |
Definition at line 82 of file treeselection.hpp.