|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <MainWindow.hpp>
Public Slots | |
| void | slot_batch_change_start () |
| void | slot_batch_change_stop (const QList< QPair< QString, QString > > &) |
| void | slot_information_message (QString const, QString const) |
| void | slot_warning_message (QString const, QString const) |
| void | slot_error_message (QString const, QString const) |
Signals | |
| void | signal_batch_change_stopped (const QList< QPair< QString, QString > > &) |
| void | signal_db_loaded () |
| void | signal_externalchanges_processed () |
| void | signal_new_file_model () |
Public Member Functions | |
| MainWindow (QMap< QString, QString > const &CommandLine, QWidget *parent=nullptr) | |
| bool | check_ready () const |
| cptr< dbe::CustomTreeView > | get_view () const |
| QString | find_db_repository_dir () |
| void | build_file_model () |
Static Public Member Functions | |
| static MainWindow * | findthis () |
Private Member Functions | |
| std::vector< dbe::tref > | ProcessQuery (QString const &) |
| void | closeEvent (QCloseEvent *event) |
| bool | eventFilter (QObject *Target, QEvent *Event) |
| bool | check_close () |
| void | init () |
| void | attach () |
| bool | dbopen (QString const &, dbinfo const &) |
| bool | dbload () |
| bool | dbreload () |
| void | setinternals () |
| void | build_class_tree_model () |
| void | build_table_model () |
| void | apply_settings (QSettings &setting) |
| void | WriteSettings () |
| void | argsparse (QMap< QString, QString > const &) |
| void | init_tabs () |
| void | edit_object_at (const QModelIndex &Index) |
| void | update_total_objects () |
| void | display_message_box (const QString &title, const QString &msg, const QMessageBox::Icon &icon) |
| void | load_default_settings () |
Private Attributes | |
| QSet< QString > | allFiles |
| bool | m_batch_change_in_progress |
| FileModel * | this_files |
| QSortFilterProxyModel | this_filesort |
| dbe::models::tree * | this_classes |
| models::treeselection * | this_treefilter |
| std::atomic< bool > | isArchivedConf |
Definition at line 48 of file MainWindow.hpp.
|
explicit |
Setting up ui
Initial Settings
Setting up application controller
Reading Applications Settings/CommandLine
Definition at line 55 of file MainWindow.cpp.
|
private |
Definition at line 836 of file MainWindow.cpp.
|
private |
Definition at line 896 of file MainWindow.cpp.
|
private |
Definition at line 180 of file MainWindow.cpp.
|
private |
Creating new Main Model
Resetting attached models
Definition at line 305 of file MainWindow.cpp.
| void dbe::MainWindow::build_file_model | ( | ) |
Changed -> Now accepting rdbconfig this means || !ConfigWrapper::GetInstance().GetDatabaseImplementation().contains("rdbconfig") was removed
Definition at line 410 of file MainWindow.cpp.
|
private |
Displaying table widgets
Definition at line 341 of file MainWindow.cpp.
|
private |
Definition at line 1366 of file MainWindow.cpp.
|
nodiscard |
Definition at line 1842 of file MainWindow.cpp.
|
private |
Definition at line 1303 of file MainWindow.cpp.
|
private |
Definition at line 757 of file MainWindow.cpp.
|
private |
Takes necessary actions to load a database from a file provided
| dbpath | is the path (absolute or relative to the DUNEDAQ_DB_PATH) of the associated file |
Definition at line 1453 of file MainWindow.cpp.
|
private |
Definition at line 727 of file MainWindow.cpp.
|
private |
Definition at line 1705 of file MainWindow.cpp.
|
private |
Definition at line 350 of file MainWindow.cpp.
|
private |
Definition at line 1352 of file MainWindow.cpp.
|
nodiscard |
Definition at line 664 of file MainWindow.cpp.
|
static |
Permits to retrieve the main window pointer throughout the application
Definition at line 1676 of file MainWindow.cpp.
|
nodiscard |
Definition at line 1763 of file MainWindow.cpp.
|
private |
Window Settings
Table Settings
Menus Settings
Commands Settings
Search Box Settings
What is this
Definition at line 140 of file MainWindow.cpp.
|
private |
Definition at line 102 of file MainWindow.cpp.
|
private |
Definition at line 657 of file MainWindow.cpp.
|
private |
Definition at line 1319 of file MainWindow.cpp.
|
privateslot |
Definition at line 651 of file MainWindow.cpp.
|
private |
Disconnecting models from views
Definition at line 817 of file MainWindow.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
privateslot |
Definition at line 522 of file MainWindow.cpp.
|
privateslot |
Definition at line 539 of file MainWindow.cpp.
|
privateslot |
Definition at line 116 of file MainWindow.cpp.
|
slot |
Definition at line 1768 of file MainWindow.cpp.
|
slot |
Definition at line 1773 of file MainWindow.cpp.
|
privateslot |
Definition at line 443 of file MainWindow.cpp.
|
privateslot |
Definition at line 682 of file MainWindow.cpp.
|
privateslot |
Definition at line 1443 of file MainWindow.cpp.
|
slot |
This method permits to propagate and display messages from the messaging subsytem.
It is important that the arguments are pass-by-copy because references will become invalid, even if they are bound to consted temporaries, once the deleter from the other thread is called.
Definition at line 1744 of file MainWindow.cpp.
|
privateslot |
Definition at line 434 of file MainWindow.cpp.
|
privateslot |
Definition at line 1199 of file MainWindow.cpp.
|
privateslot |
Definition at line 1222 of file MainWindow.cpp.
|
privateslot |
Definition at line 1178 of file MainWindow.cpp.
|
slot |
This method permits to propagate and display messages from the messaging subsytem.
It is important that the arguments are pass-by-copy because references will become invalid, even if they are bound to consted temporaries, once the deleter from the other thread is called.
Definition at line 1732 of file MainWindow.cpp.
|
privateslot |
Definition at line 582 of file MainWindow.cpp.
|
privateslot |
Definition at line 596 of file MainWindow.cpp.
|
privateslot |
Definition at line 555 of file MainWindow.cpp.
|
privateslot |
Definition at line 1852 of file MainWindow.cpp.
|
privateslot |
Definition at line 691 of file MainWindow.cpp.
|
privateslot |
Definition at line 1847 of file MainWindow.cpp.
|
privateslot |
Preparing data
Disconnecting models from views
Definition at line 1157 of file MainWindow.cpp.
|
privateslot |
Definition at line 1480 of file MainWindow.cpp.
|
privateslot |
The purpose of this method is to replay local changes after the database has been externally modified.
It is called when there is a callback from config layer.
The user is being given the option to ignore the external change and proceed without bringing his current database to a consistent state. This will cause the database to be overwritten when local changes are going to be applied.
"Emptying" the command so it does nothing at all
Definition at line 1510 of file MainWindow.cpp.
|
privateslot |
Definition at line 123 of file MainWindow.cpp.
|
privateslot |
Definition at line 1113 of file MainWindow.cpp.
|
privateslot |
Definition at line 1135 of file MainWindow.cpp.
|
privateslot |
Definition at line 1130 of file MainWindow.cpp.
|
privateslot |
Definition at line 1145 of file MainWindow.cpp.
|
privateslot |
Definition at line 1805 of file MainWindow.cpp.
|
privateslot |
Definition at line 1249 of file MainWindow.cpp.
|
privateslot |
Definition at line 1140 of file MainWindow.cpp.
|
privateslot |
Definition at line 1831 of file MainWindow.cpp.
|
slot |
This method permits to propagate and display messages from the messaging subsytem.
It is important that the arguments are pass-by-copy because references will become invalid, even if they are bound to consted temporaries, once the deleter from the other thread is called.
Definition at line 1756 of file MainWindow.cpp.
|
privateslot |
Definition at line 1108 of file MainWindow.cpp.
|
private |
Definition at line 1291 of file MainWindow.cpp.
|
private |
Definition at line 876 of file MainWindow.cpp.
|
private |
Definition at line 68 of file MainWindow.hpp.
|
private |
Definition at line 79 of file MainWindow.hpp.
|
private |
Definition at line 70 of file MainWindow.hpp.
|
private |
Definition at line 74 of file MainWindow.hpp.
|
private |
Definition at line 71 of file MainWindow.hpp.
|
private |
Definition at line 72 of file MainWindow.hpp.
|
private |
Definition at line 75 of file MainWindow.hpp.