summaryrefslogtreecommitdiff
path: root/noncore/multimedia/powerchord/powerchordbase.h
authormickeyl <mickeyl>2004-01-20 13:07:31 (UTC)
committer mickeyl <mickeyl>2004-01-20 13:07:31 (UTC)
commitd388324e7b91bdd95553c3849d77cddd5bd0bfc4 (patch) (unidiff)
treeef660ffd25aa8cabbfa58e6c3b170e7c82511bc6 /noncore/multimedia/powerchord/powerchordbase.h
parent105007cca23072ee42a1f36625979966eb8a4854 (diff)
downloadopie-d388324e7b91bdd95553c3849d77cddd5bd0bfc4.zip
opie-d388324e7b91bdd95553c3849d77cddd5bd0bfc4.tar.gz
opie-d388324e7b91bdd95553c3849d77cddd5bd0bfc4.tar.bz2
initial import of powerchord courtesy Camilo Mesias <mailto:camilo@mesias.co.uk>
modified some bits to be compatible with the opie build system packaging not complete yet i hope camilo will maintain this here...
Diffstat (limited to 'noncore/multimedia/powerchord/powerchordbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/powerchordbase.h113
1 files changed, 113 insertions, 0 deletions
diff --git a/noncore/multimedia/powerchord/powerchordbase.h b/noncore/multimedia/powerchord/powerchordbase.h
new file mode 100644
index 0000000..9ff1f44
--- a/dev/null
+++ b/noncore/multimedia/powerchord/powerchordbase.h
@@ -0,0 +1,113 @@
1/****************************************************************************
2** Form interface generated from reading ui file 'powerchordbase.ui'
3**
4** Created: Sun Jan 13 23:04:45 2002
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#ifndef POWERCHORDBASE_H
10#define POWERCHORDBASE_H
11
12#include <qvariant.h>
13#include <qwidget.h>
14#include <qpixmap.h>
15
16#include "gs.h"
17#include "gt.h"
18
19class QVBoxLayout;
20class QHBoxLayout;
21class QGridLayout;
22class FretBoard;
23class QComboBox;
24class QFrame;
25class QLabel;
26class QListBox;
27class QListBoxItem;
28class QPushButton;
29class QSpinBox;
30class QTabWidget;
31class VUMeter;
32
33class PowerchordBase : public QWidget
34{
35 Q_OBJECT
36
37public:
38 PowerchordBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
39 ~PowerchordBase();
40
41 QTabWidget* tabs;
42 QWidget* tab;
43 QComboBox* chordkey;
44 QComboBox* chordfret;
45 QComboBox* chordnote;
46 QLabel* s1_1;
47 QLabel* s1_2;
48 QLabel* s1_3;
49 QLabel* s1_4;
50 QLabel* s1_5;
51 QLabel* s1_6;
52 QLabel* sound_label;
53 QFrame* Frame6;
54 QLabel* chordshow_label;
55 QPushButton* transport_rec;
56 QPushButton* play_sound;
57 QFrame* Frame6_2;
58 QPushButton* transport_play;
59 QPushButton* transport_rew;
60 QPushButton* transport_fwd;
61 QLabel* chordname;
62 FretBoard* frets;
63 gs* synth;
64 gt* tuner;
65 QWidget* tab_2;
66 QLabel* optlab2;
67 QComboBox* span;
68 QLabel* TextLabel1;
69 QComboBox* tuning;
70 QLabel* optlab1;
71 QWidget* Tuner;
72 QFrame* Frame4;
73 VUMeter* vu;
74 QComboBox* tuner_note;
75 QFrame* Frame8;
76 QPushButton* tuner_start;
77 QLabel* tuner_lab1;
78 QLabel* tuner_lab2;
79 QComboBox* tuner_calib_note;
80 QSpinBox* tuner_calib_freq;
81 QLabel* tuner_lab3;
82 QLabel* tuner_pic1;
83 QWidget* tab_3;
84 QLabel* chordlistlab1;
85 QListBox* chordlist;
86 QPushButton* list_remove_btn;
87
88public slots:
89 virtual void change_handler();
90
91 void transport_rec_cb();
92 void list_remove_cb();
93 void play_chord_cb();
94 void tuner_start_cb();
95 void tuner_simulation_cb();
96 void tuner_cb();
97 void audio_cb();
98
99 signals:
100 void frequency_change(int);
101
102protected:
103 QPixmap image_open;
104 QPixmap image6;
105 QTimer *simulation_timer;
106 QTimer *audio_timer;
107 int simulation_iter;
108 int simulation_v;
109 int simulation_x;
110 QHBoxLayout* Layout1;
111};
112
113#endif // POWERCHORDBASE_H