egami
C++ Image Processing program
/homes/esi30/DCS339/coursework/src/main_window.hpp
Go to the documentation of this file.
00001 
00006 #ifndef MAIN_WINDOW_HPP_INCLUDED
00007 #define MAIN_WINDOW_HPP_INCLUDED
00008 
00009 #include <glibmm/refptr.h>
00010 #include <gtkmm/actiongroup.h>
00011 #include <gtkmm/table.h>
00012 #include <gtkmm/uimanager.h>
00013 #include <gtkmm/widget.h>
00014 #include <gtkmm/window.h>
00015 
00016 #include "catalogue.hpp"
00017 
00018 class Processing_unit;
00019 
00028 class Main_window: public Gtk::Window {
00029     public:
00030         Main_window();
00031 
00032     private:
00033         Gtk::Table parent_table; 
00034         Processing_catalogue processing_catalogue;
00035         Display_catalogue display_catalogue;
00036 
00037         Glib::RefPtr<Gtk::ActionGroup> menu_action_group; 
00038         Glib::RefPtr<Gtk::UIManager> menu_ui_manager; 
00039         Gtk::Widget *menu;
00040 
00044         void init_menu();
00045 
00051         void on_open();
00052 
00056         void on_save();
00057 
00061         void on_save_as();
00062 
00068         void on_quit();
00069 
00070         void on_undo();
00071         void on_redo();
00072         void on_about();
00073         void on_roi();
00074 
00075         friend class Processing_unit;
00076 };
00077 
00078 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends