summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-12-15 09:47:34 +0000
committerThom Johansen <thomj@rockbox.org>2007-12-15 09:47:34 +0000
commit1e489e53b8d0807fc52423ae7453d4b1d047d370 (patch)
tree4a92a119e85ba810c72207919a98f35843fd15b4
parent893551e4ed63eddf52d280844807fb1e07435bac (diff)
Change some defaults and give settings widgets better properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15931 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/encoders.cpp3
-rw-r--r--rbutil/rbutilqt/rbspeexcfgfrm.ui17
2 files changed, 17 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/encoders.cpp b/rbutil/rbutilqt/encoders.cpp
index 3eeea02300..4f25f813dd 100644
--- a/rbutil/rbutilqt/encoders.cpp
+++ b/rbutil/rbutilqt/encoders.cpp
@@ -238,9 +238,8 @@ EncRbSpeex::EncRbSpeex(QWidget *parent) : EncBase(parent)
defaultQuality = 8.f;
defaultVolume = 1.f;
- defaultComplexity =3;
+ defaultComplexity = 10;
defaultBand = false;
-
}
diff --git a/rbutil/rbutilqt/rbspeexcfgfrm.ui b/rbutil/rbutilqt/rbspeexcfgfrm.ui
index ac57819fb0..c4942184bb 100644
--- a/rbutil/rbutilqt/rbspeexcfgfrm.ui
+++ b/rbutil/rbutilqt/rbspeexcfgfrm.ui
@@ -22,6 +22,12 @@
</item>
<item row="1" column="0" >
<widget class="QDoubleSpinBox" name="volume" >
+ <property name="maximum" >
+ <double>10.000000000000000</double>
+ </property>
+ <property name="singleStep" >
+ <double>0.010000000000000</double>
+ </property>
<property name="value" >
<double>1.000000000000000</double>
</property>
@@ -43,6 +49,12 @@
</item>
<item row="2" column="0" >
<widget class="QDoubleSpinBox" name="quality" >
+ <property name="decimals" >
+ <number>1</number>
+ </property>
+ <property name="maximum" >
+ <double>10.000000000000000</double>
+ </property>
<property name="singleStep" >
<double>1.000000000000000</double>
</property>
@@ -60,8 +72,11 @@
</item>
<item row="3" column="0" >
<widget class="QSpinBox" name="complexity" >
+ <property name="maximum" >
+ <number>10</number>
+ </property>
<property name="value" >
- <number>3</number>
+ <number>10</number>
</property>
</widget>
</item>