|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <tree.hpp>
Public Types | |
| typedef dbe::treenode | type_datum |
Signals | |
| void | ObjectFile (QString) |
Public Member Functions | |
| ~tree () | |
| tree (const QStringList &Headers, QObject *parent=nullptr) | |
| type_index | index (int row, int column, const type_index &parent) const override |
| type_index | parent (const type_index &child) const override |
| type_index | mapToSource (type_index const &i) |
| int | rowCount (const type_index &parent) const override |
| int | columnCount (const type_index &parent) const override |
| Qt::ItemFlags | flags (const type_index &index) const override |
| QVariant | data (const type_index &index, int role=Qt::DisplayRole) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| bool | insertRows (int position, int rows, const type_index &parent) override |
| void | fetchMore (const type_index &parent) override |
| bool | canFetchMore (const type_index &parent) const override |
| bool | hasChildren (const type_index &parent) const override |
| bool | setData (const type_index &index, const QVariant &value, int role) override |
| QStringList | mimeTypes () const override |
| QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| type_datum * | getnode (const type_index &index) const override |
| type_index | getindex (treenode *NodeItem, type_index const &RootIndex=QModelIndex()) const |
| void | ResetModel () |
| void | objectsUpdated (const std::vector< dbe::dref > &objects) |
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< tree > | |
| 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< tree > | |
| MODEL_COMMON_TYPES_TOPLEVEL_DEFINITIONS | model_common_async_operations () |
| void | model_common_connections () |
Private Slots | |
| void | ToggleAbstractClassesSelectable (bool) |
| 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 Attributes | |
| bool | abstract_classes_selectable |
Additional Inherited Members | |
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< tree > | |
| 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 &) |
|
explicit |
Definition at line 13 of file tree.cpp.
|
override |
Definition at line 197 of file tree.cpp.
|
override |
|
override |
Definition at line 116 of file tree.cpp.
|
override |
Definition at line 208 of file tree.cpp.
|
override |
Definition at line 93 of file tree.cpp.
| QModelIndex dbe::models::tree::getindex | ( | treenode * | NodeItem, |
| type_index const & | RootIndex = QModelIndex() ) const |
Definition at line 279 of file tree.cpp.
|
override |
|
override |
|
override |
|
override |
|
override |
Definition at line 167 of file tree.cpp.
|
inline |
|
override |
Definition at line 250 of file tree.cpp.
|
override |
|
signal |
| void dbe::models::tree::objectsUpdated | ( | const std::vector< dbe::dref > & | objects | ) |
Definition at line 379 of file tree.cpp.
|
override |
| void dbe::models::tree::ResetModel | ( | ) |
|
override |
Definition at line 63 of file tree.cpp.
|
override |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |