cMainWindow class Reference#include <cmainwindow.h>Inheritance diagram for cMainWindowInheritance graphCollaboration diagram for cMainWindowCollaboration graphPrivate AttributesUi::cMainWindow * uiQList< cPlugin * > m_pluginListQStandardItemModel * m_lpIngredientsListModelQAction * m_lpIngredientsListNewQAction * m_lpIngredientsListImportQAction * m_lpIngredientsListDeleteQAction * m_lpIngredientsListEditQMenu * 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 DescriptionThis class implements the main window and main functionality of Kooky.Author: Herwig BirkeVersion: 1.0Date: 2016/02/09 Definition at line 43 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hMember Data DocumentationUi::cMainWindow* cMainWindow::uithe main window GUI Definition at line 120 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQList<cPlugin*> cMainWindow::m_pluginListList of loaded plugins Definition at line 121 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQStandardItemModel* cMainWindow::m_lpIngredientsListModelstandard item model for ingredients list Definition at line 122 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQAction* cMainWindow::m_lpIngredientsListNew"New Ingredient" Action for ingredients context menu Definition at line 123 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQAction* cMainWindow::m_lpIngredientsListImport"Import Ingredient" Action for ingredients context menu Definition at line 124 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQAction* cMainWindow::m_lpIngredientsListDelete"Delee Ingredient" Action for ingredients context menu Definition at line 125 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQAction* cMainWindow::m_lpIngredientsListEdit"Edit Ingredient" Action for ingredients context menu Definition at line 126 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hQMenu* cMainWindow::m_lpIngredientsListMenuContext menu for ingredients list Definition at line 127 of file cmainwindow.hThe Documentation for this struct was generated from the following file: cmainwindow.hcMainWindow::cMainWindow (QWidget *parent=0)
Parameters parent
QList< cPlugin * > cMainWindow::pluginList ()Returns: QList<cPlugin *> List of loaded plugins. void cMainWindow::loadPlugins (const QString &szPluginDir)
Parameters szPluginDirPath to plugins
cPlugin * cMainWindow::plugin (QAction *lpAction)
Parameters lpActionAction of the plugin.
Returns: cPlugin Plugin corresponding to the action, NULL if not found.