#include <VP1GeoDBSelection.h>
Definition at line 24 of file VP1GeoDBSelection.h.
◆ VP1GeoDBSelection()
VP1GeoDBSelection::VP1GeoDBSelection |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Definition at line 34 of file VP1GeoDBSelection.cxx.
44 resize(nWidth, nHeight);
58 QSettings settings(
"ATLAS",
"VP1Light");
62 if(settings.value(
"db/path").toString()==
""){
66 text = settings.value(
"db/path").toString();
72 QGridLayout *mainLayout =
new QGridLayout(
this);
73 mainLayout->addWidget(
new QLabel(tr(
"Select Geometry Database:")), 0, 0);
80 m_browseButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
81 m_buttonBox->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
◆ animateFindClick()
void VP1GeoDBSelection::animateFindClick |
( |
| ) |
|
|
private |
◆ createComboBox()
QComboBox * VP1GeoDBSelection::createComboBox |
( |
const QString & |
text = QString() | ) |
|
|
private |
Definition at line 85 of file VP1GeoDBSelection.cxx.
87 QComboBox *comboBox =
new QComboBox;
88 comboBox->setMinimumWidth(600);
89 comboBox->setEditable(
false);
90 comboBox->addItem(
text);
91 comboBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
◆ loadDatabase
void VP1GeoDBSelection::loadDatabase |
( |
| ) |
|
|
privateslot |
Definition at line 121 of file VP1GeoDBSelection.cxx.
124 QSettings settings(
"ATLAS",
"VP1Light");
130 msgBox.setWindowTitle(
"Virtual Point 1");
131 msgBox.setText(
"Database does not exist. Please choose another database file.");
135 VP1GeoDBSelection::setResult(1);
◆ on_browseButton_clicked
void VP1GeoDBSelection::on_browseButton_clicked |
( |
| ) |
|
|
privateslot |
Definition at line 102 of file VP1GeoDBSelection.cxx.
104 m_fileName = QFileDialog::getOpenFileName(
this,
105 tr(
"Select Database"), QDir::currentPath(),
106 tr(
"DB Files (*.db)"));
◆ m_browseButton
QPushButton* VP1GeoDBSelection::m_browseButton |
|
private |
◆ m_buttonBox
QDialogButtonBox* VP1GeoDBSelection::m_buttonBox |
|
private |
◆ m_cancelButton
QPushButton* VP1GeoDBSelection::m_cancelButton |
|
private |
◆ m_directoryComboBox
QComboBox* VP1GeoDBSelection::m_directoryComboBox |
|
private |
◆ m_fileName
QString VP1GeoDBSelection::m_fileName |
|
private |
◆ m_openButton
QPushButton* VP1GeoDBSelection::m_openButton |
|
private |
The documentation for this class was generated from the following files: