-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHomeWindow.h
More file actions
42 lines (34 loc) · 883 Bytes
/
HomeWindow.h
File metadata and controls
42 lines (34 loc) · 883 Bytes
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
//
// Created by andre on 11/16/2024.
//
#ifndef HOMEWINDOW_H
#define HOMEWINDOW_H
#include <iostream>
#include "FileIO.h"
#include <gtkmm-4.0/gtkmm.h>
class HomeWindow : public Gtk::Window {
Gtk::Grid main_grid_;
Gtk::Button sort_button_;
Gtk::ComboBoxText filters_;
Gtk::Text state_filter_field_;
Glib::RefPtr<Gtk::EntryBuffer> state_entry_;
Gtk::ComboBoxText sort_options_;
Gtk::CheckButton* max_;
Gtk::CheckButton* min_;
std::vector<School*> schools_;
protected:
void setHomeImage();
void setSearchIcon(Gtk::Grid& g);
void setSortSignal();
void sortFunction();
void setGridProperties();
void setSortButtonProperties();
void setCheckButtonProperties();
void setFiltersDropdown();
void setStateInput();
void setSortOptions();
void setData();
public:
HomeWindow();
};
#endif //HOMEWINDOW_H