Changeset 1575
- Timestamp:
- 02/27/10 12:54:00 (3 years ago)
- Location:
- trunk/gui/src
- Files:
-
- 3 modified
-
ExportSongDialog.cpp (modified) (2 diffs)
-
ExportSongDialog.h (modified) (1 diff)
-
UI/ExportSongDialog_UI.ui (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/src/ExportSongDialog.cpp
r1474 r1575 153 153 154 154 155 void ExportSongDialog::on_t aplatescomboBox_currentIndexChanged(int index )155 void ExportSongDialog::on_templateCombo_currentIndexChanged(int index ) 156 156 { 157 157 /**index … … 321 321 322 322 if( filename.endsWith( ".ogg" ) || filename.endsWith( ".OGG" ) ){ 323 t aplatescomboBox->setCurrentIndex( 9 );//ogg323 templateCombo->setCurrentIndex( 9 );//ogg 324 324 } 325 325 else if( filename.endsWith( ".flac" ) || filename.endsWith( ".FLAC" ) ){ 326 326 label->show(); 327 327 label_2->show(); 328 t aplatescomboBox->setCurrentIndex( 8 );//flac328 templateCombo->setCurrentIndex( 8 );//flac 329 329 } 330 330 else if( filename.endsWith( ".aiff" ) || filename.endsWith( ".AIFF" ) ){ 331 331 label->show(); 332 332 label_2->show(); 333 t aplatescomboBox->setCurrentIndex( 5 );//aiff333 templateCombo->setCurrentIndex( 5 );//aiff 334 334 } 335 335 else if( filename.endsWith( ".wav" ) || filename.endsWith( ".WAV" ) ){ 336 336 label->show(); 337 337 label_2->show(); 338 t aplatescomboBox->setCurrentIndex( 0 );//wav338 templateCombo->setCurrentIndex( 0 );//wav 339 339 } 340 340 } -
trunk/gui/src/ExportSongDialog.h
r1472 r1575 52 52 void on_okBtn_clicked(); 53 53 void on_exportNameTxt_textChanged(const QString& text); 54 void on_t aplatescomboBox_currentIndexChanged(int index );54 void on_templateCombo_currentIndexChanged(int index ); 55 55 56 56 private: -
trunk/gui/src/UI/ExportSongDialog_UI.ui
r1475 r1575 27 27 <number>0</number> 28 28 </property> 29 <property name="margin">30 <number>0</number>31 </property>32 29 <item> 33 30 <spacer> … … 296 293 <x>10</x> 297 294 <y>80</y> 298 <width>4 41</width>295 <width>472</width> 299 296 <height>27</height> 300 297 </rect> … … 309 306 </item> 310 307 <item> 311 <widget class="QComboBox" name="t aplatescomboBox">308 <widget class="QComboBox" name="templateCombo"> 312 309 <item> 313 310 <property name="text">