58
58
sharedptr<LayoutItem_Button> offer_button_script_edit(const sharedptr<const LayoutItem_Button>& button);
61
void on_button_field_up();
62
void on_button_field_down();
62
void on_button_down();
63
63
void on_button_field_delete();
64
virtual void on_button_field_add(); //overridden in derived class.
65
void on_button_field_add_group();
64
virtual void on_button_add_field(); //overridden in derived class.
65
void on_button_add_group();
66
66
void on_button_add_notebook();
67
67
void on_button_add_related();
68
void on_button_add_related_calendar();
68
69
void on_button_add_button();
69
70
void on_button_add_text();
70
71
void on_button_add_image();
75
76
void on_cell_data_name(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
76
77
void on_cell_data_title(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
77
void on_cell_data_columns_count(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
78
void on_cell_data_group_columns(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
79
void on_cell_data_column_width(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
79
81
void on_treeview_cell_edited_name(const Glib::ustring& path_string, const Glib::ustring& new_text);
80
82
void on_treeview_cell_edited_title(const Glib::ustring& path_string, const Glib::ustring& new_text);
81
void on_treeview_cell_edited_columns_count(const Glib::ustring& path_string, const Glib::ustring& new_text);
83
void on_treeview_cell_edited_group_columns(const Glib::ustring& path_string, const Glib::ustring& new_text);
84
void on_treeview_cell_edited_column_width(const Glib::ustring& path_string, const Glib::ustring& new_text);
83
86
Gtk::TreeModel::iterator append_appropriate_row();
85
88
Gtk::TreeView* m_treeview_fields;
86
89
Gtk::TreeView::Column* m_treeview_column_title;
90
Gtk::TreeView::Column* m_treeview_column_group_columns;
91
Gtk::TreeView::Column* m_treeview_column_column_width;
88
93
// Only one of these boxes should be shown:
89
94
Gtk::Box* m_box_table_widgets;
90
95
Gtk::Box* m_box_related_table_widgets;
91
96
Gtk::Frame* m_box_related_navigation;
93
Gtk::Button* m_button_field_up;
94
Gtk::Button* m_button_field_down;
95
Gtk::Button* m_button_field_add;
96
Gtk::Button* m_button_field_add_group;
98
Gtk::Button* m_button_up;
99
Gtk::Button* m_button_down;
100
Gtk::Button* m_button_add_field;
101
Gtk::Button* m_button_add_group;
97
102
Gtk::Button* m_button_add_notebook;
98
103
Gtk::Button* m_button_add_related;
104
Gtk::Button* m_button_add_related_calendar;
99
105
Gtk::Button* m_button_add_button;
100
106
Gtk::Button* m_button_add_text;
101
107
Gtk::Button* m_button_add_image;