diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-29 18:27:32 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-29 18:27:32 -0200 |
commit | 6b9054f1bb28b4ac1b0a7b682204baa0e2643220 (patch) | |
tree | 395cf7dfc8789fbf1cb6df91d8d3aa0b2dd68608 /Project/TextForm.h | |
parent | 22f71caae9771b8279dcfdbd3842b45c4520b782 (diff) | |
download | PSP.git-6b9054f1bb28b4ac1b0a7b682204baa0e2643220.tar.gz PSP.git-6b9054f1bb28b4ac1b0a7b682204baa0e2643220.tar.xz PSP.git-6b9054f1bb28b4ac1b0a7b682204baa0e2643220.zip |
Text form under implementation
Diffstat (limited to 'Project/TextForm.h')
-rw-r--r-- | Project/TextForm.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Project/TextForm.h b/Project/TextForm.h new file mode 100644 index 0000000..b33d02b --- /dev/null +++ b/Project/TextForm.h @@ -0,0 +1,32 @@ +#ifndef TEXTFORM_H +#define TEXTFORM_H +#include "ElementForm.h" + +#include "Text.h" +#include "ElectricCalculation.h" + +class TextForm : public TextFormBase +{ + public: + TextForm(wxWindow* parent, Text* text, std::vector<Element*> elementList); + virtual ~TextForm(); + virtual void ElementTypeChoice(); + virtual void ElementNumberChoice(); + virtual void DataTypeChoice(); + virtual void FromChoice(); + virtual void ToChoice(); + virtual void UnitChoice(); + + protected: + virtual void OnElementChoiceSelected(wxCommandEvent& event); + virtual void OnFromBusChoiceSelected(wxCommandEvent& event); + virtual void OnNameChoiceSelected(wxCommandEvent& event); + virtual void OnTextEnter(wxCommandEvent& event); + virtual void OnToBusChoiceSelected(wxCommandEvent& event); + virtual void OnTypeChoiceSelected(wxCommandEvent& event); + + Text* m_text; + wxWindow* m_parent; + ElectricCalculation m_allElements; +}; +#endif // TEXTFORM_H |