Config_Cues Class Reference

#include <config_cues.h>

Inheritance diagram for Config_Cues:

QWidget

List of all members.


Detailed Description

Cue tab of Config window.

Definition at line 18 of file config_cues.h.


Public Slots

void cueSelected (QListWidgetItem *item)
void showCueMenu (QPoint p)
void addCue ()
void removeCue ()
void cueNameChanged ()
void showModMenu (QPoint p)
void addModParam ()
void removeModParam ()
void ModParamChanged (QTreeWidgetItem *item, int column)
int selectModule ()
void showChanMenu (QPoint p)
void addChan ()
void removeChan ()
void ChanChanged (QTreeWidgetItem *item, int column)
int selectChannel ()

Public Member Functions

 Config_Cues (BCore *core, QWidget *parent=0)
void RefreshCues ()
void RefreshMods ()
void RefreshChans ()

Private Attributes

BCorebcore
QMenuCueMenu
QMenuModMenu
QMenuChanMenu

Constructor & Destructor Documentation

Config_Cues::Config_Cues ( BCore core,
QWidget parent = 0 
)

Definition at line 15 of file config_cues.cpp.

References QMenu::addAction(), addChan(), addCue(), addModParam(), bcore, ChanChanged(), ChanMenu, CueMenu, cueNameChanged(), cueSelected(), QWidget::customContextMenuRequested(), ModMenu, ModParamChanged(), RefreshCues(), removeChan(), removeCue(), removeModParam(), showChanMenu(), showCueMenu(), and showModMenu().

Here is the call graph for this function:


Member Function Documentation

void Config_Cues::RefreshCues (  ) 

Definition at line 64 of file config_cues.cpp.

References bcore, BCore::Cues, and QMap::keys().

Referenced by addCue(), Config_Cues(), cueNameChanged(), and removeCue().

Here is the call graph for this function:

void Config_Cues::RefreshMods (  ) 

Definition at line 168 of file config_cues.cpp.

References bcore, BCore::Cues, BBoB_Module_Base::getName(), LastModPointerRole, ModulePointerRole, QTreeWidgetItem::setData(), QTreeWidgetItem::setFlags(), QTreeWidgetItem::setText(), and QMap::value().

Referenced by addModParam(), cueSelected(), and removeModParam().

Here is the call graph for this function:

void Config_Cues::RefreshChans (  ) 

Definition at line 280 of file config_cues.cpp.

References bcore, ChannelPointerRole, BCore::Cues, BBoB_Channel::getModName(), BBoB_Channel::getName(), LastChanPointerRole, QTreeWidgetItem::setData(), QTreeWidgetItem::setFlags(), QTreeWidgetItem::setText(), and QMap::value().

Referenced by addChan(), cueSelected(), and removeChan().

Here is the call graph for this function:

void Config_Cues::cueSelected ( QListWidgetItem item  )  [slot]

Definition at line 82 of file config_cues.cpp.

References bcore, BCore::Cues, BBoB_Cue::Name, RefreshChans(), RefreshMods(), QListWidgetItem::text(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::showCueMenu ( QPoint  p  )  [slot]

Definition at line 111 of file config_cues.cpp.

References QMenu::addAction(), addCue(), QMenu::addSeparator(), bcore, CueMenu, BCore::Cues, QMenu::exec(), QCursor::pos(), removeCue(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::addCue (  )  [slot]

Definition at line 131 of file config_cues.cpp.

References bcore, QMap::contains(), BCore::Cues, QMap::insert(), and RefreshCues().

Referenced by Config_Cues(), and showCueMenu().

void Config_Cues::removeCue (  )  [slot]

Definition at line 144 of file config_cues.cpp.

References bcore, BCore::Cues, RefreshCues(), QMap::remove(), and QListWidgetItem::text().

Referenced by Config_Cues(), and showCueMenu().

void Config_Cues::cueNameChanged (  )  [slot]

Definition at line 98 of file config_cues.cpp.

References bcore, RefreshCues(), and BCore::RenameCue().

Referenced by Config_Cues().

void Config_Cues::showModMenu ( QPoint  p  )  [slot]

Definition at line 159 of file config_cues.cpp.

References QMenu::exec(), ModMenu, and QCursor::pos().

Referenced by Config_Cues().

void Config_Cues::addModParam (  )  [slot]

Definition at line 219 of file config_cues.cpp.

References bcore, BCore::Cues, BBoB_Module_Base::getName(), RefreshMods(), selectModule(), QString::toAscii(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::removeModParam (  )  [slot]

Definition at line 242 of file config_cues.cpp.

References bcore, BCore::Cues, QTreeWidgetItem::data(), ModulePointerRole, RefreshMods(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::ModParamChanged ( QTreeWidgetItem item,
int  column 
) [slot]

Definition at line 259 of file config_cues.cpp.

References bcore, BCore::Cues, QTreeWidgetItem::data(), LastModPointerRole, ModulePointerRole, QTreeWidgetItem::setData(), QTreeWidgetItem::text(), and QMap::value().

Referenced by Config_Cues().

int Config_Cues::selectModule (  )  [slot]

Definition at line 193 of file config_cues.cpp.

References bcore, QDialog::exec(), BBoB_Module_Base::getName(), QListIterator::hasNext(), BCore::listModules(), and QListIterator::next().

Referenced by addModParam().

void Config_Cues::showChanMenu ( QPoint  p  )  [slot]

Definition at line 304 of file config_cues.cpp.

References ChanMenu, QMenu::exec(), and QCursor::pos().

Referenced by Config_Cues().

void Config_Cues::addChan (  )  [slot]

Definition at line 347 of file config_cues.cpp.

References bcore, BCore::Cues, BBoB_Channel::getName(), RefreshChans(), selectChannel(), QString::toAscii(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::removeChan (  )  [slot]

Definition at line 369 of file config_cues.cpp.

References bcore, ChannelPointerRole, BCore::Cues, QTreeWidgetItem::data(), RefreshChans(), and QMap::value().

Referenced by Config_Cues().

void Config_Cues::ChanChanged ( QTreeWidgetItem item,
int  column 
) [slot]

Definition at line 386 of file config_cues.cpp.

References bcore, ChannelPointerRole, BCore::Cues, QTreeWidgetItem::data(), LastChanPointerRole, QTreeWidgetItem::setData(), QTreeWidgetItem::text(), and QMap::value().

Referenced by Config_Cues().

int Config_Cues::selectChannel (  )  [slot]

Definition at line 313 of file config_cues.cpp.

References bcore, BBoB_Module::Channels, QDialog::exec(), BCore::findChannel(), BBoB_Channel::getModName(), BBoB_Channel::getName(), BBoB_Module_Base::getName(), QListIterator::hasNext(), QMap::keys(), BCore::listModules(), and QListIterator::next().

Referenced by addChan().


Member Data Documentation

BCore* Config_Cues::bcore [private]

Definition at line 22 of file config_cues.h.

Referenced by addChan(), addCue(), addModParam(), ChanChanged(), Config_Cues(), cueNameChanged(), cueSelected(), ModParamChanged(), RefreshChans(), RefreshCues(), RefreshMods(), removeChan(), removeCue(), removeModParam(), selectChannel(), selectModule(), and showCueMenu().

QMenu* Config_Cues::CueMenu [private]

Definition at line 24 of file config_cues.h.

Referenced by Config_Cues(), and showCueMenu().

QMenu* Config_Cues::ModMenu [private]

Definition at line 25 of file config_cues.h.

Referenced by Config_Cues(), and showModMenu().

QMenu* Config_Cues::ChanMenu [private]

Definition at line 26 of file config_cues.h.

Referenced by Config_Cues(), and showChanMenu().


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