cMainWindow class Reference #include <cmainwindow.h> Inheritance diagram for cMainWindow
Inheritance graph
Collaboration diagram for cMainWindow
Collaboration graph
Private Attributes Ui::cMainWindow * ui QList< cPlugin * > m_pluginList QStandardItemModel * m_lpIngredientsListModel QAction * m_lpIngredientsListNew QAction * m_lpIngredientsListImport QAction * m_lpIngredientsListDelete QAction * m_lpIngredientsListEdit QMenu * m_lpIngredientsListMenu
cMainWindow ( QWidget * parent)Constructor. ~cMainWindow ( )Destructor. QList< cPlugin * > pluginList ( )Returns the list of loaded plugins.
void init ( )Initialized main windows. void initDefaultSettings ( )Initializes default settings for Kooky. void loadPlugins ( const QString & szPluginDir)Loads plugins in the given path. cPlugin * plugin ( QAction * lpAction)Finds a plugin with the given action.
Detailed Description This class implements the main window and main functionality of Kooky. Author: Herwig Birke Version: 1.0 Date: 2016/02/09 Definition at line 43 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h
Member Data Documentation Ui::cMainWindow* cMainWindow::ui the main window GUI Definition at line 120 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QList<cPlugin*> cMainWindow::m_pluginList List of loaded plugins Definition at line 121 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QStandardItemModel* cMainWindow::m_lpIngredientsListModel standard item model for ingredients list Definition at line 122 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QAction* cMainWindow::m_lpIngredientsListNew "New Ingredient" Action for ingredients context menu Definition at line 123 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QAction* cMainWindow::m_lpIngredientsListImport "Import Ingredient" Action for ingredients context menu Definition at line 124 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QAction* cMainWindow::m_lpIngredientsListDelete "Delee Ingredient" Action for ingredients context menu Definition at line 125 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QAction* cMainWindow::m_lpIngredientsListEdit "Edit Ingredient" Action for ingredients context menu Definition at line 126 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h QMenu* cMainWindow::m_lpIngredientsListMenu Context menu for ingredients list Definition at line 127 of file cmainwindow.h The Documentation for this struct was generated from the following file: cmainwindow.h
cMainWindow::cMainWindow (QWidget *parent=0) <table frame="all"> <title>Parameters parent
QList< cPlugin * > cMainWindow::pluginList () Returns: QList<cPlugin *> List of loaded plugins.
void cMainWindow::loadPlugins (const QString &szPluginDir) <table frame="all"> <title>Parameters szPluginDir Path to plugins
cPlugin * cMainWindow::plugin (QAction *lpAction) <table frame="all"> <title>Parameters lpAction Action of the plugin. Returns: cPlugin Plugin corresponding to the action, NULL if not found.