summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-08 18:52:17 (UTC)
committer sandman <sandman>2002-10-08 18:52:17 (UTC)
commita2b0a1fd69182b814b9b553868163003277e6579 (patch) (side-by-side diff)
tree71261a75b633f7422a2d29f30971df608f821db5
parent7599e0a20572d44ca805e6effb878601c707fd05 (diff)
downloadopie-a2b0a1fd69182b814b9b553868163003277e6579.zip
opie-a2b0a1fd69182b814b9b553868163003277e6579.tar.gz
opie-a2b0a1fd69182b814b9b553868163003277e6579.tar.bz2
The sliders are now more useable with a stylus
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/liquidset.cpp2
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
@@ -85,12 +85,13 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
m_textbtn = new OColorButton ( this );
m_textbtn-> setColor ( tcol );
grid-> addWidget ( m_textbtn, 0, 5 );
m_opacsld = new QSlider ( Horizontal, this );
m_opacsld-> setRange ( -20, 20 );
+ m_opacsld-> setSteps ( 1, 1 );
m_opacsld-> setValue ( opacity );
m_opacsld-> setTickmarks ( QSlider::Below );
grid-> addMultiCellWidget ( m_opacsld, 1, 1, 2, 5 );
vbox-> addSpacing ( 4 );
@@ -109,12 +110,13 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
QHBoxLayout *hbox = new QHBoxLayout ( vbox );
hbox-> addWidget ( new QLabel ( tr( "Stipple contrast" ), this ));
m_contsld = new QSlider ( Horizontal, this );
m_contsld-> setRange ( 0, 10 );
+ m_contsld-> setSteps ( 1, 1 );
m_contsld-> setValue ( contrast );
m_contsld-> setTickmarks ( QSlider::Below );
hbox-> addWidget ( m_contsld, 10 );
vbox-> addStretch ( 10 );