X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fedit%2FPreferencesDialog.cpp;fp=src%2Fedit%2FPreferencesDialog.cpp;h=4e7d3a002d6788ecf5b05490efdf289d0152ad07;hb=abfcef957ac4399d169c9e18404304acc377c1c3;hp=0000000000000000000000000000000000000000;hpb=51482069fdcb6419521f9f5cfcff5980a185428b;p=vlp.git diff --git a/src/edit/PreferencesDialog.cpp b/src/edit/PreferencesDialog.cpp new file mode 100644 index 0000000..4e7d3a0 --- /dev/null +++ b/src/edit/PreferencesDialog.cpp @@ -0,0 +1,44 @@ +#include "PreferencesDialog.h" + +PreferencesDialog::PreferencesDialog(QWidget * parent) + : QDialog(parent) +{ + setupUi(this); + + connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); + connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); +} + +PreferencesDialog::~PreferencesDialog() +{ +} + +QString PreferencesDialog::getCompilerPath() +{ + return compilerPath->text(); +} + +void PreferencesDialog::setCompilerPath(QString path) +{ + return compilerPath->setText(path); +} + +QString PreferencesDialog::getFilesPath() +{ + return filesPath->text(); +} + +void PreferencesDialog::setFilesPath(QString path) +{ + return filesPath->setText(path); +} + +QString PreferencesDialog::getGenPath() +{ + return genPath->text(); +} + +void PreferencesDialog::setGenPath(QString path) +{ + return genPath->setText(path); +}