equal
deleted
inserted
replaced
18 ///the so called tabs (\ref NoteBookTab). Each \ref NoteBookTab contains a canvas on which graphs can be drawn. |
18 ///the so called tabs (\ref NoteBookTab). Each \ref NoteBookTab contains a canvas on which graphs can be drawn. |
19 ///To manage creation and close of tabs and tabswitching is the task of MainWin. |
19 ///To manage creation and close of tabs and tabswitching is the task of MainWin. |
20 class MainWin : public Gtk::Window |
20 class MainWin : public Gtk::Window |
21 { |
21 { |
22 ///Container in which the menus and the notebook is. |
22 ///Container in which the menus and the notebook is. |
23 Gtk::VBox vbox; |
23 //Gtk::VBox vbox; |
|
24 Gtk::Table table; |
|
25 Gtk::Table table2; |
|
26 |
|
27 ///Container in which the toolbar and the node parametrizer is. |
|
28 Gtk::HBox hbox; |
|
29 |
|
30 ///Should nodes be autoscaled or not? |
|
31 Gtk::CheckButton * auto_scale; |
|
32 |
|
33 ///Minimum and maximum node radius entry |
|
34 Gtk::SpinButton * radius_min, * radius_max, * radius_unit; |
24 |
35 |
25 ///The notebook that has tabs (\ref NoteBookTab) with different graphs. |
36 ///The notebook that has tabs (\ref NoteBookTab) with different graphs. |
26 Gtk::Notebook notebook; |
37 Gtk::Notebook notebook; |
27 |
38 |
28 ///The tool selected to manipulate graph. |
39 ///The tool selected to manipulate graph. |
219 ///Tabswitching handler |
230 ///Tabswitching handler |
220 |
231 |
221 ///Sets the variables that have to store the actual state, and it |
232 ///Sets the variables that have to store the actual state, and it |
222 ///updates the title of window to the actually selected \ref NoteBookTab. |
233 ///updates the title of window to the actually selected \ref NoteBookTab. |
223 virtual void onChangeTab(GtkNotebookPage*, guint); |
234 virtual void onChangeTab(GtkNotebookPage*, guint); |
|
235 |
|
236 virtual void nodeViewChanged(); |
224 }; |
237 }; |
225 |
238 |
226 #endif //MAIN_WIN_H |
239 #endif //MAIN_WIN_H |