From d7550fe1c173f1be296f1ce7991ad6d70ed90ceb Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 8 Aug 2017 19:40:23 -0300 Subject: Settings form implementation start --- Project/SimulationsSettingsForm.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Project/SimulationsSettingsForm.h (limited to 'Project/SimulationsSettingsForm.h') diff --git a/Project/SimulationsSettingsForm.h b/Project/SimulationsSettingsForm.h new file mode 100644 index 0000000..5cbe1f2 --- /dev/null +++ b/Project/SimulationsSettingsForm.h @@ -0,0 +1,15 @@ +#ifndef SIMULATIONSSETTINGSFORM_H +#define SIMULATIONSSETTINGSFORM_H +#include "PropertiesForm.h" + +class SimulationsSettingsForm : public SimulationsSettingsFormBase +{ +public: + SimulationsSettingsForm(wxWindow* parent); + virtual ~SimulationsSettingsForm(); +protected: + virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } + virtual void OnButtonOKClick(wxCommandEvent& event); + virtual bool ValidateData(); +}; +#endif // SIMULATIONSSETTINGSFORM_H -- cgit From 8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 9 Aug 2017 21:01:41 -0300 Subject: Stability properties implemented --- Project/SimulationsSettingsForm.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Project/SimulationsSettingsForm.h') diff --git a/Project/SimulationsSettingsForm.h b/Project/SimulationsSettingsForm.h index 5cbe1f2..d6b0a08 100644 --- a/Project/SimulationsSettingsForm.h +++ b/Project/SimulationsSettingsForm.h @@ -1,15 +1,21 @@ #ifndef SIMULATIONSSETTINGSFORM_H #define SIMULATIONSSETTINGSFORM_H + #include "PropertiesForm.h" +class PropertiesData; + class SimulationsSettingsForm : public SimulationsSettingsFormBase { public: - SimulationsSettingsForm(wxWindow* parent); + SimulationsSettingsForm(wxWindow* parent, PropertiesData* properties); virtual ~SimulationsSettingsForm(); protected: + virtual void OnPFMethodChoiceSelected(wxCommandEvent& event); virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } virtual void OnButtonOKClick(wxCommandEvent& event); virtual bool ValidateData(); + + PropertiesData* m_properties; }; #endif // SIMULATIONSSETTINGSFORM_H -- cgit