-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProjectCtlTables.hpp
68 lines (48 loc) · 1.32 KB
/
ProjectCtlTables.hpp
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
60
61
62
63
64
65
66
67
68
#ifndef WAYROUND_I2P_20241210_171354_667734
#define WAYROUND_I2P_20241210_171354_667734
#include <gtkmm.h>
#include "forward_declarations.hpp"
#include "types.hpp"
namespace wayround_i2p::ccedit
{
class WorkSubjectTableRowWidget : public Gtk::Box
{
public:
WorkSubjectTableRowWidget();
~WorkSubjectTableRowWidget();
void bind(const Glib::RefPtr<Gtk::ListItem> &list_item);
void unbind(const Glib::RefPtr<Gtk::ListItem> &list_item);
private:
WorkSubject_shared bond_ws;
Gtk::Box button_box;
Gtk::Button btn_close;
Gtk::Button btn_open_editor;
Gtk::Label edited_indicator;
Gtk::Label path;
void update_labels();
void on_btn_close();
void on_btn_open_editor();
void on_ws_changed();
};
class CodeEditorTableRowWidget : public Gtk::Box
{
public:
CodeEditorTableRowWidget();
~CodeEditorTableRowWidget();
void bind(const Glib::RefPtr<Gtk::ListItem> &list_item);
void unbind(const Glib::RefPtr<Gtk::ListItem> &list_item);
private:
CodeEditorAbstract_shared bond_ed;
Gtk::Grid btn_grid;
Gtk::Button btn_close;
Gtk::Button btn_show;
Gtk::Button btn_up;
Gtk::Button btn_down;
Gtk::Label path;
void on_btn_show();
void on_btn_close();
void on_btn_up();
void on_btn_down();
};
} // namespace wayround_i2p::ccedit
#endif