Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PowerchordBase Class Reference

#include </home/clem/local/src/opie/noncore/multimedia/powerchord/powerchordbase.h>

Inheritance diagram for PowerchordBase:

Inheritance graph
[legend]
Collaboration diagram for PowerchordBase:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void change_handler ()
void transport_rec_cb ()
void list_remove_cb ()
void play_chord_cb ()
void tuner_start_cb ()
void tuner_simulation_cb ()
void tuner_cb ()
void audio_cb ()

Signals

void frequency_change (int)

Public Member Functions

 PowerchordBase (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~PowerchordBase ()

Public Attributes

QTabWidget * tabs
QWidget * tab
QComboBox * chordkey
QComboBox * chordfret
QComboBox * chordnote
QLabel * s1_1
QLabel * s1_2
QLabel * s1_3
QLabel * s1_4
QLabel * s1_5
QLabel * s1_6
QLabel * sound_label
QFrame * Frame6
QLabel * chordshow_label
QPushButton * transport_rec
QPushButton * play_sound
QFrame * Frame6_2
QPushButton * transport_play
QPushButton * transport_rew
QPushButton * transport_fwd
QLabel * chordname
FretBoardfrets
gssynth
gttuner
QWidget * tab_2
QLabel * optlab2
QComboBox * span
QLabel * TextLabel1
QComboBox * tuning
QLabel * optlab1
QWidget * Tuner
QFrame * Frame4
VUMetervu
QComboBox * tuner_note
QFrame * Frame8
QPushButton * tuner_start
QLabel * tuner_lab1
QLabel * tuner_lab2
QComboBox * tuner_calib_note
QSpinBox * tuner_calib_freq
QLabel * tuner_lab3
QLabel * tuner_pic1
QWidget * tab_3
QLabel * chordlistlab1
QListBox * chordlist
QPushButton * list_remove_btn

Protected Attributes

QPixmap image_open
QPixmap image6
QTimer * simulation_timer
QTimer * audio_timer
int simulation_iter
int simulation_v
int simulation_x
QHBoxLayout * Layout1

Constructor & Destructor Documentation

PowerchordBase::PowerchordBase QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 33 of file powerchordbase.cpp.

References add, audio_timer, chordfret, chordkey, chordlist, chordlistlab1, chordname, chordnote, chordshow_label, FALSE, Frame4, Frame6, Frame6_2, Frame8, frequency_change(), frets, QString::fromUtf8(), image6, image_open, Layout1, list_remove_btn, list_remove_cb(), Opie::Core::OResource::loadPixmap(), optlab1, optlab2, play_chord_cb(), play_sound, s1_1, s1_2, s1_3, s1_4, s1_5, s1_6, simulation_timer, span, synth, tab, tab_2, tab_3, tabs, TextLabel1, tr, transport_fwd, transport_play, transport_rec, transport_rec_cb(), transport_rew, TRUE, Tuner, tuner, tuner_calib_freq, tuner_calib_note, tuner_lab1, tuner_lab2, tuner_lab3, tuner_note, tuner_pic1, tuner_start, tuner_start_cb(), tuning, and vu.

PowerchordBase::~PowerchordBase  ) 
 

Definition at line 585 of file powerchordbase.cpp.


Member Function Documentation

void PowerchordBase::audio_cb  )  [slot]
 

Definition at line 460 of file powerchordbase.cpp.

References audio_timer, FretBoard::ce, gs::fill_buffer(), gs::Frames(), frets, INTERVAL, gs::note_start(), ChordEngine::noteindex(), gs::Playing(), gs::Stop(), Opie::Internal::string(), synth, and gs::write_buffer().

Referenced by play_chord_cb().

void PowerchordBase::change_handler  )  [virtual, slot]
 

Definition at line 590 of file powerchordbase.cpp.

References oendl, and owarn.

void PowerchordBase::frequency_change int   )  [signal]
 

Referenced by PowerchordBase(), tuner_cb(), and tuner_simulation_cb().

void PowerchordBase::list_remove_cb  )  [slot]
 

Definition at line 405 of file powerchordbase.cpp.

References chordlist.

Referenced by PowerchordBase().

void PowerchordBase::play_chord_cb  )  [slot]
 

Definition at line 410 of file powerchordbase.cpp.

References audio_cb(), audio_timer, FretBoard::ce, gs::fill_buffer(), frets, gs::note_start(), ChordEngine::noteindex(), gs::Play(), gs::Stop(), synth, and tr.

Referenced by PowerchordBase().

void PowerchordBase::transport_rec_cb  )  [slot]
 

Definition at line 397 of file powerchordbase.cpp.

References chordlist, chordname, known, and tr.

Referenced by PowerchordBase().

void PowerchordBase::tuner_cb  )  [slot]
 

Definition at line 518 of file powerchordbase.cpp.

References frequency_change(), image6, gt::Listening(), gt::process_buffer(), gt::read_buffer(), simulation_timer, gt::Stop(), tuner, tuner_pic1, and gt::Tuning().

void PowerchordBase::tuner_simulation_cb  )  [slot]
 

Definition at line 557 of file powerchordbase.cpp.

References frequency_change(), image6, simulation_iter, simulation_timer, simulation_v, simulation_x, and tuner_pic1.

Referenced by tuner_start_cb().

void PowerchordBase::tuner_start_cb  )  [slot]
 

Definition at line 535 of file powerchordbase.cpp.

References image_open, simulation_iter, simulation_timer, simulation_v, simulation_x, tr, tuner_pic1, and tuner_simulation_cb().

Referenced by PowerchordBase().


Member Data Documentation

QTimer* PowerchordBase::audio_timer [protected]
 

Definition at line 106 of file powerchordbase.h.

Referenced by audio_cb(), play_chord_cb(), and PowerchordBase().

QComboBox* PowerchordBase::chordfret
 

Definition at line 44 of file powerchordbase.h.

Referenced by PowerchordBase().

QComboBox* PowerchordBase::chordkey
 

Definition at line 43 of file powerchordbase.h.

Referenced by PowerchordBase().

QListBox* PowerchordBase::chordlist
 

Definition at line 85 of file powerchordbase.h.

Referenced by list_remove_cb(), PowerchordBase(), and transport_rec_cb().

QLabel* PowerchordBase::chordlistlab1
 

Definition at line 84 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::chordname
 

Definition at line 61 of file powerchordbase.h.

Referenced by PowerchordBase(), and transport_rec_cb().

QComboBox* PowerchordBase::chordnote
 

Definition at line 45 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::chordshow_label
 

Definition at line 54 of file powerchordbase.h.

Referenced by PowerchordBase().

QFrame* PowerchordBase::Frame4
 

Definition at line 72 of file powerchordbase.h.

Referenced by PowerchordBase().

QFrame* PowerchordBase::Frame6
 

Definition at line 53 of file powerchordbase.h.

Referenced by PowerchordBase().

QFrame* PowerchordBase::Frame6_2
 

Definition at line 57 of file powerchordbase.h.

Referenced by PowerchordBase().

QFrame* PowerchordBase::Frame8
 

Definition at line 75 of file powerchordbase.h.

Referenced by PowerchordBase().

FretBoard* PowerchordBase::frets
 

Definition at line 62 of file powerchordbase.h.

Referenced by audio_cb(), play_chord_cb(), and PowerchordBase().

QPixmap PowerchordBase::image6 [protected]
 

Definition at line 104 of file powerchordbase.h.

Referenced by PowerchordBase(), tuner_cb(), and tuner_simulation_cb().

QPixmap PowerchordBase::image_open [protected]
 

Definition at line 103 of file powerchordbase.h.

Referenced by PowerchordBase(), and tuner_start_cb().

QHBoxLayout* PowerchordBase::Layout1 [protected]
 

Definition at line 110 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::list_remove_btn
 

Definition at line 86 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::optlab1
 

Definition at line 70 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::optlab2
 

Definition at line 66 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::play_sound
 

Definition at line 56 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_1
 

Definition at line 46 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_2
 

Definition at line 47 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_3
 

Definition at line 48 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_4
 

Definition at line 49 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_5
 

Definition at line 50 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::s1_6
 

Definition at line 51 of file powerchordbase.h.

Referenced by PowerchordBase().

int PowerchordBase::simulation_iter [protected]
 

Definition at line 107 of file powerchordbase.h.

Referenced by tuner_simulation_cb(), and tuner_start_cb().

QTimer* PowerchordBase::simulation_timer [protected]
 

Definition at line 105 of file powerchordbase.h.

Referenced by PowerchordBase(), tuner_cb(), tuner_simulation_cb(), and tuner_start_cb().

int PowerchordBase::simulation_v [protected]
 

Definition at line 108 of file powerchordbase.h.

Referenced by tuner_simulation_cb(), and tuner_start_cb().

int PowerchordBase::simulation_x [protected]
 

Definition at line 109 of file powerchordbase.h.

Referenced by tuner_simulation_cb(), and tuner_start_cb().

QLabel* PowerchordBase::sound_label
 

Definition at line 52 of file powerchordbase.h.

QComboBox* PowerchordBase::span
 

Definition at line 67 of file powerchordbase.h.

Referenced by PowerchordBase().

gs* PowerchordBase::synth
 

Definition at line 63 of file powerchordbase.h.

Referenced by audio_cb(), play_chord_cb(), and PowerchordBase().

QWidget* PowerchordBase::tab
 

Definition at line 42 of file powerchordbase.h.

Referenced by PowerchordBase().

QWidget* PowerchordBase::tab_2
 

Definition at line 65 of file powerchordbase.h.

Referenced by PowerchordBase().

QWidget* PowerchordBase::tab_3
 

Definition at line 83 of file powerchordbase.h.

Referenced by PowerchordBase().

QTabWidget* PowerchordBase::tabs
 

Definition at line 41 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::TextLabel1
 

Definition at line 68 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::transport_fwd
 

Definition at line 60 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::transport_play
 

Definition at line 58 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::transport_rec
 

Definition at line 55 of file powerchordbase.h.

Referenced by PowerchordBase().

QPushButton* PowerchordBase::transport_rew
 

Definition at line 59 of file powerchordbase.h.

Referenced by PowerchordBase().

QWidget* PowerchordBase::Tuner
 

Definition at line 71 of file powerchordbase.h.

Referenced by PowerchordBase().

gt* PowerchordBase::tuner
 

Definition at line 64 of file powerchordbase.h.

Referenced by PowerchordBase(), and tuner_cb().

QSpinBox* PowerchordBase::tuner_calib_freq
 

Definition at line 80 of file powerchordbase.h.

Referenced by PowerchordBase().

QComboBox* PowerchordBase::tuner_calib_note
 

Definition at line 79 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::tuner_lab1
 

Definition at line 77 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::tuner_lab2
 

Definition at line 78 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::tuner_lab3
 

Definition at line 81 of file powerchordbase.h.

Referenced by PowerchordBase().

QComboBox* PowerchordBase::tuner_note
 

Definition at line 74 of file powerchordbase.h.

Referenced by PowerchordBase().

QLabel* PowerchordBase::tuner_pic1
 

Definition at line 82 of file powerchordbase.h.

Referenced by PowerchordBase(), tuner_cb(), tuner_simulation_cb(), and tuner_start_cb().

QPushButton* PowerchordBase::tuner_start
 

Definition at line 76 of file powerchordbase.h.

Referenced by PowerchordBase().

QComboBox* PowerchordBase::tuning
 

Definition at line 69 of file powerchordbase.h.

Referenced by PowerchordBase().

VUMeter* PowerchordBase::vu
 

Definition at line 73 of file powerchordbase.h.

Referenced by PowerchordBase().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:45:16 2005 for OPIE by  doxygen 1.4.2