ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Gui
VP1Gui
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
25
class
VP1ExpertSettings
:
public
QDialog
26
{
27
Q_OBJECT
28
public
:
29
explicit
VP1ExpertSettings
(QWidget *parent = 0);
30
31
public
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
37
private
:
38
QString
m_pluginPath
;
39
QString
m_fileSelectDir
;
40
QString
m_screenshotDir
;
41
QString
m_authLog
;
42
QDialogButtonBox*
m_buttonBox
{};
43
QTabWidget*
m_tabWidget
{};
44
QPushButton*
m_okButton
{};
45
46
bool
checkBoxState
();
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
57
class
GeneralTab
:
public
QWidget
58
{
59
Q_OBJECT
60
61
public
:
62
explicit
GeneralTab
(QWidget *parent = 0);
63
64
private
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
70
void
on_browseButton1_clicked
();
71
void
slotScreenshotDirChanged
(
const
QString &path);
72
73
signals:
74
void
signalScreenshotDirChanged
(
const
QString &path);
75
76
private
:
77
QCheckBox*
m_checkboxVerbose
;
78
QCheckBox*
m_checkboxDebug
;
79
QCheckBox*
m_checkboxDisallowMultipleChannels
;
80
QCheckBox*
m_checkboxDisplayMouseClicks
;
81
QCheckBox*
m_checkboxEnableAskOnClose
;
82
QCheckBox*
m_checkboxGuidesSphereInsteadOfCoordaxes
;
83
QCheckBox*
m_checkboxAntiAliasing
;
84
QPushButton*
m_browseButton1
;
85
QLineEdit*
m_lineEdit1
;
86
};
87
88
89
90
91
92
93
class
AdvancedTab
:
public
QWidget
94
{
95
Q_OBJECT
96
97
public
:
98
explicit
AdvancedTab
(QWidget *parent = 0);
99
100
private
Q_SLOTS:
101
void
on_browseButton1_clicked
();
102
void
on_browseButton2_clicked
();
103
void
on_browseButton3_clicked
();
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
113
signals:
114
void
signalPluginPathChanged
(
const
QString &path);
115
void
signalFileSelectDirChanged
(
const
QString &path);
116
void
signalAuthLogChanged
(
const
QString &path);
117
118
private
:
119
QPushButton*
m_browseButton1
;
120
QPushButton*
m_browseButton2
;
121
QPushButton*
m_browseButton3
;
122
QCheckBox*
m_checkboxEnableInformOnEndOfJob
;
123
QCheckBox*
m_checkboxHardExitAtEnd
;
124
QCheckBox*
m_checkboxDevelShowAllCruiseAndEventControls
;
125
QLineEdit*
m_lineEdit1
;
126
QLineEdit*
m_lineEdit2
;
127
QLineEdit*
m_lineEdit3
;
128
};
129
130
131
#endif
// VP1EXPERTSETTINGS_H
AdvancedTab::m_checkboxDevelShowAllCruiseAndEventControls
QCheckBox * m_checkboxDevelShowAllCruiseAndEventControls
Definition
VP1ExpertSettings.h:124
AdvancedTab::slotAuthLogChanged
void slotAuthLogChanged(const QString &path)
Definition
VP1ExpertSettings.cxx:539
AdvancedTab::m_checkboxEnableInformOnEndOfJob
QCheckBox * m_checkboxEnableInformOnEndOfJob
Definition
VP1ExpertSettings.h:122
AdvancedTab::on_browseButton1_clicked
void on_browseButton1_clicked()
Definition
VP1ExpertSettings.cxx:507
AdvancedTab::slotPluginPathChanged
void slotPluginPathChanged(const QString &path)
Definition
VP1ExpertSettings.cxx:531
AdvancedTab::m_lineEdit3
QLineEdit * m_lineEdit3
Definition
VP1ExpertSettings.h:127
AdvancedTab::m_checkboxHardExitAtEnd
QCheckBox * m_checkboxHardExitAtEnd
Definition
VP1ExpertSettings.h:123
AdvancedTab::m_browseButton2
QPushButton * m_browseButton2
Definition
VP1ExpertSettings.h:120
AdvancedTab::slotFileSelectDirChanged
void slotFileSelectDirChanged(const QString &path)
Definition
VP1ExpertSettings.cxx:535
AdvancedTab::setExpertSetting
void setExpertSetting(const QString &name)
Definition
VP1ExpertSettings.cxx:552
AdvancedTab::signalPluginPathChanged
void signalPluginPathChanged(const QString &path)
AdvancedTab::m_lineEdit2
QLineEdit * m_lineEdit2
Definition
VP1ExpertSettings.h:126
AdvancedTab::AdvancedTab
AdvancedTab(QWidget *parent=0)
Definition
VP1ExpertSettings.cxx:369
AdvancedTab::on_browseButton3_clicked
void on_browseButton3_clicked()
Definition
VP1ExpertSettings.cxx:523
AdvancedTab::m_browseButton3
QPushButton * m_browseButton3
Definition
VP1ExpertSettings.h:121
AdvancedTab::m_lineEdit1
QLineEdit * m_lineEdit1
Definition
VP1ExpertSettings.h:125
AdvancedTab::on_browseButton2_clicked
void on_browseButton2_clicked()
Definition
VP1ExpertSettings.cxx:515
AdvancedTab::signalAuthLogChanged
void signalAuthLogChanged(const QString &path)
AdvancedTab::signalFileSelectDirChanged
void signalFileSelectDirChanged(const QString &path)
AdvancedTab::m_browseButton1
QPushButton * m_browseButton1
Definition
VP1ExpertSettings.h:119
GeneralTab::m_lineEdit1
QLineEdit * m_lineEdit1
Definition
VP1ExpertSettings.h:85
GeneralTab::m_checkboxAntiAliasing
QCheckBox * m_checkboxAntiAliasing
Definition
VP1ExpertSettings.h:83
GeneralTab::m_checkboxDisallowMultipleChannels
QCheckBox * m_checkboxDisallowMultipleChannels
Definition
VP1ExpertSettings.h:79
GeneralTab::on_browseButton1_clicked
void on_browseButton1_clicked()
Definition
VP1ExpertSettings.cxx:357
GeneralTab::m_checkboxGuidesSphereInsteadOfCoordaxes
QCheckBox * m_checkboxGuidesSphereInsteadOfCoordaxes
Definition
VP1ExpertSettings.h:82
GeneralTab::slotScreenshotDirChanged
void slotScreenshotDirChanged(const QString &path)
Definition
VP1ExpertSettings.cxx:364
GeneralTab::signalScreenshotDirChanged
void signalScreenshotDirChanged(const QString &path)
GeneralTab::m_checkboxEnableAskOnClose
QCheckBox * m_checkboxEnableAskOnClose
Definition
VP1ExpertSettings.h:81
GeneralTab::m_browseButton1
QPushButton * m_browseButton1
Definition
VP1ExpertSettings.h:84
GeneralTab::setExpertSetting
void setExpertSetting(const QString &name)
Definition
VP1ExpertSettings.cxx:348
GeneralTab::m_checkboxDisplayMouseClicks
QCheckBox * m_checkboxDisplayMouseClicks
Definition
VP1ExpertSettings.h:80
GeneralTab::GeneralTab
GeneralTab(QWidget *parent=0)
Definition
VP1ExpertSettings.cxx:170
GeneralTab::m_checkboxDebug
QCheckBox * m_checkboxDebug
Definition
VP1ExpertSettings.h:78
GeneralTab::m_checkboxVerbose
QCheckBox * m_checkboxVerbose
Definition
VP1ExpertSettings.h:77
VP1ExpertSettings::keyPressEvent
void keyPressEvent(QKeyEvent *event)
Definition
VP1ExpertSettings.cxx:141
VP1ExpertSettings::m_screenshotDir
QString m_screenshotDir
Definition
VP1ExpertSettings.h:40
VP1ExpertSettings::setExpertSetting
void setExpertSetting(const QString &type, const QString &name)
Definition
VP1ExpertSettings.cxx:162
VP1ExpertSettings::VP1ExpertSettings
VP1ExpertSettings(QWidget *parent=0)
Definition
VP1ExpertSettings.cxx:43
VP1ExpertSettings::m_buttonBox
QDialogButtonBox * m_buttonBox
Definition
VP1ExpertSettings.h:42
VP1ExpertSettings::checkBoxState
bool checkBoxState()
VP1ExpertSettings::m_okButton
QPushButton * m_okButton
Definition
VP1ExpertSettings.h:44
VP1ExpertSettings::setScreenshotDir
void setScreenshotDir(const QString &path)
Definition
VP1ExpertSettings.cxx:154
VP1ExpertSettings::setFileSelectDir
void setFileSelectDir(const QString &path)
Definition
VP1ExpertSettings.cxx:150
VP1ExpertSettings::m_tabWidget
QTabWidget * m_tabWidget
Definition
VP1ExpertSettings.h:43
VP1ExpertSettings::m_authLog
QString m_authLog
Definition
VP1ExpertSettings.h:41
VP1ExpertSettings::setAuthLog
void setAuthLog(const QString &path)
Definition
VP1ExpertSettings.cxx:158
VP1ExpertSettings::m_pluginPath
QString m_pluginPath
Definition
VP1ExpertSettings.h:38
VP1ExpertSettings::closeEvent
void closeEvent(QCloseEvent *event)
Definition
VP1ExpertSettings.cxx:92
VP1ExpertSettings::m_fileSelectDir
QString m_fileSelectDir
Definition
VP1ExpertSettings.h:39
VP1ExpertSettings::setPluginPath
void setPluginPath(const QString &path)
Definition
VP1ExpertSettings.cxx:146
type
Generated on
for ATLAS Offline Software by
1.17.0