author | sandman <sandman> | 2002-10-08 18:52:17 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-08 18:52:17 (UTC) |
commit | a2b0a1fd69182b814b9b553868163003277e6579 (patch) (unidiff) | |
tree | 71261a75b633f7422a2d29f30971df608f821db5 /noncore | |
parent | 7599e0a20572d44ca805e6effb878601c707fd05 (diff) | |
download | opie-a2b0a1fd69182b814b9b553868163003277e6579.zip opie-a2b0a1fd69182b814b9b553868163003277e6579.tar.gz opie-a2b0a1fd69182b814b9b553868163003277e6579.tar.bz2 |
The sliders are now more useable with a stylus
-rw-r--r-- | noncore/styles/liquid/liquidset.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/styles/liquid/liquidset.cpp b/noncore/styles/liquid/liquidset.cpp index ea0b3c9..255456c 100644 --- a/noncore/styles/liquid/liquidset.cpp +++ b/noncore/styles/liquid/liquidset.cpp | |||
@@ -88,6 +88,7 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl ) | |||
88 | 88 | ||
89 | m_opacsld = new QSlider ( Horizontal, this ); | 89 | m_opacsld = new QSlider ( Horizontal, this ); |
90 | m_opacsld-> setRange ( -20, 20 ); | 90 | m_opacsld-> setRange ( -20, 20 ); |
91 | m_opacsld-> setSteps ( 1, 1 ); | ||
91 | m_opacsld-> setValue ( opacity ); | 92 | m_opacsld-> setValue ( opacity ); |
92 | m_opacsld-> setTickmarks ( QSlider::Below ); | 93 | m_opacsld-> setTickmarks ( QSlider::Below ); |
93 | grid-> addMultiCellWidget ( m_opacsld, 1, 1, 2, 5 ); | 94 | grid-> addMultiCellWidget ( m_opacsld, 1, 1, 2, 5 ); |
@@ -112,6 +113,7 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl ) | |||
112 | 113 | ||
113 | m_contsld = new QSlider ( Horizontal, this ); | 114 | m_contsld = new QSlider ( Horizontal, this ); |
114 | m_contsld-> setRange ( 0, 10 ); | 115 | m_contsld-> setRange ( 0, 10 ); |
116 | m_contsld-> setSteps ( 1, 1 ); | ||
115 | m_contsld-> setValue ( contrast ); | 117 | m_contsld-> setValue ( contrast ); |
116 | m_contsld-> setTickmarks ( QSlider::Below ); | 118 | m_contsld-> setTickmarks ( QSlider::Below ); |
117 | hbox-> addWidget ( m_contsld, 10 ); | 119 | hbox-> addWidget ( m_contsld, 10 ); |