Marlin
01.17.01
|
#include <mainwindow.h>
Public Slots | |
void | aProcNameChanged () |
void | iProcNameChanged () |
void | editAProcessor (int row=-1) |
Signals | |
void | modifiedContent () |
Public Member Functions | |
MainWindow (const MainWindow &)=default | |
MainWindow & | operator= (const MainWindow &)=default |
MainWindow () | |
void | setMarlinSteerCheck (const char *filename=NULL) |
Private Slots | |
virtual void | closeEvent (QCloseEvent *e) |
void | changeStyle (bool checked) |
void | aboutGUI () |
void | help () |
void | madeChanges () |
void | selectionChanged (int row) |
void | conditionChanged (int row, int col) |
void | hideIProcessors (bool checked) |
void | hideAProcErrors (bool checked) |
void | showConditions (bool checked) |
void | selectColumn (int col) |
void | procTypeDC (int row, int col) |
void | addLCIOFile () |
void | remLCIOFile () |
void | addCondition () |
void | editCondition () |
void | remCondition () |
void | addAProcessor () |
void | remAProcessor () |
void | remIProcessor () |
void | editIProcessor () |
void | activateProcessor () |
void | deactivateProcessor () |
void | moveLCIOFileUp () |
void | moveLCIOFileDown () |
void | moveProcessorUp () |
void | moveProcessorDown () |
void | changeGearFile () |
void | newXMLFile () |
void | openXMLFile () |
void | saveXMLFile () |
void | saveAsXMLFile () |
Private Member Functions | |
void | setupViews () |
void | createMenus () |
void | updateProcessors () |
void | updateIProcessors (int pos=-1) |
void | updateAProcessors (int pos=-1) |
void | updateConds (int pos=-1) |
void | updateFiles (int pos=-1) |
void | updateGlobalSection () |
void | selectRow (QTableWidget *t, int row, bool colors=false) |
void | selectLCIORow (QListWidget *t, int row) |
void | checkCurrentStyle () |
Private Attributes | |
bool | _modified {} |
bool | _saved {} |
std::string | _file {} |
MarlinSteerCheck * | msc {} |
QGroupBox * | aProcErrorsGBox {} |
QGroupBox * | viewButtonsGBox {} |
QGroupBox * | aProcButtonsGBox {} |
QGroupBox * | iProcButtonsGBox {} |
QGroupBox * | aProcGBox {} |
QGroupBox * | iProcGBox {} |
QGroupBox * | condGBox {} |
QGroupBox * | lcioFilesGBox {} |
QGroupBox * | lcioColsGBox {} |
QGroupBox * | globalSectionGBox {} |
QTableWidget * | aProcTable {} |
QTableWidget * | iProcTable {} |
QTableWidget * | globalSectionTable {} |
QTableWidget * | lcioColsTable {} |
QTableWidget * | condTable {} |
QListWidget * | lcioFilesList {} |
QPushButton * | hideProcs {} |
QPushButton * | hideErrors {} |
QPushButton * | showCond {} |
QSplitter * | vSplitter {} |
QSplitter * | hSplitter {} |
QList< int > | hSizes {} |
int | hSplitterSize {} |
QTextEdit * | aProcErrors {} |
QString | saveChangesMsg {} |
QString | aboutGUIMsg {} |
QActionGroup * | styleActionGroup {} |
Definition at line 35 of file mainwindow.h.
|
default |
MainWindow::MainWindow | ( | ) |
Definition at line 19 of file mainwindow.cpp.
References aboutGUIMsg, aProcErrorsGBox, aProcGBox, checkCurrentStyle(), condGBox, createMenus(), globalSectionGBox, help(), hSizes, hSplitter, iProcGBox, lcioColsGBox, madeChanges(), modifiedContent(), saveChangesMsg, setupViews(), viewButtonsGBox, and vSplitter.
|
privateslot |
|
privateslot |
Definition at line 1133 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::activateProcessor(), marlin::MarlinSteerCheck::getIProcs(), iProcTable, modifiedContent(), msc, updateAProcessors(), and updateIProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1019 of file mainwindow.cpp.
References modifiedContent(), and msc.
Referenced by setupViews().
|
privateslot |
Definition at line 980 of file mainwindow.cpp.
References aProcTable, modifiedContent(), msc, updateAProcessors(), and updateConds().
Referenced by setupViews().
|
privateslot |
Definition at line 1243 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::addLCIOFile(), marlin::MarlinSteerCheck::getLCIOFiles(), marlin::MarlinSteerCheck::getMProcs(), modifiedContent(), msc, std::vector< T >::size(), marlin::CMProcessor::tokenize(), updateAProcessors(), updateFiles(), and updateIProcessors().
Referenced by setupViews().
|
slot |
Definition at line 868 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::getAProcs(), modifiedContent(), and msc.
|
privateslot |
Definition at line 1203 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getGlobalParameters(), marlin::MarlinSteerCheck::getMProcs(), modifiedContent(), msc, std::vector< T >::push_back(), marlin::CMProcessor::tokenize(), and updateGlobalSection().
Referenced by setupViews().
|
privateslot |
Definition at line 1503 of file mainwindow.cpp.
Referenced by createMenus().
|
private |
Definition at line 1489 of file mainwindow.cpp.
References styleActionGroup.
Referenced by MainWindow().
|
privatevirtualslot |
Definition at line 106 of file mainwindow.cpp.
References _modified, saveChangesMsg, and saveXMLFile().
|
privateslot |
Definition at line 817 of file mainwindow.cpp.
References aProcTable, std::vector< T >::erase(), marlin::MarlinSteerCheck::getAProcs(), marlin::MarlinSteerCheck::getCondition(), std::vector< T >::insert(), modifiedContent(), and msc.
Referenced by setupViews().
|
private |
Definition at line 138 of file mainwindow.cpp.
References aboutGUI(), changeStyle(), help(), newXMLFile(), openXMLFile(), saveAsXMLFile(), saveXMLFile(), and styleActionGroup.
Referenced by MainWindow().
|
privateslot |
Definition at line 1152 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::deactivateProcessor(), modifiedContent(), msc, updateAProcessors(), and updateIProcessors().
Referenced by setupViews().
|
slot |
Definition at line 1069 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::consistencyCheck(), marlin::MarlinSteerCheck::getAProcs(), msc, and updateAProcessors().
Referenced by procTypeDC(), and setupViews().
|
privateslot |
Definition at line 990 of file mainwindow.cpp.
References aProcTable, condTable, modifiedContent(), msc, updateAProcessors(), and updateConds().
Referenced by setupViews().
|
privateslot |
Definition at line 1104 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getIProcs(), iProcTable, and msc.
Referenced by setupViews().
|
privateslot |
Definition at line 186 of file mainwindow.cpp.
References showCond.
Referenced by createMenus(), and MainWindow().
|
privateslot |
Definition at line 940 of file mainwindow.cpp.
References hideErrors, and vSplitter.
Referenced by setupViews().
|
privateslot |
Definition at line 926 of file mainwindow.cpp.
References hideProcs, and vSplitter.
Referenced by setupViews().
|
slot |
Definition at line 874 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getIProcs(), iProcTable, modifiedContent(), and msc.
|
privateslot |
|
signal |
Referenced by activateProcessor(), addAProcessor(), addCondition(), addLCIOFile(), aProcNameChanged(), changeGearFile(), conditionChanged(), deactivateProcessor(), editCondition(), iProcNameChanged(), MainWindow(), moveLCIOFileDown(), moveLCIOFileUp(), moveProcessorDown(), moveProcessorUp(), remAProcessor(), remCondition(), remIProcessor(), remLCIOFile(), and selectColumn().
|
privateslot |
Definition at line 1193 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::changeLCIOFilePos(), lcioFilesList, modifiedContent(), msc, and updateFiles().
Referenced by setupViews().
|
privateslot |
Definition at line 1183 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::changeLCIOFilePos(), lcioFilesList, modifiedContent(), msc, and updateFiles().
Referenced by setupViews().
|
privateslot |
Definition at line 1173 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::changeProcessorPos(), modifiedContent(), msc, and updateAProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1163 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::changeProcessorPos(), modifiedContent(), msc, and updateAProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1351 of file mainwindow.cpp.
References _file, _modified, _saved, hSplitter, msc, saveChangesMsg, saveXMLFile(), updateAProcessors(), updateFiles(), updateGlobalSection(), and updateIProcessors().
Referenced by createMenus().
|
privateslot |
Definition at line 1317 of file mainwindow.cpp.
References _modified, saveChangesMsg, saveXMLFile(), and setMarlinSteerCheck().
Referenced by createMenus().
|
default |
|
privateslot |
Definition at line 858 of file mainwindow.cpp.
References aProcTable, and editAProcessor().
Referenced by setupViews().
|
privateslot |
Definition at line 1027 of file mainwindow.cpp.
References ACTIVE, aProcTable, modifiedContent(), msc, marlin::MarlinSteerCheck::remProcessor(), and updateAProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1003 of file mainwindow.cpp.
References aProcTable, condTable, marlin::MarlinSteerCheck::getPConditions(), modifiedContent(), msc, marlin::MarlinSteerCheck::remCondition(), std::set< K >::size(), updateAProcessors(), and updateConds().
Referenced by setupViews().
|
privateslot |
Definition at line 1049 of file mainwindow.cpp.
References INACTIVE, iProcTable, modifiedContent(), msc, marlin::MarlinSteerCheck::remProcessor(), and updateIProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1305 of file mainwindow.cpp.
References lcioFilesList, modifiedContent(), msc, marlin::MarlinSteerCheck::remLCIOFile(), updateAProcessors(), updateFiles(), and updateIProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 1432 of file mainwindow.cpp.
References _file, _saved, and saveXMLFile().
Referenced by createMenus(), and saveXMLFile().
|
privateslot |
Definition at line 1391 of file mainwindow.cpp.
References _file, _modified, _saved, std::string::c_str(), msc, saveAsXMLFile(), and marlin::MarlinSteerCheck::saveAsXMLFile().
Referenced by closeEvent(), createMenus(), newXMLFile(), openXMLFile(), and saveAsXMLFile().
|
privateslot |
Definition at line 830 of file mainwindow.cpp.
References aProcTable, std::vector< T >::erase(), marlin::MarlinSteerCheck::getAProcs(), marlin::MarlinSteerCheck::getCondition(), std::vector< T >::insert(), modifiedContent(), msc, std::vector< T >::size(), and updateAProcessors().
Referenced by setupViews().
|
privateslot |
Definition at line 954 of file mainwindow.cpp.
References aProcErrors, aProcTable, marlin::MarlinSteerCheck::dumpColErrors(), std::endl(), marlin::MarlinSteerCheck::getAProcs(), msc, std::vector< T >::size(), and std::ostringstream::str().
Referenced by selectRow(), and setupViews().
|
private |
Definition at line 703 of file mainwindow.cpp.
Referenced by updateFiles().
|
private |
Definition at line 849 of file mainwindow.cpp.
References selectionChanged().
Referenced by updateAProcessors(), updateConds(), and updateIProcessors().
void MainWindow::setMarlinSteerCheck | ( | const char * | filename = NULL | ) |
Definition at line 538 of file mainwindow.cpp.
References _file, _modified, _saved, std::set< K >::begin(), std::string::c_str(), std::set< K >::end(), std::set< K >::find(), std::string::find(), std::shared_ptr::get(), marlin::MarlinSteerCheck::getErrors(), marlin::MarlinSteerCheck::getGlobalParameters(), globalSectionTable, hSplitter, msc, std::set< K >::size(), updateAProcessors(), updateConds(), updateFiles(), updateGlobalSection(), and updateIProcessors().
Referenced by main(), and openXMLFile().
|
private |
Definition at line 197 of file mainwindow.cpp.
References activateProcessor(), addAProcessor(), addCondition(), addLCIOFile(), aProcButtonsGBox, aProcErrors, aProcErrorsGBox, aProcGBox, aProcTable, changeGearFile(), condGBox, conditionChanged(), condTable, deactivateProcessor(), editAProcessor(), editCondition(), editIProcessor(), globalSectionGBox, globalSectionTable, hideAProcErrors(), hideErrors, hideIProcessors(), hideProcs, iProcButtonsGBox, iProcGBox, iProcTable, lcioColsGBox, lcioColsTable, lcioFilesGBox, lcioFilesList, moveLCIOFileDown(), moveLCIOFileUp(), moveProcessorDown(), moveProcessorUp(), procTypeDC(), remAProcessor(), remCondition(), remIProcessor(), remLCIOFile(), selectColumn(), selectionChanged(), showCond, showConditions(), and viewButtonsGBox.
Referenced by MainWindow().
|
privateslot |
Definition at line 885 of file mainwindow.cpp.
References aProcTable, marlin::MarlinSteerCheck::getPConditions(), hideErrors, hideProcs, hSizes, hSplitter, hSplitterSize, msc, showCond, std::set< K >::size(), and vSplitter.
Referenced by setupViews().
|
private |
Definition at line 711 of file mainwindow.cpp.
References aProcErrors, aProcTable, std::set< K >::begin(), std::string::c_str(), marlin::MarlinSteerCheck::getAProcs(), marlin::MarlinSteerCheck::getCondition(), marlin::MarlinSteerCheck::getPConditions(), msc, selectRow(), showCond, std::vector< T >::size(), and std::set< K >::size().
Referenced by activateProcessor(), addCondition(), addLCIOFile(), deactivateProcessor(), editAProcessor(), editCondition(), moveProcessorDown(), moveProcessorUp(), newXMLFile(), remAProcessor(), remCondition(), remLCIOFile(), selectColumn(), and setMarlinSteerCheck().
|
private |
Definition at line 654 of file mainwindow.cpp.
References std::set< K >::begin(), condTable, std::set< K >::end(), marlin::MarlinSteerCheck::getPConditions(), msc, and selectRow().
Referenced by addCondition(), editCondition(), remCondition(), and setMarlinSteerCheck().
|
private |
Definition at line 671 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getLCIOCols(), marlin::MarlinSteerCheck::getLCIOFiles(), lcioColsTable, lcioFilesList, msc, selectLCIORow(), and std::vector< T >::size().
Referenced by addLCIOFile(), moveLCIOFileDown(), moveLCIOFileUp(), newXMLFile(), remLCIOFile(), and setMarlinSteerCheck().
|
private |
Definition at line 614 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getGlobalParameters(), globalSectionTable, msc, and std::vector< T >::size().
Referenced by changeGearFile(), newXMLFile(), and setMarlinSteerCheck().
|
private |
Definition at line 785 of file mainwindow.cpp.
References marlin::MarlinSteerCheck::getIProcs(), iProcTable, msc, selectRow(), and std::vector< T >::size().
Referenced by activateProcessor(), addLCIOFile(), deactivateProcessor(), newXMLFile(), remIProcessor(), remLCIOFile(), and setMarlinSteerCheck().
|
private |
|
private |
Definition at line 114 of file mainwindow.h.
Referenced by newXMLFile(), saveAsXMLFile(), saveXMLFile(), and setMarlinSteerCheck().
|
private |
Definition at line 112 of file mainwindow.h.
Referenced by closeEvent(), madeChanges(), newXMLFile(), openXMLFile(), saveXMLFile(), and setMarlinSteerCheck().
|
private |
Definition at line 113 of file mainwindow.h.
Referenced by newXMLFile(), saveAsXMLFile(), saveXMLFile(), and setMarlinSteerCheck().
|
private |
Definition at line 151 of file mainwindow.h.
Referenced by aboutGUI(), and MainWindow().
|
private |
Definition at line 120 of file mainwindow.h.
Referenced by setupViews().
|
private |
Definition at line 149 of file mainwindow.h.
Referenced by selectionChanged(), setupViews(), and updateAProcessors().
|
private |
Definition at line 118 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 122 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 130 of file mainwindow.h.
Referenced by addCondition(), aProcNameChanged(), conditionChanged(), deactivateProcessor(), editAProcessor(), editCondition(), moveProcessorDown(), moveProcessorUp(), procTypeDC(), remAProcessor(), remCondition(), selectColumn(), selectionChanged(), setupViews(), showConditions(), and updateAProcessors().
|
private |
Definition at line 124 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 134 of file mainwindow.h.
Referenced by editCondition(), remCondition(), setupViews(), and updateConds().
|
private |
Definition at line 127 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 132 of file mainwindow.h.
Referenced by setMarlinSteerCheck(), setupViews(), and updateGlobalSection().
|
private |
Definition at line 139 of file mainwindow.h.
Referenced by hideAProcErrors(), setupViews(), and showConditions().
|
private |
Definition at line 138 of file mainwindow.h.
Referenced by hideIProcessors(), setupViews(), and showConditions().
|
private |
Definition at line 145 of file mainwindow.h.
Referenced by MainWindow(), and showConditions().
|
private |
Definition at line 144 of file mainwindow.h.
Referenced by MainWindow(), newXMLFile(), setMarlinSteerCheck(), and showConditions().
|
private |
Definition at line 146 of file mainwindow.h.
Referenced by showConditions().
|
private |
Definition at line 121 of file mainwindow.h.
Referenced by setupViews().
|
private |
Definition at line 123 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 131 of file mainwindow.h.
Referenced by activateProcessor(), editIProcessor(), iProcNameChanged(), remIProcessor(), setupViews(), and updateIProcessors().
|
private |
Definition at line 126 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 133 of file mainwindow.h.
Referenced by setupViews(), and updateFiles().
|
private |
Definition at line 125 of file mainwindow.h.
Referenced by setupViews().
|
private |
Definition at line 135 of file mainwindow.h.
Referenced by moveLCIOFileDown(), moveLCIOFileUp(), remLCIOFile(), setupViews(), and updateFiles().
|
private |
Definition at line 115 of file mainwindow.h.
Referenced by activateProcessor(), addAProcessor(), addCondition(), addLCIOFile(), aProcNameChanged(), changeGearFile(), conditionChanged(), deactivateProcessor(), editAProcessor(), editCondition(), editIProcessor(), iProcNameChanged(), moveLCIOFileDown(), moveLCIOFileUp(), moveProcessorDown(), moveProcessorUp(), newXMLFile(), remAProcessor(), remCondition(), remIProcessor(), remLCIOFile(), saveXMLFile(), selectColumn(), selectionChanged(), setMarlinSteerCheck(), showConditions(), updateAProcessors(), updateConds(), updateFiles(), updateGlobalSection(), and updateIProcessors().
|
private |
Definition at line 150 of file mainwindow.h.
Referenced by closeEvent(), MainWindow(), newXMLFile(), and openXMLFile().
|
private |
Definition at line 140 of file mainwindow.h.
Referenced by help(), setupViews(), showConditions(), and updateAProcessors().
|
private |
Definition at line 152 of file mainwindow.h.
Referenced by checkCurrentStyle(), and createMenus().
|
private |
Definition at line 119 of file mainwindow.h.
Referenced by MainWindow(), and setupViews().
|
private |
Definition at line 143 of file mainwindow.h.
Referenced by hideAProcErrors(), hideIProcessors(), MainWindow(), and showConditions().