Kooky
cImportIngredientDialog Class Reference

This dialog imports ingredients based on the selected import plugin. More...

#include <cimportingredientdialog.h>

+ Inheritance diagram for cImportIngredientDialog:
+ Collaboration diagram for cImportIngredientDialog:

Public Member Functions

 cImportIngredientDialog (QWidget *parent=0)
 
 ~cImportIngredientDialog ()
 
void setPluginList (const QList< cPlugin * > pluginList)
 

Protected Member Functions

QStandardItem * addGroup (const QString &group)
 
void init ()
 
void initIngredientList ()
 
void initIngredientDetails ()
 

Protected Attributes

QList< cPlugin * > m_pluginList
 

Private Slots

void on_m_lpSearchButton_clicked ()
 
void on_m_lpSearchString_textChanged (const QString &arg1)
 
void onIngredientListSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 

Private Attributes

Ui::cImportIngredientDialog * ui
 
QStandardItemModel * m_lpIngredientListModel
 
QStandardItemModel * m_lpIngredientDetailsModel
 

Detailed Description

This dialog imports ingredients based on the selected import plugin.

Note
Author
Herwig Birke
Version
1.0
Date
2016/02/09

Constructor & Destructor Documentation

cImportIngredientDialog::cImportIngredientDialog ( QWidget *  parent = 0)
explicit
Parameters
parent

References init().

+ Here is the call graph for this function:

cImportIngredientDialog::~cImportIngredientDialog ( )

References ui.

Member Function Documentation

QStandardItem * cImportIngredientDialog::addGroup ( const QString &  group)
protected
Parameters
group
Returns
QStandardItem

References m_lpIngredientDetailsModel.

Referenced by onIngredientListSelectionChanged().

+ Here is the caller graph for this function:

void cImportIngredientDialog::init ( )
protected

References initIngredientDetails(), initIngredientList(), and ui.

Referenced by cImportIngredientDialog().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cImportIngredientDialog::initIngredientDetails ( )
protected

References m_lpIngredientDetailsModel, and ui.

Referenced by init().

+ Here is the caller graph for this function:

void cImportIngredientDialog::initIngredientList ( )
protected

References m_lpIngredientListModel, onIngredientListSelectionChanged(), and ui.

Referenced by init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cImportIngredientDialog::on_m_lpSearchButton_clicked ( )
privateslot
void cImportIngredientDialog::on_m_lpSearchString_textChanged ( const QString &  arg1)
privateslot

References ui.

void cImportIngredientDialog::onIngredientListSelectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot
void cImportIngredientDialog::setPluginList ( const QList< cPlugin * >  pluginList)
Parameters
pluginList

References cPlugin::capability(), m_pluginList, cPlugin::PluginCapImport, cPlugin::pluginName(), and ui.

Referenced by cMainWindow::onIngredientsListImport().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QStandardItemModel* cImportIngredientDialog::m_lpIngredientDetailsModel
private
QStandardItemModel* cImportIngredientDialog::m_lpIngredientListModel
private

TODO: describe

Referenced by initIngredientList(), and on_m_lpSearchButton_clicked().

QList<cPlugin*> cImportIngredientDialog::m_pluginList
protected

TODO: describe

Referenced by setPluginList().


The documentation for this class was generated from the following files: