forked from CanadianBac0nz/2404a4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StuAppFormUI.h
37 lines (29 loc) · 958 Bytes
/
StuAppFormUI.h
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
//////////////////////////////////////////////////////////////////////////
// STUDENT APPLICATION FORM WINDOW
// Prompts user to input their general information
#ifndef STUAPPFORMUI_H
#define STUAPPFORMUI_H
#include "Types.h"
#include <gtkmm.h>
class StuAppFormUI : public Gtk::Dialog {
public:
StuAppFormUI(Manager*, bool);
~StuAppFormUI();
Manager* manager;
private:
int isEmpty();
int validEntries();
void errorDialog();
void on_nextButton(const Glib::ustring& data);
void on_backButton(const Glib::ustring& data);
Gtk::Table appTable;
Gtk::Label label;
Gtk::Label* aLabel;
Gtk::ScrolledWindow scrolledWindow;
Gtk::ComboBoxText emailCombo, majorCombo, courseCombo;
Gtk::Entry stuNumEntry, nameEntry, surnameEntry, majorEntry,
emailEntry, yearEntry,cgpaEntry, mgpaEntry;
Gtk::Button nextButton, backButton;
bool repeat;
};
#endif