00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DRIVERCONFIGPAGE_H
00011 #define UI_DRIVERCONFIGPAGE_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_DriverConfigPage
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 *DriverConfigPage)
00058 {
00059 if (DriverConfigPage->objectName().isEmpty())
00060 DriverConfigPage->setObjectName(QString::fromUtf8("DriverConfigPage"));
00061 DriverConfigPage->resize(240, 316);
00062 vboxLayout = new QVBoxLayout(DriverConfigPage);
00063 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00064 groupBox = new QGroupBox(DriverConfigPage);
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(DriverConfigPage);
00082 driverConfigGroupBox->setObjectName(QString::fromUtf8("driverConfigGroupBox"));
00083 vboxLayout1 = new QVBoxLayout(driverConfigGroupBox);
00084 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00085 hboxLayout1 = new QHBoxLayout();
00086 hboxLayout1->setSpacing(6);
00087 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00088 hboxLayout1->setContentsMargins(0, 0, 0, 0);
00089 label_2 = new QLabel(driverConfigGroupBox);
00090 label_2->setObjectName(QString::fromUtf8("label_2"));
00091
00092 hboxLayout1->addWidget(label_2);
00093
00094 duplexComboBox = new QComboBox(driverConfigGroupBox);
00095 duplexComboBox->setObjectName(QString::fromUtf8("duplexComboBox"));
00096
00097 hboxLayout1->addWidget(duplexComboBox);
00098
00099
00100 vboxLayout1->addLayout(hboxLayout1);
00101
00102 hboxLayout2 = new QHBoxLayout();
00103 hboxLayout2->setSpacing(6);
00104 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00105 hboxLayout2->setContentsMargins(0, 0, 0, 0);
00106 label_2_2 = new QLabel(driverConfigGroupBox);
00107 label_2_2->setObjectName(QString::fromUtf8("label_2_2"));
00108
00109 hboxLayout2->addWidget(label_2_2);
00110
00111 rateComboBox = new QComboBox(driverConfigGroupBox);
00112 rateComboBox->setObjectName(QString::fromUtf8("rateComboBox"));
00113
00114 hboxLayout2->addWidget(rateComboBox);
00115
00116
00117 vboxLayout1->addLayout(hboxLayout2);
00118
00119 hboxLayout3 = new QHBoxLayout();
00120 hboxLayout3->setSpacing(6);
00121 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00122 hboxLayout3->setContentsMargins(0, 0, 0, 0);
00123 label_7 = new QLabel(driverConfigGroupBox);
00124 label_7->setObjectName(QString::fromUtf8("label_7"));
00125
00126 hboxLayout3->addWidget(label_7);
00127
00128 latencyComboBox = new QComboBox(driverConfigGroupBox);
00129 latencyComboBox->setObjectName(QString::fromUtf8("latencyComboBox"));
00130
00131 hboxLayout3->addWidget(latencyComboBox);
00132
00133
00134 vboxLayout1->addLayout(hboxLayout3);
00135
00136 hboxLayout4 = new QHBoxLayout();
00137 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00138 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00139
00140 hboxLayout4->addItem(spacerItem);
00141
00142 restartDriverButton = new QPushButton(driverConfigGroupBox);
00143 restartDriverButton->setObjectName(QString::fromUtf8("restartDriverButton"));
00144
00145 hboxLayout4->addWidget(restartDriverButton);
00146
00147
00148 vboxLayout1->addLayout(hboxLayout4);
00149
00150
00151 vboxLayout->addWidget(driverConfigGroupBox);
00152
00153 jackGroupBox = new QGroupBox(DriverConfigPage);
00154 jackGroupBox->setObjectName(QString::fromUtf8("jackGroupBox"));
00155 vboxLayout2 = new QVBoxLayout(jackGroupBox);
00156 vboxLayout2->setSpacing(6);
00157 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00158 vboxLayout2->setContentsMargins(9, 9, 9, 9);
00159 jackTransportCheckBox = new QCheckBox(jackGroupBox);
00160 jackTransportCheckBox->setObjectName(QString::fromUtf8("jackTransportCheckBox"));
00161
00162 vboxLayout2->addWidget(jackTransportCheckBox);
00163
00164
00165 vboxLayout->addWidget(jackGroupBox);
00166
00167 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00168
00169 vboxLayout->addItem(spacerItem1);
00170
00171
00172 retranslateUi(DriverConfigPage);
00173
00174 QMetaObject::connectSlotsByName(DriverConfigPage);
00175 }
00176
00177 void retranslateUi(QWidget *DriverConfigPage)
00178 {
00179 DriverConfigPage->setWindowTitle(QApplication::translate("DriverConfigPage", "Form", 0, QApplication::UnicodeUTF8));
00180 groupBox->setTitle(QApplication::translate("DriverConfigPage", "Driver Selection", 0, QApplication::UnicodeUTF8));
00181 label->setText(QApplication::translate("DriverConfigPage", "Driver:", 0, QApplication::UnicodeUTF8));
00182 driverConfigGroupBox->setTitle(QApplication::translate("DriverConfigPage", "Configure driver", 0, QApplication::UnicodeUTF8));
00183 #ifndef QT_NO_TOOLTIP
00184 label_2->setToolTip(QApplication::translate("DriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00185 "p, li { white-space: pre-wrap; }\n"
00186 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00187 "<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"
00188 "<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"
00189 "<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"
00190 "<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));
00191 #endif // QT_NO_TOOLTIP
00192 label_2->setText(QApplication::translate("DriverConfigPage", "Duplex mode", 0, QApplication::UnicodeUTF8));
00193 duplexComboBox->clear();
00194 duplexComboBox->insertItems(0, QStringList()
00195 << QApplication::translate("DriverConfigPage", "Full", 0, QApplication::UnicodeUTF8)
00196 << QApplication::translate("DriverConfigPage", "Playback", 0, QApplication::UnicodeUTF8)
00197 << QApplication::translate("DriverConfigPage", "Capture", 0, QApplication::UnicodeUTF8)
00198 );
00199 #ifndef QT_NO_TOOLTIP
00200 label_2_2->setToolTip(QApplication::translate("DriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00201 "p, li { white-space: pre-wrap; }\n"
00202 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00203 "<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"
00204 "<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"
00205 "<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"
00206 "<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"
00207 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block"
00208 "-indent:0; text-indent:0px;\">the project's sample rate on creation.</p></body></html>", 0, QApplication::UnicodeUTF8));
00209 #endif // QT_NO_TOOLTIP
00210 label_2_2->setText(QApplication::translate("DriverConfigPage", "Sample rate", 0, QApplication::UnicodeUTF8));
00211 rateComboBox->clear();
00212 rateComboBox->insertItems(0, QStringList()
00213 << QApplication::translate("DriverConfigPage", "22050", 0, QApplication::UnicodeUTF8)
00214 << QApplication::translate("DriverConfigPage", "32000", 0, QApplication::UnicodeUTF8)
00215 << QApplication::translate("DriverConfigPage", "44100", 0, QApplication::UnicodeUTF8)
00216 << QApplication::translate("DriverConfigPage", "48000", 0, QApplication::UnicodeUTF8)
00217 << QApplication::translate("DriverConfigPage", "88200", 0, QApplication::UnicodeUTF8)
00218 << QApplication::translate("DriverConfigPage", "96000", 0, QApplication::UnicodeUTF8)
00219 );
00220 #ifndef QT_NO_TOOLTIP
00221 label_7->setToolTip(QApplication::translate("DriverConfigPage", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00222 "p, li { white-space: pre-wrap; }\n"
00223 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
00224 "<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"
00225 "<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"
00226 "<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"
00227 "<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"
00228 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left"
00229 ":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));
00230 #endif // QT_NO_TOOLTIP
00231 label_7->setText(QApplication::translate("DriverConfigPage", "Buffer latency (ms)", 0, QApplication::UnicodeUTF8));
00232 restartDriverButton->setText(QApplication::translate("DriverConfigPage", "Restart Driver", 0, QApplication::UnicodeUTF8));
00233 jackGroupBox->setTitle(QApplication::translate("DriverConfigPage", "Jack", 0, QApplication::UnicodeUTF8));
00234 jackTransportCheckBox->setText(QApplication::translate("DriverConfigPage", "Enable Jack transport control", 0, QApplication::UnicodeUTF8));
00235 Q_UNUSED(DriverConfigPage);
00236 }
00237
00238 };
00239
00240 namespace Ui {
00241 class DriverConfigPage: public Ui_DriverConfigPage {};
00242 }
00243
00244 QT_END_NAMESPACE
00245
00246 #endif // UI_DRIVERCONFIGPAGE_H