00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_THEMECONFIGPAGE_H
00011 #define UI_THEMECONFIGPAGE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QComboBox>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QSpinBox>
00027 #include <QtGui/QTabWidget>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030
00031 QT_BEGIN_NAMESPACE
00032
00033 class Ui_ThemeConfigPage
00034 {
00035 public:
00036 QVBoxLayout *vboxLayout;
00037 QTabWidget *tabWidget;
00038 QWidget *tab;
00039 QVBoxLayout *vboxLayout1;
00040 QGroupBox *groupBox;
00041 QVBoxLayout *vboxLayout2;
00042 QVBoxLayout *vboxLayout3;
00043 QHBoxLayout *hboxLayout;
00044 QLabel *label_2;
00045 QSpacerItem *spacerItem;
00046 QHBoxLayout *hboxLayout1;
00047 QLineEdit *themePathLineEdit;
00048 QPushButton *pathSelectButton;
00049 QHBoxLayout *hboxLayout2;
00050 QLabel *label;
00051 QComboBox *themeSelecterCombo;
00052 QHBoxLayout *hboxLayout3;
00053 QLabel *label_3;
00054 QSpinBox *colorAdjustBox;
00055 QGroupBox *groupBox_2;
00056 QVBoxLayout *vboxLayout4;
00057 QCheckBox *rectifiedCheckBox;
00058 QCheckBox *paintAudioWithOutlineCheckBox;
00059 QCheckBox *mergedCheckBox;
00060 QCheckBox *dbGridCheckBox;
00061 QGroupBox *styleOptionsGroupBox;
00062 QVBoxLayout *vboxLayout5;
00063 QHBoxLayout *hboxLayout4;
00064 QLabel *label_4;
00065 QComboBox *styleCombo;
00066 QCheckBox *useStylePalletCheckBox;
00067 QSpacerItem *spacerItem1;
00068 QWidget *tab_2;
00069 QVBoxLayout *vboxLayout6;
00070 QGroupBox *toolbarGroupBox;
00071 QVBoxLayout *vboxLayout7;
00072 QHBoxLayout *hboxLayout5;
00073 QLabel *label_5;
00074 QComboBox *iconSizeCombo;
00075 QHBoxLayout *hboxLayout6;
00076 QLabel *label_7;
00077 QComboBox *toolbarStyleCombo;
00078 QHBoxLayout *hboxLayout7;
00079 QLabel *label_6;
00080 QComboBox *transportConsoleCombo;
00081 QSpacerItem *spacerItem2;
00082 QWidget *tab_3;
00083 QVBoxLayout *vboxLayout8;
00084 QGroupBox *groupBox_3;
00085 QVBoxLayout *verticalLayout;
00086 QComboBox *languageComboBox;
00087 QLabel *label_8;
00088 QSpacerItem *spacerItem3;
00089
00090 void setupUi(QWidget *ThemeConfigPage)
00091 {
00092 if (ThemeConfigPage->objectName().isEmpty())
00093 ThemeConfigPage->setObjectName(QString::fromUtf8("ThemeConfigPage"));
00094 ThemeConfigPage->resize(352, 531);
00095 vboxLayout = new QVBoxLayout(ThemeConfigPage);
00096 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00097 tabWidget = new QTabWidget(ThemeConfigPage);
00098 tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
00099 tab = new QWidget();
00100 tab->setObjectName(QString::fromUtf8("tab"));
00101 vboxLayout1 = new QVBoxLayout(tab);
00102 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00103 groupBox = new QGroupBox(tab);
00104 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00105 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
00106 sizePolicy.setHorizontalStretch(1);
00107 sizePolicy.setVerticalStretch(0);
00108 sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
00109 groupBox->setSizePolicy(sizePolicy);
00110 vboxLayout2 = new QVBoxLayout(groupBox);
00111 vboxLayout2->setSpacing(12);
00112 #ifndef Q_OS_MAC
00113 vboxLayout2->setMargin(9);
00114 #endif
00115 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00116 vboxLayout3 = new QVBoxLayout();
00117 #ifndef Q_OS_MAC
00118 vboxLayout3->setSpacing(6);
00119 #endif
00120 #ifndef Q_OS_MAC
00121 vboxLayout3->setMargin(0);
00122 #endif
00123 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00124 hboxLayout = new QHBoxLayout();
00125 #ifndef Q_OS_MAC
00126 hboxLayout->setSpacing(6);
00127 #endif
00128 #ifndef Q_OS_MAC
00129 hboxLayout->setMargin(0);
00130 #endif
00131 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00132 label_2 = new QLabel(groupBox);
00133 label_2->setObjectName(QString::fromUtf8("label_2"));
00134
00135 hboxLayout->addWidget(label_2);
00136
00137 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00138
00139 hboxLayout->addItem(spacerItem);
00140
00141
00142 vboxLayout3->addLayout(hboxLayout);
00143
00144 hboxLayout1 = new QHBoxLayout();
00145 #ifndef Q_OS_MAC
00146 hboxLayout1->setSpacing(6);
00147 #endif
00148 hboxLayout1->setMargin(0);
00149 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00150 themePathLineEdit = new QLineEdit(groupBox);
00151 themePathLineEdit->setObjectName(QString::fromUtf8("themePathLineEdit"));
00152 themePathLineEdit->setEnabled(true);
00153 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
00154 sizePolicy1.setHorizontalStretch(5);
00155 sizePolicy1.setVerticalStretch(0);
00156 sizePolicy1.setHeightForWidth(themePathLineEdit->sizePolicy().hasHeightForWidth());
00157 themePathLineEdit->setSizePolicy(sizePolicy1);
00158 themePathLineEdit->setMouseTracking(true);
00159 themePathLineEdit->setAcceptDrops(true);
00160 themePathLineEdit->setReadOnly(false);
00161
00162 hboxLayout1->addWidget(themePathLineEdit);
00163
00164 pathSelectButton = new QPushButton(groupBox);
00165 pathSelectButton->setObjectName(QString::fromUtf8("pathSelectButton"));
00166
00167 hboxLayout1->addWidget(pathSelectButton);
00168
00169
00170 vboxLayout3->addLayout(hboxLayout1);
00171
00172
00173 vboxLayout2->addLayout(vboxLayout3);
00174
00175 hboxLayout2 = new QHBoxLayout();
00176 #ifndef Q_OS_MAC
00177 hboxLayout2->setSpacing(6);
00178 #endif
00179 hboxLayout2->setMargin(0);
00180 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00181 label = new QLabel(groupBox);
00182 label->setObjectName(QString::fromUtf8("label"));
00183 sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
00184 label->setSizePolicy(sizePolicy);
00185
00186 hboxLayout2->addWidget(label);
00187
00188 themeSelecterCombo = new QComboBox(groupBox);
00189 themeSelecterCombo->setObjectName(QString::fromUtf8("themeSelecterCombo"));
00190 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
00191 sizePolicy2.setHorizontalStretch(1);
00192 sizePolicy2.setVerticalStretch(0);
00193 sizePolicy2.setHeightForWidth(themeSelecterCombo->sizePolicy().hasHeightForWidth());
00194 themeSelecterCombo->setSizePolicy(sizePolicy2);
00195
00196 hboxLayout2->addWidget(themeSelecterCombo);
00197
00198
00199 vboxLayout2->addLayout(hboxLayout2);
00200
00201 hboxLayout3 = new QHBoxLayout();
00202 #ifndef Q_OS_MAC
00203 hboxLayout3->setSpacing(6);
00204 #endif
00205 hboxLayout3->setMargin(0);
00206 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00207 label_3 = new QLabel(groupBox);
00208 label_3->setObjectName(QString::fromUtf8("label_3"));
00209
00210 hboxLayout3->addWidget(label_3);
00211
00212 colorAdjustBox = new QSpinBox(groupBox);
00213 colorAdjustBox->setObjectName(QString::fromUtf8("colorAdjustBox"));
00214 colorAdjustBox->setMaximum(200);
00215 colorAdjustBox->setValue(100);
00216
00217 hboxLayout3->addWidget(colorAdjustBox);
00218
00219
00220 vboxLayout2->addLayout(hboxLayout3);
00221
00222
00223 vboxLayout1->addWidget(groupBox);
00224
00225 groupBox_2 = new QGroupBox(tab);
00226 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00227 vboxLayout4 = new QVBoxLayout(groupBox_2);
00228 #ifndef Q_OS_MAC
00229 vboxLayout4->setSpacing(6);
00230 #endif
00231 #ifndef Q_OS_MAC
00232 vboxLayout4->setMargin(9);
00233 #endif
00234 vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
00235 rectifiedCheckBox = new QCheckBox(groupBox_2);
00236 rectifiedCheckBox->setObjectName(QString::fromUtf8("rectifiedCheckBox"));
00237
00238 vboxLayout4->addWidget(rectifiedCheckBox);
00239
00240 paintAudioWithOutlineCheckBox = new QCheckBox(groupBox_2);
00241 paintAudioWithOutlineCheckBox->setObjectName(QString::fromUtf8("paintAudioWithOutlineCheckBox"));
00242
00243 vboxLayout4->addWidget(paintAudioWithOutlineCheckBox);
00244
00245 mergedCheckBox = new QCheckBox(groupBox_2);
00246 mergedCheckBox->setObjectName(QString::fromUtf8("mergedCheckBox"));
00247
00248 vboxLayout4->addWidget(mergedCheckBox);
00249
00250 dbGridCheckBox = new QCheckBox(groupBox_2);
00251 dbGridCheckBox->setObjectName(QString::fromUtf8("dbGridCheckBox"));
00252
00253 vboxLayout4->addWidget(dbGridCheckBox);
00254
00255
00256 vboxLayout1->addWidget(groupBox_2);
00257
00258 styleOptionsGroupBox = new QGroupBox(tab);
00259 styleOptionsGroupBox->setObjectName(QString::fromUtf8("styleOptionsGroupBox"));
00260 vboxLayout5 = new QVBoxLayout(styleOptionsGroupBox);
00261 vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
00262 hboxLayout4 = new QHBoxLayout();
00263 #ifndef Q_OS_MAC
00264 hboxLayout4->setSpacing(6);
00265 #endif
00266 #ifndef Q_OS_MAC
00267 hboxLayout4->setMargin(0);
00268 #endif
00269 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00270 label_4 = new QLabel(styleOptionsGroupBox);
00271 label_4->setObjectName(QString::fromUtf8("label_4"));
00272 sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
00273 label_4->setSizePolicy(sizePolicy);
00274
00275 hboxLayout4->addWidget(label_4);
00276
00277 styleCombo = new QComboBox(styleOptionsGroupBox);
00278 styleCombo->setObjectName(QString::fromUtf8("styleCombo"));
00279 sizePolicy2.setHeightForWidth(styleCombo->sizePolicy().hasHeightForWidth());
00280 styleCombo->setSizePolicy(sizePolicy2);
00281
00282 hboxLayout4->addWidget(styleCombo);
00283
00284
00285 vboxLayout5->addLayout(hboxLayout4);
00286
00287 useStylePalletCheckBox = new QCheckBox(styleOptionsGroupBox);
00288 useStylePalletCheckBox->setObjectName(QString::fromUtf8("useStylePalletCheckBox"));
00289
00290 vboxLayout5->addWidget(useStylePalletCheckBox);
00291
00292
00293 vboxLayout1->addWidget(styleOptionsGroupBox);
00294
00295 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00296
00297 vboxLayout1->addItem(spacerItem1);
00298
00299 tabWidget->addTab(tab, QString());
00300 tab_2 = new QWidget();
00301 tab_2->setObjectName(QString::fromUtf8("tab_2"));
00302 vboxLayout6 = new QVBoxLayout(tab_2);
00303 vboxLayout6->setObjectName(QString::fromUtf8("vboxLayout6"));
00304 toolbarGroupBox = new QGroupBox(tab_2);
00305 toolbarGroupBox->setObjectName(QString::fromUtf8("toolbarGroupBox"));
00306 vboxLayout7 = new QVBoxLayout(toolbarGroupBox);
00307 vboxLayout7->setObjectName(QString::fromUtf8("vboxLayout7"));
00308 hboxLayout5 = new QHBoxLayout();
00309 hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
00310 label_5 = new QLabel(toolbarGroupBox);
00311 label_5->setObjectName(QString::fromUtf8("label_5"));
00312
00313 hboxLayout5->addWidget(label_5);
00314
00315 iconSizeCombo = new QComboBox(toolbarGroupBox);
00316 iconSizeCombo->setObjectName(QString::fromUtf8("iconSizeCombo"));
00317
00318 hboxLayout5->addWidget(iconSizeCombo);
00319
00320
00321 vboxLayout7->addLayout(hboxLayout5);
00322
00323 hboxLayout6 = new QHBoxLayout();
00324 hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
00325 label_7 = new QLabel(toolbarGroupBox);
00326 label_7->setObjectName(QString::fromUtf8("label_7"));
00327
00328 hboxLayout6->addWidget(label_7);
00329
00330 toolbarStyleCombo = new QComboBox(toolbarGroupBox);
00331 toolbarStyleCombo->setObjectName(QString::fromUtf8("toolbarStyleCombo"));
00332
00333 hboxLayout6->addWidget(toolbarStyleCombo);
00334
00335
00336 vboxLayout7->addLayout(hboxLayout6);
00337
00338 hboxLayout7 = new QHBoxLayout();
00339 hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7"));
00340 label_6 = new QLabel(toolbarGroupBox);
00341 label_6->setObjectName(QString::fromUtf8("label_6"));
00342
00343 hboxLayout7->addWidget(label_6);
00344
00345 transportConsoleCombo = new QComboBox(toolbarGroupBox);
00346 transportConsoleCombo->setObjectName(QString::fromUtf8("transportConsoleCombo"));
00347
00348 hboxLayout7->addWidget(transportConsoleCombo);
00349
00350
00351 vboxLayout7->addLayout(hboxLayout7);
00352
00353 spacerItem2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00354
00355 vboxLayout7->addItem(spacerItem2);
00356
00357
00358 vboxLayout6->addWidget(toolbarGroupBox);
00359
00360 tabWidget->addTab(tab_2, QString());
00361 tab_3 = new QWidget();
00362 tab_3->setObjectName(QString::fromUtf8("tab_3"));
00363 vboxLayout8 = new QVBoxLayout(tab_3);
00364 vboxLayout8->setObjectName(QString::fromUtf8("vboxLayout8"));
00365 groupBox_3 = new QGroupBox(tab_3);
00366 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
00367 verticalLayout = new QVBoxLayout(groupBox_3);
00368 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00369 languageComboBox = new QComboBox(groupBox_3);
00370 languageComboBox->setObjectName(QString::fromUtf8("languageComboBox"));
00371 languageComboBox->setInsertPolicy(QComboBox::InsertAlphabetically);
00372
00373 verticalLayout->addWidget(languageComboBox);
00374
00375 label_8 = new QLabel(groupBox_3);
00376 label_8->setObjectName(QString::fromUtf8("label_8"));
00377
00378 verticalLayout->addWidget(label_8);
00379
00380 spacerItem3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00381
00382 verticalLayout->addItem(spacerItem3);
00383
00384
00385 vboxLayout8->addWidget(groupBox_3);
00386
00387 tabWidget->addTab(tab_3, QString());
00388
00389 vboxLayout->addWidget(tabWidget);
00390
00391
00392 retranslateUi(ThemeConfigPage);
00393
00394 tabWidget->setCurrentIndex(0);
00395
00396
00397 QMetaObject::connectSlotsByName(ThemeConfigPage);
00398 }
00399
00400 void retranslateUi(QWidget *ThemeConfigPage)
00401 {
00402 ThemeConfigPage->setWindowTitle(QApplication::translate("ThemeConfigPage", "Form", 0, QApplication::UnicodeUTF8));
00403 groupBox->setTitle(QApplication::translate("ThemeConfigPage", "Theme selector", 0, QApplication::UnicodeUTF8));
00404 label_2->setText(QApplication::translate("ThemeConfigPage", "Path to theme files", 0, QApplication::UnicodeUTF8));
00405 pathSelectButton->setText(QString());
00406 label->setText(QApplication::translate("ThemeConfigPage", "Available themes", 0, QApplication::UnicodeUTF8));
00407 label_3->setText(QApplication::translate("ThemeConfigPage", "Adjust theme color", 0, QApplication::UnicodeUTF8));
00408 groupBox_2->setTitle(QApplication::translate("ThemeConfigPage", "Theme Options", 0, QApplication::UnicodeUTF8));
00409 rectifiedCheckBox->setText(QApplication::translate("ThemeConfigPage", "Paint audio rectified", 0, QApplication::UnicodeUTF8));
00410 #ifndef QT_NO_TOOLTIP
00411 paintAudioWithOutlineCheckBox->setToolTip(QApplication::translate("ThemeConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00412 "p, li { white-space: pre-wrap; }\n"
00413 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00414 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Painting the waveform with an outline is more detailed, but requires more cpu.</p>\n"
00415 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
00416 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">If you experience slowness when painting many clips, or during animated scroll, unselect this option!</p></body></html>", 0, QApplication::UnicodeUTF8));
00417 #endif // QT_NO_TOOLTIP
00418 paintAudioWithOutlineCheckBox->setText(QApplication::translate("ThemeConfigPage", "Paint audio with outline", 0, QApplication::UnicodeUTF8));
00419 mergedCheckBox->setText(QApplication::translate("ThemeConfigPage", "Paint stereo audio as mono audio", 0, QApplication::UnicodeUTF8));
00420 dbGridCheckBox->setText(QApplication::translate("ThemeConfigPage", "Draw lines at 0 and -6 dB", 0, QApplication::UnicodeUTF8));
00421 styleOptionsGroupBox->setTitle(QApplication::translate("ThemeConfigPage", "Style Options", 0, QApplication::UnicodeUTF8));
00422 label_4->setText(QApplication::translate("ThemeConfigPage", "Select style", 0, QApplication::UnicodeUTF8));
00423 useStylePalletCheckBox->setText(QApplication::translate("ThemeConfigPage", "Use selected style's palette", 0, QApplication::UnicodeUTF8));
00424 tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("ThemeConfigPage", "Theme", 0, QApplication::UnicodeUTF8));
00425 toolbarGroupBox->setTitle(QApplication::translate("ThemeConfigPage", "Toolbars", 0, QApplication::UnicodeUTF8));
00426 label_5->setText(QApplication::translate("ThemeConfigPage", "Icon size", 0, QApplication::UnicodeUTF8));
00427 label_7->setText(QApplication::translate("ThemeConfigPage", "Button style", 0, QApplication::UnicodeUTF8));
00428 label_6->setText(QApplication::translate("ThemeConfigPage", "Size of transport console", 0, QApplication::UnicodeUTF8));
00429 tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("ThemeConfigPage", "Toolbars", 0, QApplication::UnicodeUTF8));
00430 groupBox_3->setTitle(QApplication::translate("ThemeConfigPage", "Interface Language", 0, QApplication::UnicodeUTF8));
00431 label_8->setText(QApplication::translate("ThemeConfigPage", "Changing the language of the Interface will take\n"
00432 "effect after restarting Traverso!", 0, QApplication::UnicodeUTF8));
00433 tabWidget->setTabText(tabWidget->indexOf(tab_3), QApplication::translate("ThemeConfigPage", "Language", 0, QApplication::UnicodeUTF8));
00434 Q_UNUSED(ThemeConfigPage);
00435 }
00436
00437 };
00438
00439 namespace Ui {
00440 class ThemeConfigPage: public Ui_ThemeConfigPage {};
00441 }
00442
00443 QT_END_NAMESPACE
00444
00445 #endif // UI_THEMECONFIGPAGE_H