Diffstat (limited to 'noncore/multimedia/powerchord/powerchordbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index 98fe3f7..f0d1487 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp | |||
@@ -177,84 +177,84 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) | |||
177 | // sound_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, sound_label->sizePolicy().hasHeightForWidth() ) ); | 177 | // sound_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, sound_label->sizePolicy().hasHeightForWidth() ) ); |
178 | // sound_label->setPixmap( image0 ); | 178 | // sound_label->setPixmap( image0 ); |
179 | // sound_label->pixmap()->setMask(*image0.mask()); | 179 | // sound_label->pixmap()->setMask(*image0.mask()); |
180 | // sound_label->setScaledContents( TRUE ); | 180 | // sound_label->setScaledContents( TRUE ); |
181 | // sound_label->setBackgroundMode( QWidget::PaletteButton ); | 181 | // sound_label->setBackgroundMode( QWidget::PaletteButton ); |
182 | // sound_label->setBackgroundColor(this->backgroundColor()); | 182 | // sound_label->setBackgroundColor(this->backgroundColor()); |
183 | // sound_label->setPalette( QPalette( QColor( 232, 227, 215) ) ); | 183 | // sound_label->setPalette( QPalette( QColor( 232, 227, 215) ) ); |
184 | 184 | ||
185 | 185 | ||
186 | Frame6 = new QFrame( tab, "Frame6" ); | 186 | Frame6 = new QFrame( tab, "Frame6" ); |
187 | Frame6->setGeometry( QRect( 170, 145, 66, 10 ) ); | 187 | Frame6->setGeometry( QRect( 170, 145, 66, 10 ) ); |
188 | Frame6->setFrameShape( QFrame::HLine ); | 188 | Frame6->setFrameShape( QFrame::HLine ); |
189 | Frame6->setFrameShadow( QFrame::Raised ); | 189 | Frame6->setFrameShadow( QFrame::Raised ); |
190 | 190 | ||
191 | chordshow_label = new QLabel( tab, "chordshow_label" ); | 191 | chordshow_label = new QLabel( tab, "chordshow_label" ); |
192 | chordshow_label->setGeometry( QRect( 185, 60, 32, 17 ) ); | 192 | chordshow_label->setGeometry( QRect( 185, 60, 32, 17 ) ); |
193 | // chordshow_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, chordshow_label->sizePolicy().hasHeightForWidth() ) ); | 193 | // chordshow_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, chordshow_label->sizePolicy().hasHeightForWidth() ) ); |
194 | chordshow_label->setFrameShape( QLabel::NoFrame ); | 194 | chordshow_label->setFrameShape( QLabel::NoFrame ); |
195 | chordshow_label->setPixmap( image1 ); | 195 | chordshow_label->setPixmap( image1 ); |
196 | chordshow_label->setScaledContents( TRUE ); | 196 | chordshow_label->setScaledContents( TRUE ); |
197 | // chordshow_label->setBackgroundMode( QWidget::PaletteButton ); | 197 | // chordshow_label->setBackgroundMode( QWidget::PaletteButton ); |
198 | 198 | ||
199 | transport_rec = new QPushButton( tab, "transport_rec" ); | 199 | transport_rec = new QPushButton( tab, "transport_rec" ); |
200 | transport_rec->setGeometry( QRect( 170, 80, 30, 30 ) ); | 200 | transport_rec->setGeometry( QRect( 170, 80, 30, 30 ) ); |
201 | transport_rec->setText( tr( "" ) ); | 201 | transport_rec->setText( "" ); |
202 | transport_rec->setPixmap( image2 ); | 202 | transport_rec->setPixmap( image2 ); |
203 | 203 | ||
204 | play_sound = new QPushButton( tab, "play_sound" ); | 204 | play_sound = new QPushButton( tab, "play_sound" ); |
205 | play_sound->setGeometry( QRect( 170, 180, 60, 55 ) ); | 205 | play_sound->setGeometry( QRect( 170, 180, 60, 55 ) ); |
206 | play_sound->setText( tr( "" ) ); | 206 | play_sound->setText( "" ); |
207 | play_sound->setPixmap( image3 ); | 207 | play_sound->setPixmap( image3 ); |
208 | 208 | ||
209 | Frame6_2 = new QFrame( tab, "Frame6_2" ); | 209 | Frame6_2 = new QFrame( tab, "Frame6_2" ); |
210 | Frame6_2->setGeometry( QRect( 170, 45, 66, 10 ) ); | 210 | Frame6_2->setGeometry( QRect( 170, 45, 66, 10 ) ); |
211 | Frame6_2->setFrameShape( QFrame::HLine ); | 211 | Frame6_2->setFrameShape( QFrame::HLine ); |
212 | Frame6_2->setFrameShadow( QFrame::Raised ); | 212 | Frame6_2->setFrameShadow( QFrame::Raised ); |
213 | 213 | ||
214 | transport_play = new QPushButton( tab, "transport_play" ); | 214 | transport_play = new QPushButton( tab, "transport_play" ); |
215 | transport_play->setEnabled( FALSE ); | 215 | transport_play->setEnabled( FALSE ); |
216 | transport_play->setGeometry( QRect( 200, 80, 30, 30 ) ); | 216 | transport_play->setGeometry( QRect( 200, 80, 30, 30 ) ); |
217 | transport_play->setText( tr( "" ) ); | 217 | transport_play->setText( "" ); |
218 | transport_play->setPixmap( image3 ); | 218 | transport_play->setPixmap( image3 ); |
219 | 219 | ||
220 | transport_rew = new QPushButton( tab, "transport_rew" ); | 220 | transport_rew = new QPushButton( tab, "transport_rew" ); |
221 | transport_rew->setEnabled( FALSE ); | 221 | transport_rew->setEnabled( FALSE ); |
222 | transport_rew->setGeometry( QRect( 170, 110, 30, 30 ) ); | 222 | transport_rew->setGeometry( QRect( 170, 110, 30, 30 ) ); |
223 | transport_rew->setText( tr( "" ) ); | 223 | transport_rew->setText( "" ); |
224 | transport_rew->setPixmap( image4 ); | 224 | transport_rew->setPixmap( image4 ); |
225 | 225 | ||
226 | transport_fwd = new QPushButton( tab, "transport_fwd" ); | 226 | transport_fwd = new QPushButton( tab, "transport_fwd" ); |
227 | transport_fwd->setEnabled( FALSE ); | 227 | transport_fwd->setEnabled( FALSE ); |
228 | transport_fwd->setGeometry( QRect( 200, 110, 30, 30 ) ); | 228 | transport_fwd->setGeometry( QRect( 200, 110, 30, 30 ) ); |
229 | transport_fwd->setText( tr( "" ) ); | 229 | transport_fwd->setText( "" ); |
230 | transport_fwd->setPixmap( image5 ); | 230 | transport_fwd->setPixmap( image5 ); |
231 | 231 | ||
232 | chordname = new QLabel( tab, "chordname" ); | 232 | chordname = new QLabel( tab, "chordname" ); |
233 | chordname->setGeometry( QRect( 146, 0, 90, 20 ) ); //cxm moved l 5 | 233 | chordname->setGeometry( QRect( 146, 0, 90, 20 ) ); //cxm moved l 5 |
234 | chordname->setText( tr( "A" ) ); | 234 | chordname->setText( tr( "A" ) ); |
235 | chordname->setAlignment( int( QLabel::AlignCenter ) ); | 235 | chordname->setAlignment( int( QLabel::AlignCenter ) ); |
236 | QToolTip::add( chordname, tr( "" ) ); | 236 | QToolTip::add( chordname, "" ); |
237 | 237 | ||
238 | synth = new gs(); | 238 | synth = new gs(); |
239 | tuner = new gt(); | 239 | tuner = new gt(); |
240 | frets = new FretBoard( tab, "frets" ); | 240 | frets = new FretBoard( tab, "frets" ); |
241 | frets->setGeometry( QRect( 0, 20, 168, 210 ) ); | 241 | frets->setGeometry( QRect( 0, 20, 168, 210 ) ); |
242 | tabs->insertTab( tab, tr( "Guitar" ) ); | 242 | tabs->insertTab( tab, tr( "Guitar" ) ); |
243 | 243 | ||
244 | tab_2 = new QWidget( tabs, "tab_2" ); | 244 | tab_2 = new QWidget( tabs, "tab_2" ); |
245 | 245 | ||
246 | optlab2 = new QLabel( tab_2, "optlab2" ); | 246 | optlab2 = new QLabel( tab_2, "optlab2" ); |
247 | optlab2->setGeometry( QRect( 9, 58, 120, 41 ) ); | 247 | optlab2->setGeometry( QRect( 9, 58, 120, 41 ) ); |
248 | optlab2->setText( tr( "Alternative tunings are possible" ) ); | 248 | optlab2->setText( tr( "Alternative tunings are possible" ) ); |
249 | optlab2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); | 249 | optlab2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); |
250 | 250 | ||
251 | span = new QComboBox( FALSE, tab_2, "span" ); | 251 | span = new QComboBox( FALSE, tab_2, "span" ); |
252 | span->insertItem( tr( "2" ) ); | 252 | span->insertItem( tr( "2" ) ); |
253 | span->insertItem( tr( "3" ) ); | 253 | span->insertItem( tr( "3" ) ); |
254 | span->insertItem( tr( "4" ) ); | 254 | span->insertItem( tr( "4" ) ); |
255 | span->insertItem( tr( "5" ) ); | 255 | span->insertItem( tr( "5" ) ); |
256 | span->insertItem( tr( "6" ) ); | 256 | span->insertItem( tr( "6" ) ); |
257 | span->setGeometry( QRect( 180, 20, 50, 21 ) ); | 257 | span->setGeometry( QRect( 180, 20, 50, 21 ) ); |
258 | span->setCurrentItem( 1 ); | 258 | span->setCurrentItem( 1 ); |
259 | 259 | ||
260 | TextLabel1 = new QLabel( tab_2, "TextLabel1" ); | 260 | TextLabel1 = new QLabel( tab_2, "TextLabel1" ); |