ButtonBlockPlugin Class Reference

#include <buttonblockplugin.h>

Inheritance diagram for ButtonBlockPlugin:

QObject CoreInterface DisplayInterface

List of all members.


Detailed Description

Definition at line 14 of file buttonblockplugin.h.


Public Member Functions

void LoadSettings ()
void CoreInit (const BCore *core)
void SaveSettings ()
void Module (const QString name, const QStringList params)
BBoB_ChannelChannelPointer (QString mod, QString input) const
BBoB_ModuleModulePointer (const QString mod) const
QStringList ModuleList () const
QMap< QString, QStringModuleParams (const QString name) const
QMap< QString, QStringModuleInputs (const QString name) const
QMap< QString, QStringModuleOutputs (const QString name) const
void saveChannels ()
QStringList commands () const
 List of available menu commands.
QDockWidgetgetDock (const QString &command)
 Returns a QDockWidget for the menu command.
QWidgetgetConfig ()
 Returns a QWidget to be used in a ConfigTab.

Public Attributes

ButtonBlockEightDialogButton8Dlog
QMap< QString,
BBoB_Module * > 
Modules
BCorebcore

Member Function Documentation

void ButtonBlockPlugin::LoadSettings (  ) 

Loads state of all dialogs and any other settings this plugin needs.

Definition at line 77 of file buttonblockplugin-core.cpp.

References bcore, Button8Dlog, ButtonBlockEightDialog::Button_1, ButtonBlockEightDialog::Button_2, ButtonBlockEightDialog::Button_3, ButtonBlockEightDialog::Button_4, ButtonBlockEightDialog::Button_5, ButtonBlockEightDialog::Button_6, ButtonBlockEightDialog::Button_7, ButtonBlockEightDialog::Button_8, commands(), getDock(), BBoB_Settings::getValue(), BCore::settings, ToggleSwitch::setType(), QVariant::toBool(), QVariant::toInt(), and QVariant::toString().

Referenced by CoreInit().

Here is the call graph for this function:

void ButtonBlockPlugin::CoreInit ( const BCore core  )  [virtual]

Implements CoreInterface.

Definition at line 10 of file buttonblockplugin-core.cpp.

References bcore, Button8Dlog, and LoadSettings().

Here is the call graph for this function:

void ButtonBlockPlugin::SaveSettings (  )  [virtual]

Saves state of all dialogs and any other settings this plugin needs.

Implements CoreInterface.

Definition at line 38 of file buttonblockplugin-core.cpp.

References bcore, Button8Dlog, ButtonBlockEightDialog::Button_1, ButtonBlockEightDialog::Button_2, ButtonBlockEightDialog::Button_3, ButtonBlockEightDialog::Button_4, ButtonBlockEightDialog::Button_5, ButtonBlockEightDialog::Button_6, ButtonBlockEightDialog::Button_7, ButtonBlockEightDialog::Button_8, ToggleSwitch::getType(), BCore::isDockVisible(), BCore::settings, and BBoB_Settings::setValue().

Here is the call graph for this function:

void ButtonBlockPlugin::Module ( const QString  name,
const QStringList  params 
) [virtual]

Implements CoreInterface.

Definition at line 20 of file buttonblockplugin-core.cpp.

References QMap::contains(), and Modules.

Referenced by getDock().

Here is the call graph for this function:

BBoB_Channel * ButtonBlockPlugin::ChannelPointer ( QString  mod,
QString  input 
) const [virtual]

Implements CoreInterface.

Definition at line 3 of file buttonblockplugin-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

BBoB_Module * ButtonBlockPlugin::ModulePointer ( const QString  mod  )  const [virtual]

Implements CoreInterface.

Definition at line 51 of file buttonblockplugin-module.cpp.

References QMap::contains(), Modules, and QMap::value().

Referenced by getDock().

Here is the call graph for this function:

QStringList ButtonBlockPlugin::ModuleList (  )  const [virtual]

Implements CoreInterface.

Definition at line 46 of file buttonblockplugin-module.cpp.

References QMap::keys(), and Modules.

Here is the call graph for this function:

QMap< QString, QString > ButtonBlockPlugin::ModuleParams ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 13 of file buttonblockplugin-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

QMap< QString, QString > ButtonBlockPlugin::ModuleInputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 23 of file buttonblockplugin-module.cpp.

References Channel_Dir_In, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Here is the call graph for this function:

QMap< QString, QString > ButtonBlockPlugin::ModuleOutputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 35 of file buttonblockplugin-module.cpp.

References Channel_Dir_Out, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Here is the call graph for this function:

void ButtonBlockPlugin::saveChannels (  ) 

QStringList ButtonBlockPlugin::commands (  )  const [virtual]

List of available menu commands.

Implements DisplayInterface.

Definition at line 11 of file buttonblockplugin-display.cpp.

References QObject::tr().

Referenced by getDock(), and LoadSettings().

Here is the call graph for this function:

QDockWidget * ButtonBlockPlugin::getDock ( const QString command  )  [virtual]

Returns a QDockWidget for the menu command.

Implements DisplayInterface.

Definition at line 18 of file buttonblockplugin-display.cpp.

References BCore::addDock(), bcore, Button8Dlog, commands(), BBoB_Module_Base::getName(), Module(), ModulePointer(), and QDockWidget::setWidget().

Referenced by LoadSettings().

Here is the call graph for this function:

QWidget * ButtonBlockPlugin::getConfig (  )  [virtual]

Returns a QWidget to be used in a ConfigTab.

Implements DisplayInterface.

Definition at line 50 of file buttonblockplugin-display.cpp.


Member Data Documentation

ButtonBlockEightDialog* ButtonBlockPlugin::Button8Dlog

Definition at line 20 of file buttonblockplugin.h.

Referenced by CoreInit(), getDock(), LoadSettings(), and SaveSettings().

QMap<QString, BBoB_Module*> ButtonBlockPlugin::Modules

Definition at line 36 of file buttonblockplugin.h.

Referenced by ChannelPointer(), Module(), ModuleInputs(), ModuleList(), ModuleOutputs(), ModuleParams(), and ModulePointer().

BCore* ButtonBlockPlugin::bcore

Definition at line 39 of file buttonblockplugin.h.

Referenced by CoreInit(), getDock(), LoadSettings(), and SaveSettings().


The documentation for this class was generated from the following files:
Generated on Sun Oct 28 22:51:40 2007 for BBoB by  doxygen 1.5.3