#include <MainWindow.h>
Public Member Functions | |
MainWindow (Gtk::Window *, Glib::RefPtr< Gnome::Glade::Xml >) | |
Constructor. | |
~MainWindow () | |
Destructor. | |
Protected Member Functions | |
void | buildReposTree (void) |
Build the tree. | |
void | onMenuOptsClicked (void) |
Callback for click event. | |
Protected Attributes | |
RepoModelCols | m_cols |
Model for tree view. | |
Glib::RefPtr < Gtk::ListStore > | m_refTreeModel |
Reference to ListStore. | |
Private Attributes | |
Gtk::Window * | m_mainWin |
Main Window pointer. | |
Glib::RefPtr < Gnome::Glade::Xml > | m_XMLRef |
Reference to glade pointer. | |
CVSConfig * | m_cvsntConfig |
Class containing the configuration. | |
OptionsDlg * | m_optsDlg |
Options dialog handling class. |
This class is used to handle the main window. At window it connects all necessary signals with the appropriate methods or functions. These methods/functions handle the user actions
MainWindow::MainWindow | ( | Gtk::Window * | newMain, | |
Glib::RefPtr< Gnome::Glade::Xml > | gladeRef | |||
) |
Constructor.
The constructor initializes the class
[in] | newMain | Reference to main window object |
[in] | gladeRef | Reference to glade object |
MainWindow::~MainWindow | ( | ) |
Destructor.
Cleans up all used memory
void MainWindow::buildReposTree | ( | void | ) | [protected] |
Build the tree.
This method is used to build the repositories tree
void MainWindow::onMenuOptsClicked | ( | void | ) | [protected] |
Callback for click event.
This is the callback method for the click event if the user clicked on the "Options" menu
Gtk::Window* MainWindow::m_mainWin [private] |
Main Window pointer.
Glib::RefPtr<Gnome::Glade::Xml> MainWindow::m_XMLRef [private] |
Reference to glade pointer.
CVSConfig* MainWindow::m_cvsntConfig [private] |
Class containing the configuration.
OptionsDlg* MainWindow::m_optsDlg [private] |
Options dialog handling class.
RepoModelCols MainWindow::m_cols [protected] |
Model for tree view.
Glib::RefPtr<Gtk::ListStore> MainWindow::m_refTreeModel [protected] |
Reference to ListStore.