egami
C++ Image Processing program
Public Member Functions | Private Member Functions | Private Attributes | Friends
Main_window Class Reference

The program's main window. More...

#include <main_window.hpp>

Collaboration diagram for Main_window:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

The program's main window.

The window is divided in 3 zones:

Definition at line 28 of file main_window.hpp.


Constructor & Destructor Documentation

Main_window::Main_window ( )

Definition at line 20 of file main_window.cpp.

Here is the call graph for this function:


Member Function Documentation

void Main_window::init_menu ( ) [private]

Menu setup function.

Definition at line 33 of file main_window.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Main_window::on_about ( ) [private]

Definition at line 171 of file main_window.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

void Main_window::on_redo ( ) [private]

Definition at line 167 of file main_window.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Main_window::on_roi ( ) [private]

Definition at line 180 of file main_window.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void Main_window::on_undo ( ) [private]

Definition at line 163 of file main_window.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Processing_unit [friend]

Definition at line 75 of file main_window.hpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends