summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-05-23 17:56:35 (UTC)
committer llornkcor <llornkcor>2002-05-23 17:56:35 (UTC)
commit80acaa41e768bf4492dacdaf0a2cf19dff89b500 (patch) (side-by-side diff)
tree5d56f6da9de57316161b3a2a6d2f3a7ef2f048cb
parent6383d771c26498df45a89b353165d3ffcb1dd409 (diff)
downloadopie-80acaa41e768bf4492dacdaf0a2cf19dff89b500.zip
opie-80acaa41e768bf4492dacdaf0a2cf19dff89b500.tar.gz
opie-80acaa41e768bf4492dacdaf0a2cf19dff89b500.tar.bz2
hmm ok,. I officially hate .ui files
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettingsbase.cpp54
1 files changed, 29 insertions, 25 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp
index 7c2123a..f86db78 100644
--- a/noncore/settings/sound/soundsettingsbase.cpp
+++ b/noncore/settings/sound/soundsettingsbase.cpp
@@ -3,3 +3,3 @@
**
-** Created: Thu May 23 11:23:54 2002
+** Created: Sun May 19 12:11:35 2002
** by: The User Interface Compiler (uic)
@@ -13,2 +13,4 @@
#include <qgroupbox.h>
+#include <qmainwindow.h>
+
#include <qlabel.h>
@@ -76,3 +78,3 @@ static const char* const image1_data[] = {
SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl )
- : QDialog( parent, name, modal, fl )
+ : QMainWindow( parent, name, fl )
{
@@ -83,3 +85,3 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
resize( 255, 301 );
- setCaption( tr( "Sound Settings" ) );
+ setCaption( tr( "Vmemo Settings" ) );
SoundSettingsBaseLayout = new QGridLayout( this );
@@ -97,12 +99,12 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
GroupBox3Layout->setAlignment( Qt::AlignTop );
- GroupBox3Layout->setSpacing( 6 );
- GroupBox3Layout->setMargin( 11 );
+ GroupBox3Layout->setSpacing( 2 );
+ GroupBox3Layout->setMargin( 2 );
Layout10 = new QVBoxLayout;
- Layout10->setSpacing( 6 );
- Layout10->setMargin( 0 );
+ Layout10->setSpacing( 2 );
+ Layout10->setMargin( 2 );
Layout16 = new QHBoxLayout;
- Layout16->setSpacing( 6 );
- Layout16->setMargin( 0 );
+ Layout16->setSpacing( 2 );
+ Layout16->setMargin( 2 );
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
@@ -123,4 +125,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
Layout13 = new QHBoxLayout;
- Layout13->setSpacing( 6 );
- Layout13->setMargin( 0 );
+ Layout13->setSpacing( 2 );
+ Layout13->setMargin( 2 );
@@ -140,4 +142,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
Layout12 = new QHBoxLayout;
- Layout12->setSpacing( 6 );
- Layout12->setMargin( 0 );
+ Layout12->setSpacing( 2 );
+ Layout12->setMargin( 2 );
@@ -165,4 +167,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
Layout17 = new QHBoxLayout;
- Layout17->setSpacing( 6 );
- Layout17->setMargin( 0 );
+ Layout17->setSpacing( 2 );
+ Layout17->setMargin( 2 );
QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
@@ -186,4 +188,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
Layout12_2 = new QVBoxLayout;
- Layout12_2->setSpacing( 6 );
- Layout12_2->setMargin( 0 );
+ Layout12_2->setSpacing( 2 );
+ Layout12_2->setMargin( 2 );
@@ -195,3 +197,3 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
Layout11 = new QVBoxLayout( privateLayoutWidget );
- Layout11->setSpacing( 6 );
+ Layout11->setSpacing( 2 );
Layout11->setMargin( 0 );
@@ -203,6 +205,8 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" );
+ sampleRate->insertItem( tr( "8000" ) );
sampleRate->insertItem( tr( "11025" ) );
sampleRate->insertItem( tr( "22050" ) );
- sampleRate->insertItem( tr( "32000" ) );
+ sampleRate->insertItem( tr( "33075" ) );
sampleRate->insertItem( tr( "44100" ) );
+ sampleRate->setFixedWidth(90);
Layout11->addWidget( sampleRate );
@@ -229,9 +233,9 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
-// touchsound = new QCheckBox( this, "touchsound" );
-// touchsound->setText( tr( "Screen sounds" ) );
-// Layout12_2->addWidget( touchsound );
+// // touchsound = new QCheckBox( this, "touchsound" );
+// // touchsound->setText( tr( "Screen sounds" ) );
+// // Layout12_2->addWidget( touchsound );
-// keysound = new QCheckBox( this, "keysound" );
-// keysound->setText( tr( "Keyboard sounds" ) );
-// Layout12_2->addWidget( keysound );
+// // keysound = new QCheckBox( this, "keysound" );
+// // keysound->setText( tr( "Keyboard sounds" ) );
+// // Layout12_2->addWidget( keysound );
QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );