A dialog window for managing general Data Explorer settings.
Definition at line 23 of file DataExplorerSettingsDialog.h.
#include <DataExplorerSettingsDialog.h>
◆ DataExplorerSettingsDialog()
DataExplorerSettingsDialog::DataExplorerSettingsDialog |
( |
QDialog * |
parent = nullptr | ) |
|
|
explicit |
◆ ~DataExplorerSettingsDialog()
DataExplorerSettingsDialog::~DataExplorerSettingsDialog |
( |
| ) |
|
|
overridedefault |
◆ accept
void DataExplorerSettingsDialog::accept |
( |
| ) |
|
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 46 of file DataExplorerSettingsDialog.cpp.
49 settings.setValue(
"DataExplorerGmshPath", this->gmshPathEdit->text());
50 this->done(QDialog::Accepted);
◆ on_gmshPathButton_clicked
void DataExplorerSettingsDialog::on_gmshPathButton_clicked |
( |
| ) |
|
|
privateslot |
Definition at line 34 of file DataExplorerSettingsDialog.cpp.
37 QString file_name = QFileDialog::getOpenFileName(
38 this,
"Select path for GMSH...",
39 settings.value(
"DataExplorerGmshPath").toString(),
"*gmsh*");
40 if (!file_name.isEmpty())
42 this->gmshPathEdit->setText(file_name);
◆ reject
void DataExplorerSettingsDialog::reject |
( |
| ) |
|
|
inlineoverrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 38 of file DataExplorerSettingsDialog.h.
38 { this->done(QDialog::Rejected); };
The documentation for this class was generated from the following files: