|
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 46 of file MainWindow.hpp.
|
explicit |
Setting up ui
Initial Settings
Setting up application controller
Reading Applications Settings/CommandLine
Definition at line 59 of file MainWindow.cpp.
|
private |
Definition at line 781 of file MainWindow.cpp.
|
private |
Definition at line 841 of file MainWindow.cpp.
|
private |
Definition at line 185 of file MainWindow.cpp.
|
private |
Creating new Main Model
Resetting attached models
Definition at line 302 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 399 of file MainWindow.cpp.
|
private |
Displaying table widgets
Definition at line 334 of file MainWindow.cpp.
|
private |
Definition at line 1299 of file MainWindow.cpp.
|
nodiscard |
Definition at line 1738 of file MainWindow.cpp.
|
private |
Definition at line 1246 of file MainWindow.cpp.
|
private |
Definition at line 707 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 1368 of file MainWindow.cpp.
|
private |
Definition at line 681 of file MainWindow.cpp.
|
private |
Definition at line 1591 of file MainWindow.cpp.
|
private |
Definition at line 344 of file MainWindow.cpp.
|
private |
Definition at line 1286 of file MainWindow.cpp.
|
nodiscard |
Definition at line 619 of file MainWindow.cpp.
|
static |
Permits to retrieve the main window pointer throughout the application
Definition at line 1562 of file MainWindow.cpp.
|
nodiscard |
Definition at line 1653 of file MainWindow.cpp.
|
private |
Window Settings
Table Settings
Menus Settings
Commands Settings
Search Box Settings
What is this
Definition at line 144 of file MainWindow.cpp.
|
private |
Definition at line 106 of file MainWindow.cpp.
|
private |
Definition at line 612 of file MainWindow.cpp.
|
private |
Definition at line 1261 of file MainWindow.cpp.
|
privateslot |
Definition at line 605 of file MainWindow.cpp.
|
private |
Disconnecting models from views
Definition at line 762 of file MainWindow.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
privateslot |
Definition at line 498 of file MainWindow.cpp.
|
privateslot |
Definition at line 512 of file MainWindow.cpp.
|
privateslot |
Definition at line 120 of file MainWindow.cpp.
|
slot |
Definition at line 1659 of file MainWindow.cpp.
|
slot |
Definition at line 1665 of file MainWindow.cpp.
|
privateslot |
Definition at line 431 of file MainWindow.cpp.
|
privateslot |
Definition at line 638 of file MainWindow.cpp.
|
privateslot |
Definition at line 1357 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 1632 of file MainWindow.cpp.
|
privateslot |
Definition at line 423 of file MainWindow.cpp.
|
privateslot |
Definition at line 1146 of file MainWindow.cpp.
|
privateslot |
Definition at line 1167 of file MainWindow.cpp.
|
privateslot |
Definition at line 1128 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 1619 of file MainWindow.cpp.
|
privateslot |
Definition at line 548 of file MainWindow.cpp.
|
privateslot |
Definition at line 560 of file MainWindow.cpp.
|
privateslot |
Definition at line 525 of file MainWindow.cpp.
|
privateslot |
Definition at line 1750 of file MainWindow.cpp.
|
privateslot |
Definition at line 650 of file MainWindow.cpp.
|
privateslot |
Definition at line 1744 of file MainWindow.cpp.
|
privateslot |
Preparing data
Disconnecting models from views
Definition at line 1107 of file MainWindow.cpp.
|
privateslot |
Definition at line 1394 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 1422 of file MainWindow.cpp.
|
privateslot |
Definition at line 128 of file MainWindow.cpp.
|
privateslot |
Definition at line 1052 of file MainWindow.cpp.
|
privateslot |
Definition at line 1084 of file MainWindow.cpp.
|
privateslot |
Definition at line 1078 of file MainWindow.cpp.
|
privateslot |
Definition at line 1096 of file MainWindow.cpp.
|
privateslot |
Definition at line 1697 of file MainWindow.cpp.
|
privateslot |
Definition at line 1191 of file MainWindow.cpp.
|
privateslot |
Definition at line 1090 of file MainWindow.cpp.
|
privateslot |
Definition at line 1724 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 1645 of file MainWindow.cpp.
|
privateslot |
Definition at line 1046 of file MainWindow.cpp.
|
private |
Definition at line 1234 of file MainWindow.cpp.
|
private |
Definition at line 820 of file MainWindow.cpp.
|
private |
Definition at line 65 of file MainWindow.hpp.
|
private |
Definition at line 76 of file MainWindow.hpp.
|
private |
Definition at line 67 of file MainWindow.hpp.
|
private |
Definition at line 71 of file MainWindow.hpp.
|
private |
Definition at line 68 of file MainWindow.hpp.
|
private |
Definition at line 69 of file MainWindow.hpp.
|
private |
Definition at line 72 of file MainWindow.hpp.