ATLAS Offline Software
VP1AODSelection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Header file for class VP1AODSelection //
8 // //
9 // Description: Dialog for the selection of a xAOD file //
10 // //
11 // Author: Sebastian Andreas Merkt (sebastian.andreas.merkt@cern.ch) //
12 // Initial version: November 2017 //
13 // //
15 
16 #ifndef VP1AODSELECTION_H
17 #define VP1AODSELECTION_H
18 
19 #include <QDialog>
20 #include <QComboBox>
21 #include <QPushButton>
22 #include <QDialogButtonBox>
23 
24 class VP1AODSelection : public QDialog
25 {
26  Q_OBJECT
27 public:
28  explicit VP1AODSelection(QWidget *parent = 0);
29 
30 private Q_SLOTS:
31  //Open the file selection dialog
33 
34  //Check and Save the settings
35  void loadDatabase();
36 
37 public Q_SLOTS:
38 
39 private:
40  QString m_fileName;
41  QComboBox *m_directoryComboBox;
42  QPushButton *m_browseButton;
43  QPushButton *m_openButton;
44  QPushButton *m_cancelButton;
45  QDialogButtonBox *m_buttonBox;
46 
47  //Animate the click
48  void animateFindClick();
49 
50  //Method to create the drop down combobox
51  QComboBox *createComboBox(const QString &text = QString());
52 };
53 
54 #endif // VP1AODSELECTION_H
VP1AODSelection::on_browseButton_clicked
void on_browseButton_clicked()
Definition: VP1AODSelection.cxx:102
VP1AODSelection::m_cancelButton
QPushButton * m_cancelButton
Definition: VP1AODSelection.h:44
VP1AODSelection::m_browseButton
QPushButton * m_browseButton
Definition: VP1AODSelection.h:42
VP1AODSelection::m_buttonBox
QDialogButtonBox * m_buttonBox
Definition: VP1AODSelection.h:45
VP1AODSelection::animateFindClick
void animateFindClick()
Definition: VP1AODSelection.cxx:96
VP1AODSelection::m_directoryComboBox
QComboBox * m_directoryComboBox
Definition: VP1AODSelection.h:41
VP1AODSelection
Definition: VP1AODSelection.h:25
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1AODSelection::VP1AODSelection
VP1AODSelection(QWidget *parent=0)
Definition: VP1AODSelection.cxx:34
VP1AODSelection::m_fileName
QString m_fileName
Definition: VP1AODSelection.h:40
VP1AODSelection::loadDatabase
void loadDatabase()
Definition: VP1AODSelection.cxx:121
makeTransCanvas.text
text
Definition: makeTransCanvas.py:11
VP1AODSelection::createComboBox
QComboBox * createComboBox(const QString &text=QString())
Definition: VP1AODSelection.cxx:85
VP1AODSelection::m_openButton
QPushButton * m_openButton
Definition: VP1AODSelection.h:43