Kooky
cOptionsPlugins Class Reference

This dialog displays all plugins. More...

#include <coptionsplugins.h>

+ Inheritance diagram for cOptionsPlugins:
+ Collaboration diagram for cOptionsPlugins:

Public Member Functions

 cOptionsPlugins (QWidget *parent=0)
 
 ~cOptionsPlugins ()
 
void setPlugins (QList< cPlugin * > &plugins)
 

Protected Member Functions

void init ()
 
void showConfigDlg (const QModelIndex &index)
 

Private Slots

void onOptionsPluginTreeSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void onOptionsPluginTreeDoubleClicked (const QModelIndex &index)
 
void onOptionsPluginTreePluginToggled (bool b)
 
void on_m_lpButtonConfigure_clicked ()
 

Private Attributes

Ui::cOptionsPlugins * ui
 
QStandardItemModel * m_lpPluginsListModel
 

Detailed Description

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

Constructor & Destructor Documentation

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

References init().

+ Here is the call graph for this function:

cOptionsPlugins::~cOptionsPlugins ( )

References ui.

Member Function Documentation

void cOptionsPlugins::init ( )
protected

References m_lpPluginsListModel, onOptionsPluginTreeDoubleClicked(), onOptionsPluginTreeSelectionChanged(), and ui.

Referenced by cOptionsPlugins().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cOptionsPlugins::on_m_lpButtonConfigure_clicked ( )
privateslot

References m_lpPluginsListModel, showConfigDlg(), and ui.

+ Here is the call graph for this function:

void cOptionsPlugins::onOptionsPluginTreeDoubleClicked ( const QModelIndex &  index)
privateslot
Parameters
index

References m_lpPluginsListModel, and showConfigDlg().

Referenced by init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cOptionsPlugins::onOptionsPluginTreePluginToggled ( bool  b)
privateslot
Parameters
b

References m_lpPluginsListModel, cPlugin::pluginName(), and ui.

Referenced by setPlugins().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cOptionsPlugins::onOptionsPluginTreeSelectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot
Parameters
selected
deselected

References ui.

Referenced by init().

+ Here is the caller graph for this function:

void cOptionsPlugins::setPlugins ( QList< cPlugin * > &  plugins)
Parameters
plugins

References m_lpPluginsListModel, onOptionsPluginTreePluginToggled(), cPlugin::PluginCapDB, cPlugin::PluginCapExport, cPlugin::PluginCapImport, cPlugin::PluginCapNone, and ui.

Referenced by cOptions::onOptionsTreeSelectionChanged().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void cOptionsPlugins::showConfigDlg ( const QModelIndex &  index)
protected

Member Data Documentation

QStandardItemModel* cOptionsPlugins::m_lpPluginsListModel
private
Ui::cOptionsPlugins* cOptionsPlugins::ui
private

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