-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddCourseDialog.h
More file actions
59 lines (49 loc) · 1.79 KB
/
AddCourseDialog.h
File metadata and controls
59 lines (49 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Sep 26 2017)
// http://www.wxformbuilder.org/
///////////////////////////////////////////////////////////////////////////
#ifndef __ADDCOURSEDIALOG_H__
#define __ADDCOURSEDIALOG_H__
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/spinctrl.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class AddCourseDialog
///////////////////////////////////////////////////////////////////////////////
class AddCourseDialog : public wxDialog
{
private:
wxPanel* m_name_panel;
wxStaticText* m_name_label;
wxTextCtrl* m_name_input;
wxPanel* m_gp_panel;
wxStaticText* m_gp_label;
wxSpinCtrl* m_gp_input;
wxPanel* m_button_panel;
wxButton* m_ok_button;
wxButton* m_cancel_button;
wxString m_name_text;
double m_gp_value;
protected:
void m_return_input(wxCommandEvent& event);
void m_cancel(wxCommandEvent& event);
public:
AddCourseDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Add Course"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(236, 175), long style = wxDEFAULT_DIALOG_STYLE);
~AddCourseDialog();
void m_set_gp_input(double g) { m_gp_value = g; }
wxString m_get_name_input() { return m_name_text; }
double m_get_gp_input() { return m_gp_value; }
};
#endif // __ADDCOURSEDIALOG_H__