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_debuginfo_message (QString const, QString const) |
void | slot_information_message (QString const, QString const) |
void | slot_notice_message (QString const, QString const) |
void | slot_warning_message (QString const, QString const) |
void | slot_error_message (QString const, QString const) |
void | slot_failure_message (QString const, QString const) |
Signals | |
void | signal_batch_change_stopped (const QList< QPair< QString, QString > > &) |
void | signal_db_loaded () |
void | signal_externalchanges_processed () |
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 () |
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_partition_tree_model () |
void | build_resource_tree_model () |
void | build_table_model () |
void | build_file_model () |
void | load_settings (bool LoadSettings=false) |
void | WriteSettings () |
void | argsparse (QMap< QString, QString > const &) |
void | init_tabs () |
void | edit_object_at (const QModelIndex Index) |
void | update_total_objects () |
Private Attributes | |
QSet< QString > | allFiles |
bool | m_batch_change_in_progress |
FileModel * | this_files |
QSortFilterProxyModel | this_filesort |
dbe::models::tree * | this_classes |
models::subtree_proxy * | this_partitions |
models::subtree_proxy * | this_resources |
models::treeselection * | this_treefilter |
std::atomic< bool > | isArchivedConf |
Definition at line 42 of file MainWindow.hpp.
|
explicit |
Setting up ui
Initial Settings
Setting up application controller
Reading Applications Settings/CommandLine
Definition at line 49 of file MainWindow.cpp.
|
private |
Definition at line 930 of file MainWindow.cpp.
|
private |
Definition at line 177 of file MainWindow.cpp.
|
private |
Creating SelectionModel
Creating new Main Model
Resetting attached models
Definition at line 312 of file MainWindow.cpp.
|
private |
Changed -> Now accepting rdbconfig this means || !ConfigWrapper::GetInstance().GetDatabaseImplementation().contains("rdbconfig") was removed
Definition at line 470 of file MainWindow.cpp.
|
private |
Definition at line 424 of file MainWindow.cpp.
|
private |
Definition at line 447 of file MainWindow.cpp.
|
private |
Displaying table widgets
Definition at line 355 of file MainWindow.cpp.
|
private |
Definition at line 1391 of file MainWindow.cpp.
bool dbe::MainWindow::check_ready | ( | ) | const |
Definition at line 1971 of file MainWindow.cpp.
|
private |
Definition at line 1328 of file MainWindow.cpp.
|
private |
Definition at line 788 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 1490 of file MainWindow.cpp.
|
private |
Definition at line 758 of file MainWindow.cpp.
|
private |
Definition at line 364 of file MainWindow.cpp.
|
private |
Definition at line 1377 of file MainWindow.cpp.
QString dbe::MainWindow::find_db_repository_dir | ( | ) |
Definition at line 695 of file MainWindow.cpp.
|
static |
Permits to retrieve the main window pointer throughout the application
Definition at line 1713 of file MainWindow.cpp.
cptr< dbe::CustomTreeView > dbe::MainWindow::get_view | ( | ) | const |
Definition at line 1893 of file MainWindow.cpp.
|
private |
Window Settings
Table Settings
Menus Settings
Commands Settings
Search Box Settings
What is this
Color Management
Definition at line 134 of file MainWindow.cpp.
|
private |
Definition at line 95 of file MainWindow.cpp.
|
private |
Load Settings means default settings
Definition at line 867 of file MainWindow.cpp.
|
privateslot |
Definition at line 690 of file MainWindow.cpp.
|
private |
Definition at line 1344 of file MainWindow.cpp.
|
private |
Disconnecting models from views
Definition at line 848 of file MainWindow.cpp.
|
signal |
|
signal |
|
signal |
|
privateslot |
Definition at line 561 of file MainWindow.cpp.
|
privateslot |
Definition at line 578 of file MainWindow.cpp.
|
privateslot |
Definition at line 109 of file MainWindow.cpp.
|
slot |
Definition at line 1898 of file MainWindow.cpp.
|
slot |
Definition at line 1903 of file MainWindow.cpp.
|
privateslot |
Definition at line 491 of file MainWindow.cpp.
|
privateslot |
Definition at line 513 of file MainWindow.cpp.
|
privateslot |
Definition at line 713 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 1794 of file MainWindow.cpp.
|
privateslot |
Definition at line 1480 of file MainWindow.cpp.
|
privateslot |
Definition at line 1469 of file MainWindow.cpp.
|
privateslot |
Definition at line 1475 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 1846 of file MainWindow.cpp.
|
slot |
Definition at line 1742 of file MainWindow.cpp.
|
privateslot |
Definition at line 504 of file MainWindow.cpp.
|
privateslot |
Definition at line 1232 of file MainWindow.cpp.
|
privateslot |
Definition at line 1251 of file MainWindow.cpp.
|
privateslot |
Definition at line 1213 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 1768 of file MainWindow.cpp.
|
privateslot |
Definition at line 621 of file MainWindow.cpp.
|
privateslot |
Definition at line 635 of file MainWindow.cpp.
|
privateslot |
Definition at line 594 of file MainWindow.cpp.
|
privateslot |
Definition at line 722 of file MainWindow.cpp.
|
privateslot |
Definition at line 1976 of file MainWindow.cpp.
|
privateslot |
Preparing data
Disconnecting models from views
Definition at line 1190 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 1820 of file MainWindow.cpp.
|
privateslot |
Definition at line 1517 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 1547 of file MainWindow.cpp.
|
privateslot |
Definition at line 117 of file MainWindow.cpp.
|
privateslot |
Definition at line 1147 of file MainWindow.cpp.
|
privateslot |
Definition at line 1169 of file MainWindow.cpp.
|
privateslot |
Definition at line 1164 of file MainWindow.cpp.
|
privateslot |
Definition at line 1179 of file MainWindow.cpp.
|
privateslot |
Definition at line 1937 of file MainWindow.cpp.
|
privateslot |
Definition at line 1278 of file MainWindow.cpp.
|
privateslot |
Definition at line 1174 of file MainWindow.cpp.
|
privateslot |
Definition at line 1960 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 1872 of file MainWindow.cpp.
|
privateslot |
Create Rdb menu based on the available Rdb information Add rdb servers for each partition
p | is the partition source for which to populate with server information |
Definition at line 1142 of file MainWindow.cpp.
|
private |
Definition at line 1322 of file MainWindow.cpp.
|
private |
Definition at line 909 of file MainWindow.cpp.
|
private |
Definition at line 62 of file MainWindow.hpp.
|
private |
Definition at line 75 of file MainWindow.hpp.
|
private |
Definition at line 64 of file MainWindow.hpp.
|
private |
Definition at line 68 of file MainWindow.hpp.
|
private |
Definition at line 65 of file MainWindow.hpp.
|
private |
Definition at line 66 of file MainWindow.hpp.
|
private |
Definition at line 69 of file MainWindow.hpp.
|
private |
Definition at line 70 of file MainWindow.hpp.
|
private |
Definition at line 71 of file MainWindow.hpp.