![]() |
Kooky
|
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 |
This dialog imports ingredients based on the selected import plugin.
|
explicit |
| cImportIngredientDialog::~cImportIngredientDialog | ( | ) |
References ui.
|
protected |
| group |
References m_lpIngredientDetailsModel.
Referenced by onIngredientListSelectionChanged().
Here is the caller graph for this function:
|
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:
|
protected |
References m_lpIngredientDetailsModel, and ui.
Referenced by init().
Here is the caller graph for this function:
|
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:
|
privateslot |
References cPlugin::importInterface(), m_lpIngredientListModel, cImportInterface::search(), cMessageAnimateDialog::setMessage(), cMessageAnimateDialog::setTitle(), and ui.
Here is the call graph for this function:
|
privateslot |
References ui.
|
privateslot |
| selected | |
| deselected |
References addGroup(), cImportInterface::group(), cIngredient::iIngredientMax, cPlugin::importInterface(), cImportInterface::load(), m_lpIngredientDetailsModel, cImportInterface::name(), cMessageAnimateDialog::setMessage(), cMessageAnimateDialog::setTitle(), ui, cImportInterface::value(), and cImportInterface::valueStr().
Referenced by initIngredientList().
Here is the call graph for this function:
Here is the caller graph for this function:| void cImportIngredientDialog::setPluginList | ( | const QList< cPlugin * > | pluginList | ) |
| 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:
|
private |
TODO: describe
Referenced by addGroup(), initIngredientDetails(), and onIngredientListSelectionChanged().
|
private |
TODO: describe
Referenced by initIngredientList(), and on_m_lpSearchButton_clicked().
|
protected |
TODO: describe
Referenced by setPluginList().
|
private |
TODO: describe
Referenced by init(), initIngredientDetails(), initIngredientList(), on_m_lpSearchButton_clicked(), on_m_lpSearchString_textChanged(), onIngredientListSelectionChanged(), setPluginList(), and ~cImportIngredientDialog().