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/GeneralPropertiesForm.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Project/GeneralPropertiesForm.h (limited to 'Project/GeneralPropertiesForm.h') diff --git a/Project/GeneralPropertiesForm.h b/Project/GeneralPropertiesForm.h new file mode 100644 index 0000000..585eb4d --- /dev/null +++ b/Project/GeneralPropertiesForm.h @@ -0,0 +1,15 @@ +#ifndef GENERALPROPERTIESFORM_H +#define GENERALPROPERTIESFORM_H +#include "PropertiesForm.h" + +class GeneralPropertiesForm : public GeneralPropertiesFormBase +{ +public: + GeneralPropertiesForm(wxWindow* parent); + virtual ~GeneralPropertiesForm(); +protected: + virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } + virtual void OnButtonOKClick(wxCommandEvent& event); + virtual bool ValidateData(); +}; +#endif // GENERALPROPERTIESFORM_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/GeneralPropertiesForm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Project/GeneralPropertiesForm.h') diff --git a/Project/GeneralPropertiesForm.h b/Project/GeneralPropertiesForm.h index 585eb4d..40ef65d 100644 --- a/Project/GeneralPropertiesForm.h +++ b/Project/GeneralPropertiesForm.h @@ -1,15 +1,20 @@ #ifndef GENERALPROPERTIESFORM_H #define GENERALPROPERTIESFORM_H + #include "PropertiesForm.h" +class PropertiesData; class GeneralPropertiesForm : public GeneralPropertiesFormBase { public: - GeneralPropertiesForm(wxWindow* parent); + GeneralPropertiesForm(wxWindow* parent, PropertiesData* properties); virtual ~GeneralPropertiesForm(); + protected: virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } virtual void OnButtonOKClick(wxCommandEvent& event); virtual bool ValidateData(); + + PropertiesData* m_properties = NULL; }; #endif // GENERALPROPERTIESFORM_H -- cgit From 1fcb990bd02da945ac0204caaed6a9aa1f6a7d5f Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 11 Aug 2017 18:49:13 -0300 Subject: General settings implemented A lot of pt-br translation Some forms sizes fixes init file fully implemented --- Project/GeneralPropertiesForm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Project/GeneralPropertiesForm.h') diff --git a/Project/GeneralPropertiesForm.h b/Project/GeneralPropertiesForm.h index 40ef65d..77bf4d2 100644 --- a/Project/GeneralPropertiesForm.h +++ b/Project/GeneralPropertiesForm.h @@ -2,6 +2,10 @@ #define GENERALPROPERTIESFORM_H #include "PropertiesForm.h" + +#include +#include + class PropertiesData; class GeneralPropertiesForm : public GeneralPropertiesFormBase -- cgit