ATLAS Offline Software
Loading...
Searching...
No Matches
VP1ExpertSettings.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Header file for class VP1ExpertSettings //
8// //
9// Description: Additional VP1 settings //
10// //
11// Author: Sebastian Andreas Merkt (sebastian.andreas.merkt@cern.ch) //
12// Initial version: August 2017 //
13// //
15
16#ifndef VP1EXPERTSETTINGS_H
17#define VP1EXPERTSETTINGS_H
18
19#include <QDialog>
20#include <QComboBox>
21#include <QPushButton>
22#include <QDialogButtonBox>
23#include <QCheckBox>
24
25class VP1ExpertSettings : public QDialog
26{
27 Q_OBJECT
28public:
29 explicit VP1ExpertSettings(QWidget *parent = 0);
30
31public Q_SLOTS:
32 void setPluginPath(const QString &path);
33 void setFileSelectDir(const QString &path);
34 void setScreenshotDir(const QString &path);
35 void setAuthLog(const QString &path);
36
37private:
38 QString m_pluginPath;
41 QString m_authLog;
42 QDialogButtonBox* m_buttonBox{};
43 QTabWidget* m_tabWidget{};
44 QPushButton* m_okButton{};
45
47 void closeEvent(QCloseEvent *event);
48 void keyPressEvent(QKeyEvent *event);
49 void setExpertSetting(const QString &type, const QString &name);
50};
51
52
53
54
55
56
57class GeneralTab : public QWidget
58{
59 Q_OBJECT
60
61public:
62 explicit GeneralTab(QWidget *parent = 0);
63
64private Q_SLOTS:
65 #if defined BUILDVP1LIGHT
66 void setExpertSetting(const QString &type, const QString &name);
67 #else
68 void setExpertSetting(const QString &name);
69 #endif
71 void slotScreenshotDirChanged(const QString &path);
72
73signals:
74 void signalScreenshotDirChanged(const QString &path);
75
76private:
78 QCheckBox* m_checkboxDebug;
84 QPushButton* m_browseButton1;
85 QLineEdit* m_lineEdit1;
86};
87
88
89
90
91
92
93class AdvancedTab : public QWidget
94{
95 Q_OBJECT
96
97public:
98 explicit AdvancedTab(QWidget *parent = 0);
99
100private Q_SLOTS:
104 void slotPluginPathChanged(const QString &path);
105 void slotFileSelectDirChanged(const QString &path);
106 void slotAuthLogChanged(const QString &path);
107 #if defined BUILDVP1LIGHT
108 void setExpertSetting(const QString &type, const QString &name);
109 #else
110 void setExpertSetting(const QString &name);
111 #endif
112
113signals:
114 void signalPluginPathChanged(const QString &path);
115 void signalFileSelectDirChanged(const QString &path);
116 void signalAuthLogChanged(const QString &path);
117
118private:
119 QPushButton* m_browseButton1;
120 QPushButton* m_browseButton2;
121 QPushButton* m_browseButton3;
125 QLineEdit* m_lineEdit1;
126 QLineEdit* m_lineEdit2;
127 QLineEdit* m_lineEdit3;
128};
129
130
131#endif // VP1EXPERTSETTINGS_H
QCheckBox * m_checkboxDevelShowAllCruiseAndEventControls
void slotAuthLogChanged(const QString &path)
QCheckBox * m_checkboxEnableInformOnEndOfJob
void on_browseButton1_clicked()
void slotPluginPathChanged(const QString &path)
QLineEdit * m_lineEdit3
QCheckBox * m_checkboxHardExitAtEnd
QPushButton * m_browseButton2
void slotFileSelectDirChanged(const QString &path)
void setExpertSetting(const QString &name)
void signalPluginPathChanged(const QString &path)
QLineEdit * m_lineEdit2
AdvancedTab(QWidget *parent=0)
void on_browseButton3_clicked()
QPushButton * m_browseButton3
QLineEdit * m_lineEdit1
void on_browseButton2_clicked()
void signalAuthLogChanged(const QString &path)
void signalFileSelectDirChanged(const QString &path)
QPushButton * m_browseButton1
QLineEdit * m_lineEdit1
QCheckBox * m_checkboxAntiAliasing
QCheckBox * m_checkboxDisallowMultipleChannels
void on_browseButton1_clicked()
QCheckBox * m_checkboxGuidesSphereInsteadOfCoordaxes
void slotScreenshotDirChanged(const QString &path)
void signalScreenshotDirChanged(const QString &path)
QCheckBox * m_checkboxEnableAskOnClose
QPushButton * m_browseButton1
void setExpertSetting(const QString &name)
QCheckBox * m_checkboxDisplayMouseClicks
GeneralTab(QWidget *parent=0)
QCheckBox * m_checkboxDebug
QCheckBox * m_checkboxVerbose
void keyPressEvent(QKeyEvent *event)
void setExpertSetting(const QString &type, const QString &name)
VP1ExpertSettings(QWidget *parent=0)
QDialogButtonBox * m_buttonBox
QPushButton * m_okButton
void setScreenshotDir(const QString &path)
void setFileSelectDir(const QString &path)
QTabWidget * m_tabWidget
void setAuthLog(const QString &path)
void closeEvent(QCloseEvent *event)
void setPluginPath(const QString &path)