00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_AUDIODRIVERCONFIGPAGE_H
00011 #define UI_AUDIODRIVERCONFIGPAGE_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/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QVBoxLayout>
00026 #include <QtGui/QWidget>
00027
00028 QT_BEGIN_NAMESPACE
00029
00030 class Ui_AudioDriverConfigPage
00031 {
00032 public:
00033 QVBoxLayout *vboxLayout;
00034 QGroupBox *groupBox;
00035 QHBoxLayout *hboxLayout;
00036 QLabel *label;
00037 QComboBox *driverCombo;
00038 QGroupBox *driverConfigGroupBox;
00039 QVBoxLayout *vboxLayout1;
00040 QHBoxLayout *hboxLayout1;
00041 QLabel *label_2;
00042 QComboBox *duplexComboBox;
00043 QHBoxLayout *hboxLayout2;
00044 QLabel *label_2_2;
00045 QComboBox *rateComboBox;
00046 QHBoxLayout *hboxLayout3;
00047 QLabel *label_7;
00048 QComboBox *latencyComboBox;
00049 QHBoxLayout *hboxLayout4;
00050 QSpacerItem *spacerItem;
00051 QPushButton *restartDriverButton;
00052 QGroupBox *jackGroupBox;
00053 QVBoxLayout *vboxLayout2;
00054 QCheckBox *jackTransportCheckBox;
00055 QSpacerItem *spacerItem1;
00056
00057 void setupUi(QWidget *AudioDriverConfigPage)
00058 {
00059 if (AudioDriverConfigPage->objectName().isEmpty())
00060 AudioDriverConfigPage->setObjectName(QString::fromUtf8("AudioDriverConfigPage"));
00061 AudioDriverConfigPage->resize(250, 344);
00062 vboxLayout = new QVBoxLayout(AudioDriverConfigPage);
00063 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00064 groupBox = new QGroupBox(AudioDriverConfigPage);
00065 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00066 hboxLayout = new QHBoxLayout(groupBox);
00067 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00068 label = new QLabel(groupBox);
00069 label->setObjectName(QString::fromUtf8("label"));
00070
00071 hboxLayout->addWidget(label);
00072
00073 driverCombo = new QComboBox(groupBox);
00074 driverCombo->setObjectName(QString::fromUtf8("driverCombo"));
00075
00076 hboxLayout->addWidget(driverCombo);
00077
00078
00079 vboxLayout->addWidget(groupBox);
00080
00081 driverConfigGroupBox = new QGroupBox(AudioDriverConfigPage);
00082 driverConfigGroupBox->setObjectName(QString::fromUtf8("driverConfigGroupBox"));
00083 vboxLayout1 = new QVBoxLayout(driverConfigGroupBox);
00084 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00085 hboxLayout1 = new QHBoxLayout();
00086 #ifndef Q_OS_MAC
00087 hboxLayout1->setSpacing(6);
00088 #endif
00089 #ifndef Q_OS_MAC
00090 hboxLayout1->setMargin(0);
00091 #endif
00092 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00093 label_2 = new QLabel(driverConfigGroupBox);
00094 label_2->setObjectName(QString::fromUtf8("label_2"));
00095
00096 hboxLayout1->addWidget(label_2);
00097
00098 duplexComboBox = new QComboBox(driverConfigGroupBox);
00099 duplexComboBox->setObjectName(QString::fromUtf8("duplexComboBox"));
00100
00101 hboxLayout1->addWidget(duplexComboBox);
00102
00103
00104 vboxLayout1->addLayout(hboxLayout1);
00105
00106 hboxLayout2 = new QHBoxLayout();
00107 #ifndef Q_OS_MAC
00108 hboxLayout2->setSpacing(6);
00109 #endif
00110 hboxLayout2->setMargin(0);
00111 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00112 label_2_2 = new QLabel(driverConfigGroupBox);
00113 label_2_2->setObjectName(QString::fromUtf8("label_2_2"));
00114
00115 hboxLayout2->addWidget(label_2_2);
00116
00117 rateComboBox = new QComboBox(driverConfigGroupBox);
00118 rateComboBox->setObjectName(QString::fromUtf8("rateComboBox"));
00119
00120 hboxLayout2->addWidget(rateComboBox);
00121
00122
00123 vboxLayout1->addLayout(hboxLayout2);
00124
00125 hboxLayout3 = new QHBoxLayout();
00126 #ifndef Q_OS_MAC
00127 hboxLayout3->setSpacing(6);
00128 #endif
00129 hboxLayout3->setMargin(0);
00130 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00131 label_7 = new QLabel(driverConfigGroupBox);
00132 label_7->setObjectName(QString::fromUtf8("label_7"));
00133
00134 hboxLayout3->addWidget(label_7);
00135
00136 latencyComboBox = new QComboBox(driverConfigGroupBox);
00137 latencyComboBox->setObjectName(QString::fromUtf8("latencyComboBox"));
00138
00139 hboxLayout3->addWidget(latencyComboBox);
00140
00141
00142 vboxLayout1->addLayout(hboxLayout3);
00143
00144 hboxLayout4 = new QHBoxLayout();
00145 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00146 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00147
00148 hboxLayout4->addItem(spacerItem);
00149
00150 restartDriverButton = new QPushButton(driverConfigGroupBox);
00151 restartDriverButton->setObjectName(QString::fromUtf8("restartDriverButton"));
00152
00153 hboxLayout4->addWidget(restartDriverButton);
00154
00155
00156 vboxLayout1->addLayout(hboxLayout4);
00157
00158
00159 vboxLayout->addWidget(driverConfigGroupBox);
00160
00161 jackGroupBox = new QGroupBox(AudioDriverConfigPage);
00162 jackGroupBox->setObjectName(QString::fromUtf8("jackGroupBox"));
00163 vboxLayout2 = new QVBoxLayout(jackGroupBox);
00164 #ifndef Q_OS_MAC
00165 vboxLayout2->setSpacing(6);
00166 #endif
00167 #ifndef Q_OS_MAC
00168 vboxLayout2->setMargin(9);
00169 #endif
00170 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00171 jackTransportCheckBox = new QCheckBox(jackGroupBox);
00172 jackTransportCheckBox->setObjectName(QString::fromUtf8("jackTransportCheckBox"));
00173
00174 vboxLayout2->addWidget(jackTransportCheckBox);
00175
00176
00177 vboxLayout->addWidget(jackGroupBox);
00178
00179 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00180
00181 vboxLayout->addItem(spacerItem1);
00182
00183
00184 retranslateUi(AudioDriverConfigPage);
00185
00186 QMetaObject::connectSlotsByName(AudioDriverConfigPage);
00187 }
00188
00189 void retranslateUi(QWidget *AudioDriverConfigPage)
00190 {
00191 AudioDriverConfigPage->setWindowTitle(QApplication::translate("AudioDriverConfigPage", "Form", 0, QApplication::UnicodeUTF8));
00192 groupBox->setTitle(QApplication::translate("AudioDriverConfigPage", "Driver Selection", 0, QApplication::UnicodeUTF8));
00193 label->setText(QApplication::translate("AudioDriverConfigPage", "Driver:", 0, QApplication::UnicodeUTF8));
00194 driverConfigGroupBox->setTitle(QApplication::translate("AudioDriverConfigPage", "Configure driver", 0, QApplication::UnicodeUTF8));
00195 #ifndef QT_NO_TOOLTIP
00196 label_2->setToolTip(QApplication::translate("AudioDriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00197 "p, li { white-space: pre-wrap; }\n"
00198 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00199 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Duplex mode:</span></p>\n"
00200 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Defines if both the Playback and Capture buses </p>\n"
00201 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">of your soundcard are to be used, </p>\n"
00202 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">or only the Playback or Capture bus(es).</p></body></html>", 0, QApplication::UnicodeUTF8));
00203 #endif // QT_NO_TOOLTIP
00204 label_2->setText(QApplication::translate("AudioDriverConfigPage", "Duplex mode", 0, QApplication::UnicodeUTF8));
00205 duplexComboBox->clear();
00206 duplexComboBox->insertItems(0, QStringList()
00207 << QApplication::translate("AudioDriverConfigPage", "Full", 0, QApplication::UnicodeUTF8)
00208 << QApplication::translate("AudioDriverConfigPage", "Playback", 0, QApplication::UnicodeUTF8)
00209 << QApplication::translate("AudioDriverConfigPage", "Capture", 0, QApplication::UnicodeUTF8)
00210 );
00211 #ifndef QT_NO_TOOLTIP
00212 label_2_2->setToolTip(QApplication::translate("AudioDriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00213 "p, li { white-space: pre-wrap; }\n"
00214 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00215 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Sample rate:</span></p>\n"
00216 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The sample rate used by the audio card.</p>\n"
00217 "<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"
00218 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">New projects will use this samplerate as </p>\n"
00219 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block"
00220 "-indent:0; text-indent:0px;\">the project's sample rate on creation.</p></body></html>", 0, QApplication::UnicodeUTF8));
00221 #endif // QT_NO_TOOLTIP
00222 label_2_2->setText(QApplication::translate("AudioDriverConfigPage", "Sample rate", 0, QApplication::UnicodeUTF8));
00223 rateComboBox->clear();
00224 rateComboBox->insertItems(0, QStringList()
00225 << QApplication::translate("AudioDriverConfigPage", "22050", 0, QApplication::UnicodeUTF8)
00226 << QApplication::translate("AudioDriverConfigPage", "32000", 0, QApplication::UnicodeUTF8)
00227 << QApplication::translate("AudioDriverConfigPage", "44100", 0, QApplication::UnicodeUTF8)
00228 << QApplication::translate("AudioDriverConfigPage", "48000", 0, QApplication::UnicodeUTF8)
00229 << QApplication::translate("AudioDriverConfigPage", "88200", 0, QApplication::UnicodeUTF8)
00230 << QApplication::translate("AudioDriverConfigPage", "96000", 0, QApplication::UnicodeUTF8)
00231 );
00232 #ifndef QT_NO_TOOLTIP
00233 label_7->setToolTip(QApplication::translate("AudioDriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00234 "p, li { white-space: pre-wrap; }\n"
00235 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00236 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Buffer latency:</span></p>\n"
00237 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">The latency introduced by the size of the audio buffers.</p>\n"
00238 "<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"
00239 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Some people need low latencies, if you don't need it, </p>\n"
00240 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left"
00241 ":0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">or don't know what it means, please leave the default setting!</p></body></html>", 0, QApplication::UnicodeUTF8));
00242 #endif // QT_NO_TOOLTIP
00243 label_7->setText(QApplication::translate("AudioDriverConfigPage", "Buffer latency (ms)", 0, QApplication::UnicodeUTF8));
00244 restartDriverButton->setText(QApplication::translate("AudioDriverConfigPage", "Restart Driver", 0, QApplication::UnicodeUTF8));
00245 jackGroupBox->setTitle(QApplication::translate("AudioDriverConfigPage", "Jack", 0, QApplication::UnicodeUTF8));
00246 jackTransportCheckBox->setText(QApplication::translate("AudioDriverConfigPage", "Enable Jack transport control", 0, QApplication::UnicodeUTF8));
00247 Q_UNUSED(AudioDriverConfigPage);
00248 }
00249
00250 };
00251
00252 namespace Ui {
00253 class AudioDriverConfigPage: public Ui_AudioDriverConfigPage {};
00254 }
00255
00256 QT_END_NAMESPACE
00257
00258 #endif // UI_AUDIODRIVERCONFIGPAGE_H