|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <tableselection.hpp>
Public Types | |
| enum | FilterType { RegExpFilter = 1 , ExactFilter = 2 } |
| typedef TableNode | type_datum |
Public Member Functions | |
| tableselection (QObject *parent=0) | |
| void | SetFilterType (FilterType Filter) |
| TableNode * | getnode (const QModelIndex &index) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) |
| void | ResetModel () |
| Public Member Functions inherited from dbe::model_common_impl< tableselection > | |
| 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< tableselection > | |
| MODEL_COMMON_TYPES_TOPLEVEL_DEFINITIONS | model_common_async_operations () |
| void | model_common_connections () |
Protected Member Functions | |
| bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) 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< tableselection > | |
| 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 | 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 | |
| QVariant | LastSavedValue |
| FilterType | Type |
Definition at line 22 of file tableselection.hpp.
Definition at line 33 of file tableselection.hpp.
| dbe::models::tableselection::tableselection | ( | QObject * | parent = 0 | ) |
Definition at line 10 of file tableselection.cpp.
|
protected |
Definition at line 85 of file tableselection.cpp.
| dbe::TableNode * dbe::models::tableselection::getnode | ( | const QModelIndex & | index | ) | const |
Definition at line 23 of file tableselection.cpp.
|
protected |
Definition at line 115 of file tableselection.cpp.
| void dbe::models::tableselection::ResetModel | ( | ) |
Definition at line 79 of file tableselection.cpp.
| bool dbe::models::tableselection::setData | ( | const QModelIndex & | index, |
| const QVariant & | value, | ||
| int | role ) |
Definition at line 45 of file tableselection.cpp.
| void dbe::models::tableselection::SetFilterType | ( | FilterType | Filter | ) |
Definition at line 17 of file tableselection.cpp.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
Definition at line 56 of file tableselection.hpp.
|
private |
Definition at line 57 of file tableselection.hpp.