105 if (!
m_uiForm.effFileBox->text().isEmpty()) {
106 QString dir = QFileInfo(
m_uiForm.effFileBox->text()).absoluteDir().path();
110 QString filepath = this->
openFileDialog(
"EfficiencyCorrectionFile");
111 if (!filepath.isEmpty())
112 m_uiForm.effFileBox->setText(filepath);
#define DECLARE_DIALOG(classname)
QString openFileDialog(const QString &propName)
Open a file dialog to select a file.
void storePropertyValue(const QString &name, const QString &value)
Adds a property (name,value) pair to the stored map.
void fillLineEdit(const QString &propName, QLineEdit *field)
Fill in the necessary input for a text field.
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...