diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-07 21:03:25 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | 39d953c838d459085b4044c9ca5bda0248e47f6b (patch) | |
| tree | de1f9dc6eca590403d42d00dcfe65eb831891bec /src/editexecutablesdialog.h | |
| parent | 5556e2b152decad3392c30c9760a5584454b52e6 (diff) | |
load plugin executables after settings, allows for changing the order
added warning that an executable is provided by a plugin, disable widgets that can't be changed
refactoring EditExecutablesDialog
Diffstat (limited to 'src/editexecutablesdialog.h')
| -rw-r--r-- | src/editexecutablesdialog.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 7f389b24..bb1538ef 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -87,7 +87,7 @@ private slots: void on_overwriteAppIDBox_toggled(bool checked);
- void on_browseDirButton_clicked();
+ void on_browseWorkingDirButton_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
@@ -113,7 +113,7 @@ private: void updateButtonStates();
private:
- Ui::EditExecutablesDialog *ui;
+ std::unique_ptr<Ui::EditExecutablesDialog> ui;
QListWidgetItem *m_CurrentItem;
@@ -124,6 +124,11 @@ private: QList<MOBase::ExecutableForcedLoadSetting> m_ForcedLibraries;
const MOBase::IPluginGame *m_GamePlugin;
+
+
+ void updateUI(const Executable* e);
+ void clearEdits();
+ void setEdits(const Executable& e);
};
#endif // EDITEXECUTABLESDIALOG_H
|
