Marlin  01.17.01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MainWindow Class Reference

#include <mainwindow.h>

+ Inheritance diagram for MainWindow:

Public Slots

void aProcNameChanged ()
 
void iProcNameChanged ()
 
void editAProcessor (int row=-1)
 

Signals

void modifiedContent ()
 

Public Member Functions

 MainWindow (const MainWindow &)=default
 
MainWindowoperator= (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 {}
 
MarlinSteerCheckmsc {}
 
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 {}
 

Detailed Description

Definition at line 35 of file mainwindow.h.

Constructor & Destructor Documentation

MainWindow::MainWindow ( const MainWindow )
default
MainWindow::MainWindow ( )

Member Function Documentation

void MainWindow::aboutGUI ( )
privateslot

Definition at line 182 of file mainwindow.cpp.

References aboutGUIMsg.

Referenced by createMenus().

void MainWindow::activateProcessor ( )
privateslot
void MainWindow::addAProcessor ( )
privateslot

Definition at line 1019 of file mainwindow.cpp.

References modifiedContent(), and msc.

Referenced by setupViews().

void MainWindow::addCondition ( )
privateslot

Definition at line 980 of file mainwindow.cpp.

References aProcTable, modifiedContent(), msc, updateAProcessors(), and updateConds().

Referenced by setupViews().

void MainWindow::addLCIOFile ( )
privateslot
void MainWindow::aProcNameChanged ( )
slot
void MainWindow::changeGearFile ( )
privateslot
void MainWindow::changeStyle ( bool  checked)
privateslot

Definition at line 1503 of file mainwindow.cpp.

Referenced by createMenus().

void MainWindow::checkCurrentStyle ( )
private

Definition at line 1489 of file mainwindow.cpp.

References styleActionGroup.

Referenced by MainWindow().

void MainWindow::closeEvent ( QCloseEvent *  e)
privatevirtualslot

Definition at line 106 of file mainwindow.cpp.

References _modified, saveChangesMsg, and saveXMLFile().

void MainWindow::conditionChanged ( int  row,
int  col 
)
privateslot
void MainWindow::createMenus ( )
private
void MainWindow::deactivateProcessor ( )
privateslot
void MainWindow::editAProcessor ( int  row = -1)
slot
void MainWindow::editCondition ( )
privateslot

Definition at line 990 of file mainwindow.cpp.

References aProcTable, condTable, modifiedContent(), msc, updateAProcessors(), and updateConds().

Referenced by setupViews().

void MainWindow::editIProcessor ( )
privateslot

Definition at line 1104 of file mainwindow.cpp.

References marlin::MarlinSteerCheck::getIProcs(), iProcTable, and msc.

Referenced by setupViews().

void MainWindow::help ( )
privateslot

Definition at line 186 of file mainwindow.cpp.

References showCond.

Referenced by createMenus(), and MainWindow().

void MainWindow::hideAProcErrors ( bool  checked)
privateslot

Definition at line 940 of file mainwindow.cpp.

References hideErrors, and vSplitter.

Referenced by setupViews().

void MainWindow::hideIProcessors ( bool  checked)
privateslot

Definition at line 926 of file mainwindow.cpp.

References hideProcs, and vSplitter.

Referenced by setupViews().

void MainWindow::iProcNameChanged ( )
slot
void MainWindow::madeChanges ( )
privateslot

Definition at line 1485 of file mainwindow.cpp.

References _modified.

Referenced by MainWindow().

void MainWindow::modifiedContent ( )
signal
void MainWindow::moveLCIOFileDown ( )
privateslot
void MainWindow::moveLCIOFileUp ( )
privateslot
void MainWindow::moveProcessorDown ( )
privateslot
void MainWindow::moveProcessorUp ( )
privateslot
void MainWindow::newXMLFile ( )
privateslot
void MainWindow::openXMLFile ( )
privateslot

Definition at line 1317 of file mainwindow.cpp.

References _modified, saveChangesMsg, saveXMLFile(), and setMarlinSteerCheck().

Referenced by createMenus().

MainWindow& MainWindow::operator= ( const MainWindow )
default
void MainWindow::procTypeDC ( int  row,
int  col 
)
privateslot

Definition at line 858 of file mainwindow.cpp.

References aProcTable, and editAProcessor().

Referenced by setupViews().

void MainWindow::remAProcessor ( )
privateslot
void MainWindow::remCondition ( )
privateslot
void MainWindow::remIProcessor ( )
privateslot
void MainWindow::remLCIOFile ( )
privateslot
void MainWindow::saveAsXMLFile ( )
privateslot

Definition at line 1432 of file mainwindow.cpp.

References _file, _saved, and saveXMLFile().

Referenced by createMenus(), and saveXMLFile().

void MainWindow::saveXMLFile ( )
privateslot
void MainWindow::selectColumn ( int  col)
privateslot
void MainWindow::selectionChanged ( int  row)
privateslot
void MainWindow::selectLCIORow ( QListWidget *  t,
int  row 
)
private

Definition at line 703 of file mainwindow.cpp.

Referenced by updateFiles().

void MainWindow::selectRow ( QTableWidget *  t,
int  row,
bool  colors = false 
)
private

Definition at line 849 of file mainwindow.cpp.

References selectionChanged().

Referenced by updateAProcessors(), updateConds(), and updateIProcessors().

void MainWindow::setMarlinSteerCheck ( const char *  filename = NULL)
void MainWindow::setupViews ( )
private
void MainWindow::showConditions ( bool  checked)
privateslot
void MainWindow::updateAProcessors ( int  pos = -1)
private
void MainWindow::updateConds ( int  pos = -1)
private
void MainWindow::updateFiles ( int  pos = -1)
private
void MainWindow::updateGlobalSection ( )
private
void MainWindow::updateIProcessors ( int  pos = -1)
private
void MainWindow::updateProcessors ( )
private

Member Data Documentation

std::string MainWindow::_file {}
private

Definition at line 114 of file mainwindow.h.

Referenced by newXMLFile(), saveAsXMLFile(), saveXMLFile(), and setMarlinSteerCheck().

bool MainWindow::_modified {}
private
bool MainWindow::_saved {}
private

Definition at line 113 of file mainwindow.h.

Referenced by newXMLFile(), saveAsXMLFile(), saveXMLFile(), and setMarlinSteerCheck().

QString MainWindow::aboutGUIMsg {}
private

Definition at line 151 of file mainwindow.h.

Referenced by aboutGUI(), and MainWindow().

QGroupBox* MainWindow::aProcButtonsGBox {}
private

Definition at line 120 of file mainwindow.h.

Referenced by setupViews().

QTextEdit* MainWindow::aProcErrors {}
private

Definition at line 149 of file mainwindow.h.

Referenced by selectionChanged(), setupViews(), and updateAProcessors().

QGroupBox* MainWindow::aProcErrorsGBox {}
private

Definition at line 118 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QGroupBox* MainWindow::aProcGBox {}
private

Definition at line 122 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QTableWidget* MainWindow::aProcTable {}
private
QGroupBox* MainWindow::condGBox {}
private

Definition at line 124 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QTableWidget* MainWindow::condTable {}
private

Definition at line 134 of file mainwindow.h.

Referenced by editCondition(), remCondition(), setupViews(), and updateConds().

QGroupBox* MainWindow::globalSectionGBox {}
private

Definition at line 127 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QTableWidget* MainWindow::globalSectionTable {}
private

Definition at line 132 of file mainwindow.h.

Referenced by setMarlinSteerCheck(), setupViews(), and updateGlobalSection().

QPushButton* MainWindow::hideErrors {}
private

Definition at line 139 of file mainwindow.h.

Referenced by hideAProcErrors(), setupViews(), and showConditions().

QPushButton* MainWindow::hideProcs {}
private

Definition at line 138 of file mainwindow.h.

Referenced by hideIProcessors(), setupViews(), and showConditions().

QList<int> MainWindow::hSizes {}
private

Definition at line 145 of file mainwindow.h.

Referenced by MainWindow(), and showConditions().

QSplitter* MainWindow::hSplitter {}
private

Definition at line 144 of file mainwindow.h.

Referenced by MainWindow(), newXMLFile(), setMarlinSteerCheck(), and showConditions().

int MainWindow::hSplitterSize {}
private

Definition at line 146 of file mainwindow.h.

Referenced by showConditions().

QGroupBox* MainWindow::iProcButtonsGBox {}
private

Definition at line 121 of file mainwindow.h.

Referenced by setupViews().

QGroupBox* MainWindow::iProcGBox {}
private

Definition at line 123 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QTableWidget* MainWindow::iProcTable {}
private
QGroupBox* MainWindow::lcioColsGBox {}
private

Definition at line 126 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QTableWidget* MainWindow::lcioColsTable {}
private

Definition at line 133 of file mainwindow.h.

Referenced by setupViews(), and updateFiles().

QGroupBox* MainWindow::lcioFilesGBox {}
private

Definition at line 125 of file mainwindow.h.

Referenced by setupViews().

QListWidget* MainWindow::lcioFilesList {}
private

Definition at line 135 of file mainwindow.h.

Referenced by moveLCIOFileDown(), moveLCIOFileUp(), remLCIOFile(), setupViews(), and updateFiles().

MarlinSteerCheck* MainWindow::msc {}
private
QString MainWindow::saveChangesMsg {}
private

Definition at line 150 of file mainwindow.h.

Referenced by closeEvent(), MainWindow(), newXMLFile(), and openXMLFile().

QPushButton* MainWindow::showCond {}
private

Definition at line 140 of file mainwindow.h.

Referenced by help(), setupViews(), showConditions(), and updateAProcessors().

QActionGroup* MainWindow::styleActionGroup {}
private

Definition at line 152 of file mainwindow.h.

Referenced by checkCurrentStyle(), and createMenus().

QGroupBox* MainWindow::viewButtonsGBox {}
private

Definition at line 119 of file mainwindow.h.

Referenced by MainWindow(), and setupViews().

QSplitter* MainWindow::vSplitter {}
private

Definition at line 143 of file mainwindow.h.

Referenced by hideAProcErrors(), hideIProcessors(), MainWindow(), and showConditions().


The documentation for this class was generated from the following files: