egami
C++ Image Processing program
|
The program's main window. More...
#include <main_window.hpp>
Public Member Functions | |
Main_window () | |
Private Member Functions | |
void | init_menu () |
Menu setup function. | |
void | on_open () |
Function called when the "open" item is clicked in the menu. | |
void | on_save () |
Function called when the "save" item is clicked in the menu. | |
void | on_save_as () |
Function called when the "save as" item is clicked in the menu. | |
void | on_quit () |
Function called when the "quit" item is clicked in the menu. | |
void | on_undo () |
void | on_redo () |
void | on_about () |
void | on_roi () |
Private Attributes | |
Gtk::Table | parent_table |
Processing_catalogue | processing_catalogue |
Display_catalogue | display_catalogue |
Glib::RefPtr< Gtk::ActionGroup > | menu_action_group |
Glib::RefPtr< Gtk::UIManager > | menu_ui_manager |
Gtk::Widget * | menu |
Friends | |
class | Processing_unit |
The program's main window.
The window is divided in 3 zones:
Definition at line 28 of file main_window.hpp.
Main_window::Main_window | ( | ) |
void Main_window::init_menu | ( | ) | [private] |
Menu setup function.
Definition at line 33 of file main_window.cpp.
void Main_window::on_about | ( | ) | [private] |
void Main_window::on_open | ( | ) | [private] |
Function called when the "open" item is clicked in the menu.
Pop up a Gtk::FileChooserDialog and open the selected files
Definition at line 89 of file main_window.cpp.
void Main_window::on_quit | ( | ) | [private] |
Function called when the "quit" item is clicked in the menu.
Quits the program.
Definition at line 159 of file main_window.cpp.
void Main_window::on_redo | ( | ) | [private] |
Definition at line 167 of file main_window.cpp.
void Main_window::on_roi | ( | ) | [private] |
void Main_window::on_save | ( | ) | [private] |
Function called when the "save" item is clicked in the menu.
Definition at line 126 of file main_window.cpp.
void Main_window::on_save_as | ( | ) | [private] |
Function called when the "save as" item is clicked in the menu.
Definition at line 136 of file main_window.cpp.
void Main_window::on_undo | ( | ) | [private] |
Definition at line 163 of file main_window.cpp.
friend class Processing_unit [friend] |
Definition at line 75 of file main_window.hpp.
Definition at line 35 of file main_window.hpp.
Gtk::Widget* Main_window::menu [private] |
Definition at line 39 of file main_window.hpp.
Glib::RefPtr<Gtk::ActionGroup> Main_window::menu_action_group [private] |
The actions of the menu
Definition at line 37 of file main_window.hpp.
Glib::RefPtr<Gtk::UIManager> Main_window::menu_ui_manager [private] |
The manager of the menu
Definition at line 38 of file main_window.hpp.
Gtk::Table Main_window::parent_table [private] |
The table to arrange the menu and the display and processing list zones.
Definition at line 33 of file main_window.hpp.
Definition at line 34 of file main_window.hpp.