PluginViewerPlugin Class Reference

#include <pluginviewer.h>

Inheritance diagram for PluginViewerPlugin:

QObject CoreInterface DisplayInterface

List of all members.


Detailed Description

Definition at line 16 of file pluginviewer.h.


Public Slots

void ReloadMenu ()
void MenuState (bool)

Public Member Functions

QStringList commands () const
QDockWidgetgetDock (const QString &command)
QWidgetgetConfig ()
void CoreInit (const BCore *core)
void SaveSettings ()
void LoadSettings ()
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

Public Attributes

PluginDialogViewerDlog
bool ViewDlog
bool LoadState
QMap< QString,
BBoB_Module * > 
Modules
BCorebcore

Member Function Documentation

QStringList PluginViewerPlugin::commands (  )  const [virtual]

List of menu commands - Text shown in menu and in dock titlebar.

Implements DisplayInterface.

Definition at line 7 of file pluginviewer-display.cpp.

References QObject::tr().

Referenced by LoadSettings().

Here is the call graph for this function:

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

Displayable widget - Creates Dialog and connects signals/slots. Then creates QDockWidget so dock options can be set, then it's passed to BCore which can pass to the MainWindow.

Implements DisplayInterface.

Definition at line 17 of file pluginviewer-display.cpp.

References BCore::addDock(), bcore, QObject::connect(), MenuState(), ReloadMenu(), QDockWidget::setWidget(), QObject::tr(), and ViewerDlog.

Referenced by LoadSettings().

Here is the call graph for this function:

QWidget* PluginViewerPlugin::getConfig (  )  [inline, virtual]

Implements DisplayInterface.

Definition at line 27 of file pluginviewer.h.

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

Called by BCore Initialize - Sets variables, loads classes for message bus, and loads saved settings.

Implements CoreInterface.

Definition at line 7 of file pluginviewer-core.cpp.

References bcore, LoadSettings(), and ViewerDlog.

Here is the call graph for this function:

void PluginViewerPlugin::SaveSettings (  )  [virtual]

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

Implements CoreInterface.

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

References QList::at(), bcore, BCore::isDockVisible(), QMap::keys(), Modules, BCore::settings, BBoB_Settings::setValue(), QList::size(), ViewDlog, and ViewerDlog.

Here is the call graph for this function:

void PluginViewerPlugin::LoadSettings (  ) 

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

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

References bcore, commands(), getDock(), BBoB_Settings::getValue(), BCore::settings, and QVariant::toBool().

Referenced by CoreInit().

Here is the call graph for this function:

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

Implements CoreInterface.

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

References QMap::contains(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 4 of file pluginviewer-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 66 of file pluginviewer-module.cpp.

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

Here is the call graph for this function:

QStringList PluginViewerPlugin::ModuleList (  )  const [virtual]

Implements CoreInterface.

Definition at line 29 of file pluginviewer-module.cpp.

References QMap::keys(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 34 of file pluginviewer-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 44 of file pluginviewer-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 > PluginViewerPlugin::ModuleOutputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 55 of file pluginviewer-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 PluginViewerPlugin::ReloadMenu (  )  [slot]

Definition at line 8 of file pluginviewer.cpp.

References PluginDialog::ClearMenu(), PluginDialog::findPlugins(), and ViewerDlog.

Referenced by getDock().

void PluginViewerPlugin::MenuState ( bool  state  )  [slot]

Definition at line 15 of file pluginviewer.cpp.

References LoadState.

Referenced by getDock().


Member Data Documentation

PluginDialog* PluginViewerPlugin::ViewerDlog

Definition at line 27 of file pluginviewer.h.

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

bool PluginViewerPlugin::ViewDlog

Definition at line 30 of file pluginviewer.h.

Referenced by SaveSettings().

bool PluginViewerPlugin::LoadState

Definition at line 31 of file pluginviewer.h.

Referenced by MenuState().

QMap<QString, BBoB_Module*> PluginViewerPlugin::Modules

Definition at line 46 of file pluginviewer.h.

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

BCore* PluginViewerPlugin::bcore

Definition at line 48 of file pluginviewer.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:43 2007 for BBoB by  doxygen 1.5.3