cMainWindow QMainWindow cmainwindow.h Ui::cMainWindow * Ui::cMainWindow* cMainWindow::ui ui the main window GUI init loadPlugins onIngredientsListCustomContextMenu ~cMainWindow QList< cPlugin * > QList<cPlugin*> cMainWindow::m_pluginList m_pluginList List of loaded plugins loadPlugins onIngredientsListImport plugin pluginList QStandardItemModel * QStandardItemModel* cMainWindow::m_lpIngredientsListModel m_lpIngredientsListModel standard item model for ingredients list init QAction * QAction* cMainWindow::m_lpIngredientsListNew m_lpIngredientsListNew "New Ingredient" Action for ingredients context menu init onIngredientsListCustomContextMenu ~cMainWindow QAction * QAction* cMainWindow::m_lpIngredientsListImport m_lpIngredientsListImport "Import Ingredient" Action for ingredients context menu init QAction * QAction* cMainWindow::m_lpIngredientsListDelete m_lpIngredientsListDelete "Delee Ingredient" Action for ingredients context menu init onIngredientsListCustomContextMenu ~cMainWindow QAction * QAction* cMainWindow::m_lpIngredientsListEdit m_lpIngredientsListEdit "Edit Ingredient" Action for ingredients context menu init onIngredientsListCustomContextMenu ~cMainWindow QMenu * QMenu* cMainWindow::m_lpIngredientsListMenu m_lpIngredientsListMenu Context menu for ingredients list init onIngredientsListCustomContextMenu cMainWindow::cMainWindow (QWidget *parent=0) cMainWindow QWidget * parent 0 Constructor. parent init cMainWindow::~cMainWindow () ~cMainWindow Destructor. m_lpIngredientsListDelete m_lpIngredientsListEdit m_lpIngredientsListNew ui QList< cPlugin * > QList< cPlugin * > cMainWindow::pluginList () pluginList Returns the list of loaded plugins. QList<cPlugin *> List of loaded plugins. m_pluginList cOptions::cOptions void void cMainWindow::pluginImportTriggered () pluginImportTriggered Testing of import trigger raised by import plugins. loadPlugins void void cMainWindow::pluginExportTriggered () pluginExportTriggered Testing of export trigger raised by export plugins. loadPlugins void void cMainWindow::pluginDBTriggered () pluginDBTriggered Testing of database trigger raised by database connector plugins. cInterface::config cPlugin::dbInterface cDBInterface::init plugin cInterface::pluginName cPlugin::pluginName loadPlugins void void cMainWindow::on_m_lpMenu_File_Exit_triggered () on_m_lpMenu_File_Exit_triggered Menu entry "File -> Exit" triggered. void void cMainWindow::on_m_lpMenu_Tools_Options_triggered () on_m_lpMenu_Tools_Options_triggered Menu entry "Tools -> Options" triggered. void void cMainWindow::onIngredientsListCustomContextMenu (const QPoint &point) onIngredientsListCustomContextMenu const QPoint & point Custom contest menu of ingredients list has been requested. point Current position of mouse cursor. m_lpIngredientsListDelete m_lpIngredientsListEdit m_lpIngredientsListMenu m_lpIngredientsListNew ui init void void cMainWindow::onIngredientsListNew () onIngredientsListNew New ingredient has been requested. init void void cMainWindow::onIngredientsListImport () onIngredientsListImport Import of ingredient has been requested. m_pluginList cImportIngredientDialog::setPluginList init void void cMainWindow::onIngredientsListDelete () onIngredientsListDelete Delete of ingredient has been requested. init void void cMainWindow::onIngredientsListEdit () onIngredientsListEdit Edit of ingredient has been requested. init void void cMainWindow::init () init Initialized main windows. initDefaultSettings loadPlugins m_lpIngredientsListDelete m_lpIngredientsListEdit m_lpIngredientsListImport m_lpIngredientsListMenu m_lpIngredientsListModel m_lpIngredientsListNew onIngredientsListCustomContextMenu onIngredientsListDelete onIngredientsListEdit onIngredientsListImport onIngredientsListNew ui cMainWindow void void cMainWindow::initDefaultSettings () initDefaultSettings Initializes default settings for Kooky. init void void cMainWindow::loadPlugins (const QString &szPluginDir) loadPlugins const QString & szPluginDir Loads plugins in the given path. szPluginDir Path to plugins cPlugin::isValid m_pluginList pluginDBTriggered pluginExportTriggered pluginImportTriggered cPlugin::pluginName cPlugin::setAction ui init cPlugin * cPlugin * cMainWindow::plugin (QAction *lpAction) plugin QAction * lpAction Finds a plugin with the given action. lpAction Action of the plugin. cPlugin Plugin corresponding to the action, NULL if not found. m_pluginList pluginDBTriggered This is the class that implements the main window. This class implements the main window and main functionality of Kooky.Herwig Birke 1.0 2016/02/09 cMainWindowcMainWindow cMainWindowinit cMainWindowinitDefaultSettings cMainWindowloadPlugins cMainWindowm_lpIngredientsListDelete cMainWindowm_lpIngredientsListEdit cMainWindowm_lpIngredientsListImport cMainWindowm_lpIngredientsListMenu cMainWindowm_lpIngredientsListModel cMainWindowm_lpIngredientsListNew cMainWindowm_pluginList cMainWindowon_m_lpMenu_File_Exit_triggered cMainWindowon_m_lpMenu_Tools_Options_triggered cMainWindowonIngredientsListCustomContextMenu cMainWindowonIngredientsListDelete cMainWindowonIngredientsListEdit cMainWindowonIngredientsListImport cMainWindowonIngredientsListNew cMainWindowplugin cMainWindowpluginDBTriggered cMainWindowpluginExportTriggered cMainWindowpluginImportTriggered cMainWindowpluginList cMainWindowui cMainWindow~cMainWindow