traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/traverso QuickDriverConfigWidget.c...


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/traverso QuickDriverConfigWidget.c...
Date: Sat, 24 May 2008 15:55:44 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       08/05/24 15:55:44

Removed files:
        src/traverso   : QuickDriverConfigWidget.cpp 
                         QuickDriverConfigWidget.h 
        src/traverso/ui: QuickDriverConfigWidget.ui 

Log message:
        * remove this widget, it's barely of use!

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/QuickDriverConfigWidget.cpp?cvsroot=traverso&r1=1.12&r2=0
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/QuickDriverConfigWidget.h?cvsroot=traverso&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/ui/QuickDriverConfigWidget.ui?cvsroot=traverso&r1=1.4&r2=0

Patches:
Index: QuickDriverConfigWidget.cpp
===================================================================
RCS file: QuickDriverConfigWidget.cpp
diff -N QuickDriverConfigWidget.cpp
--- QuickDriverConfigWidget.cpp 15 Jan 2008 19:51:49 -0000      1.12
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,155 +0,0 @@
-/*
-Copyright (C) 2005-2006 Remon Sijrier 
-
-This file is part of Traverso
-
-Traverso is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
-
-$Id: QuickDriverConfigWidget.cpp,v 1.12 2008/01/15 19:51:49 r_sijrier Exp $
-*/
-
-#include "QuickDriverConfigWidget.h"
-#include "ui_QuickDriverConfigWidget.h"
-
-#include <AudioDevice.h>
-#include <Config.h>
-
-// Always put me below _all_ includes, this is needed
-// in case we run with memory leak detection enabled!
-#include "Debugger.h"
-
-QuickDriverConfigWidget::QuickDriverConfigWidget( QWidget * parent )
-       : QWidget(parent, Qt::Popup)
-{
-       setupUi(this);
-       
-       periodBufferSizesList << 16 << 32 << 64 << 128 << 256 << 512 << 1024 << 
2048 << 4096;
-       
-       connect(driverComboBox, SIGNAL(currentIndexChanged(QString)), this, 
SLOT(driver_combobox_index_changed(QString)));
-       connect(rateComboBox, SIGNAL(currentIndexChanged(QString)), this, 
SLOT(rate_combobox_index_changed(QString)));
-       connect(&audiodevice(), SIGNAL(driverParamsChanged()), this, 
SLOT(driver_params_changed()));
-       
-       okButton->setDefault(true);
-       
-       QStringList drivers = audiodevice().get_available_drivers();
-       foreach(QString name, drivers) {
-               driverComboBox->addItem(name);
-       }
-               
-       update_driver_info();
-}
-
-QuickDriverConfigWidget::~ QuickDriverConfigWidget( )
-{}
-
-
-void QuickDriverConfigWidget::on_cancelButton_clicked( )
-{
-       hide();
-       update_driver_info();
-}
-
-void QuickDriverConfigWidget::on_okButton_clicked( )
-{
-       QString driver = driverComboBox->currentText();
-       int rate = rateComboBox->currentText().toInt();
-       int bufSize = periodBufferSizesList.at(latencyComboBox->currentIndex());
-       bool capture = config().get_property("Hardware", "capture", 1).toInt();
-       bool playback = config().get_property("Hardware", "playback", 
1).toInt();
-       QString cardDevice = "";
-       QString ditherShape = config().get_property("Hardware", "DitherShape", 
"None").toString();
-
-#if defined (ALSA_SUPPORT)
-       if (driver == "ALSA") {
-               cardDevice = config().get_property("Hardware", "carddevice", 
"hw:0").toString();
-       }
-#endif
-       
-#if defined (PORTAUDIO_SUPPORT)
-       if (driver == "PortAudio") {
-#if defined (Q_WS_X11)
-               cardDevice = config().get_property("Hardware", "pahostapi", 
"alsa").toString();
-#elif defined (Q_WS_MAC)
-               cardDevice = config().get_property("Hardware", "pahostapi", 
"coreaudio").toString();
-#elif defined (Q_WS_WIN)
-               cardDevice = config().get_property("Hardware", "pahostapi", 
"wmme").toString();
-#endif
-       }
-#endif // end PORTAUDIO_SUPPORT
-       
-       
-       audiodevice().set_parameters(rate, bufSize, driver, capture, playback, 
cardDevice, ditherShape);
-
-       config().set_property("Hardware", "samplerate", 
rateComboBox->currentText().toInt());
-       config().set_property("Hardware", "buffersize", 
periodBufferSizesList.at(latencyComboBox->currentIndex()));
-       config().set_property("Hardware", "drivertype", 
driverComboBox->currentText());
-
-       hide();
-}
-
-void QuickDriverConfigWidget::driver_combobox_index_changed( QString )
-{
-}
-
-void QuickDriverConfigWidget::rate_combobox_index_changed( QString )
-{
-       update_latency_combobox();
-}
-
-void QuickDriverConfigWidget::update_latency_combobox( )
-{
-       latencyComboBox->clear();
-       int rate = rateComboBox->currentText().toInt();
-       int bufferSize = audiodevice().get_buffer_size();
-       
-       for (int i=0; i<periodBufferSizesList.size(); ++i) {
-               QString latency = QString::number( 
((float)(periodBufferSizesList.at(i)) / rate) * 1000 * 2, 'f', 2);
-               latencyComboBox->addItem(latency);
-       }
-       
-       int index = periodBufferSizesList.indexOf(bufferSize);
-       latencyComboBox->setCurrentIndex(index);
-}
-
-void QuickDriverConfigWidget::update_driver_info( )
-{
-       int driverIndex = 
driverComboBox->findText(audiodevice().get_driver_type());
-       if (driverIndex >= 0) {
-               driverComboBox->setCurrentIndex(driverIndex);
-       } else {
-               PERROR("AudioDevice returned a driver type which is not found 
in the driverComboBox????");
-       }
-       
-       int rateIndex = 
rateComboBox->findText(QString::number(audiodevice().get_sample_rate()));
-       if (rateIndex >= 0) {
-               rateComboBox->setCurrentIndex(rateIndex);
-       } else {
-               PERROR("AudioDevice returned a samplerate which is not found in 
the rateComboBox????");
-       }
-               
-       
-       update_latency_combobox();
-}
-
-void QuickDriverConfigWidget::driver_params_changed( )
-{
-       if (isHidden()) {
-               update_driver_info();
-       }
-}
-
-
-//eof
- 

Index: QuickDriverConfigWidget.h
===================================================================
RCS file: QuickDriverConfigWidget.h
diff -N QuickDriverConfigWidget.h
--- QuickDriverConfigWidget.h   3 Apr 2007 21:25:25 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,58 +0,0 @@
-/*
-    Copyright (C) 2005-2006 Remon Sijrier 
- 
-    This file is part of Traverso
- 
-    Traverso is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
- 
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
- 
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
- 
-    $Id: QuickDriverConfigWidget.h,v 1.2 2007/04/03 21:25:25 benjie Exp $
-*/
-
-#ifndef QUICK_DRIVERCONFIG_WIDGET_H
-#define QUICK_DRIVERCONFIG_WIDGET_H
-
-#include "ui_QuickDriverConfigWidget.h"
-#include <QWidget>
-#include <QList>
-
-class QuickDriverConfigWidget : public QWidget, private 
Ui::QuickDriverConfigWidget
-{
-       Q_OBJECT
-
-public:
-       QuickDriverConfigWidget(QWidget* parent = 0);
-       ~QuickDriverConfigWidget();
-
-private:
-       QList<int>      periodBufferSizesList;
-       
-       void update_latency_combobox();
-        void update_driver_info();
-       
-private slots:
-       void on_cancelButton_clicked();
-       void on_okButton_clicked();
-       
-       void driver_combobox_index_changed(QString);
-       void rate_combobox_index_changed(QString);
-       void driver_params_changed();
-};
-
-#endif
-
-//eof
-
-
- 

Index: ui/QuickDriverConfigWidget.ui
===================================================================
RCS file: ui/QuickDriverConfigWidget.ui
diff -N ui/QuickDriverConfigWidget.ui
--- ui/QuickDriverConfigWidget.ui       3 Apr 2007 21:25:25 -0000       1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,717 +0,0 @@
-<ui version="4.0" >
- <class>QuickDriverConfigWidget</class>
- <widget class="QWidget" name="QuickDriverConfigWidget" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>285</width>
-    <height>131</height>
-   </rect>
-  </property>
-  <property name="palette" >
-   <palette>
-    <active>
-     <colorrole role="WindowText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Button" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>221</red>
-        <green>223</green>
-        <blue>228</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Light" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Midlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Dark" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>85</red>
-        <green>85</green>
-        <blue>85</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Mid" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>199</red>
-        <green>199</green>
-        <blue>199</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Text" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="BrightText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="ButtonText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Base" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Window" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>247</red>
-        <green>249</green>
-        <blue>208</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Shadow" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Highlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>103</red>
-        <green>141</green>
-        <blue>178</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="HighlightedText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Link" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>238</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="LinkVisited" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>82</red>
-        <green>24</green>
-        <blue>139</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="AlternateBase" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>232</red>
-        <green>232</green>
-        <blue>232</blue>
-       </color>
-      </brush>
-     </colorrole>
-    </active>
-    <inactive>
-     <colorrole role="WindowText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Button" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>221</red>
-        <green>223</green>
-        <blue>228</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Light" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Midlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Dark" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>85</red>
-        <green>85</green>
-        <blue>85</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Mid" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>199</red>
-        <green>199</green>
-        <blue>199</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Text" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="BrightText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="ButtonText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Base" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Window" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>247</red>
-        <green>249</green>
-        <blue>208</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Shadow" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Highlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>103</red>
-        <green>141</green>
-        <blue>178</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="HighlightedText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Link" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>238</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="LinkVisited" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>82</red>
-        <green>24</green>
-        <blue>139</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="AlternateBase" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>232</red>
-        <green>232</green>
-        <blue>232</blue>
-       </color>
-      </brush>
-     </colorrole>
-    </inactive>
-    <disabled>
-     <colorrole role="WindowText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>128</red>
-        <green>128</green>
-        <blue>128</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Button" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>221</red>
-        <green>223</green>
-        <blue>228</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Light" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Midlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Dark" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>85</red>
-        <green>85</green>
-        <blue>85</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Mid" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>199</red>
-        <green>199</green>
-        <blue>199</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Text" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>199</red>
-        <green>199</green>
-        <blue>199</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="BrightText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="ButtonText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>128</red>
-        <green>128</green>
-        <blue>128</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Base" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>247</red>
-        <green>249</green>
-        <blue>208</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Window" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>247</red>
-        <green>249</green>
-        <blue>208</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Shadow" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>0</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Highlight" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>86</red>
-        <green>117</green>
-        <blue>148</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="HighlightedText" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>255</red>
-        <green>255</green>
-        <blue>255</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="Link" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>0</red>
-        <green>0</green>
-        <blue>238</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="LinkVisited" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>82</red>
-        <green>24</green>
-        <blue>139</blue>
-       </color>
-      </brush>
-     </colorrole>
-     <colorrole role="AlternateBase" >
-      <brush brushstyle="SolidPattern" >
-       <color alpha="255" >
-        <red>232</red>
-        <green>232</green>
-        <blue>232</blue>
-       </color>
-      </brush>
-     </colorrole>
-    </disabled>
-   </palette>
-  </property>
-  <property name="windowTitle" >
-   <string>Form</string>
-  </property>
-  <layout class="QGridLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item row="3" column="0" colspan="3" >
-    <widget class="Line" name="line_3" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="2" >
-    <widget class="QPushButton" name="okButton" >
-     <property name="maximumSize" >
-      <size>
-       <width>16777215</width>
-       <height>22</height>
-      </size>
-     </property>
-     <property name="text" >
-      <string>OK</string>
-     </property>
-     <property name="autoDefault" >
-      <bool>false</bool>
-     </property>
-     <property name="default" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="1" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>40</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="4" column="0" >
-    <widget class="QPushButton" name="cancelButton" >
-     <property name="maximumSize" >
-      <size>
-       <width>16777215</width>
-       <height>22</height>
-      </size>
-     </property>
-     <property name="text" >
-      <string>Cancel</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="2" >
-    <widget class="QComboBox" name="latencyComboBox" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>1</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" >
-    <widget class="QComboBox" name="rateComboBox" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize" >
-      <size>
-       <width>75</width>
-       <height>0</height>
-      </size>
-     </property>
-     <item>
-      <property name="text" >
-       <string>22050</string>
-      </property>
-     </item>
-     <item>
-      <property name="text" >
-       <string>32000</string>
-      </property>
-     </item>
-     <item>
-      <property name="text" >
-       <string>44100</string>
-      </property>
-     </item>
-     <item>
-      <property name="text" >
-       <string>48000</string>
-      </property>
-     </item>
-     <item>
-      <property name="text" >
-       <string>88200</string>
-      </property>
-     </item>
-     <item>
-      <property name="text" >
-       <string>96000</string>
-      </property>
-     </item>
-    </widget>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QComboBox" name="driverComboBox" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize" >
-      <size>
-       <width>90</width>
-       <height>0</height>
-      </size>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="2" >
-    <widget class="QLabel" name="label_12" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::StyledPanel</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Raised</enum>
-     </property>
-     <property name="text" >
-      <string>Latency (ms)</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" >
-    <widget class="QLabel" name="label_5" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize" >
-      <size>
-       <width>75</width>
-       <height>0</height>
-      </size>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::StyledPanel</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Raised</enum>
-     </property>
-     <property name="text" >
-      <string>Rate (Hz)</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="0" >
-    <widget class="QLabel" name="label" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="frameShape" >
-      <enum>QFrame::StyledPanel</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Raised</enum>
-     </property>
-     <property name="text" >
-      <string>Driver</string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="1" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType" >
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>75</width>
-       <height>12</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-  </layout>
- </widget>
- <tabstops>
-  <tabstop>driverComboBox</tabstop>
-  <tabstop>rateComboBox</tabstop>
-  <tabstop>latencyComboBox</tabstop>
-  <tabstop>cancelButton</tabstop>
-  <tabstop>okButton</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]