summaryrefslogtreecommitdiff
Unidiff
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 )
85 m_textbtn = new OColorButton ( this ); 85 m_textbtn = new OColorButton ( this );
86 m_textbtn-> setColor ( tcol ); 86 m_textbtn-> setColor ( tcol );
87 grid-> addWidget ( m_textbtn, 0, 5 ); 87 grid-> addWidget ( m_textbtn, 0, 5 );
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 );
94 95
95 vbox-> addSpacing ( 4 ); 96 vbox-> addSpacing ( 4 );
96 97
@@ -109,12 +110,13 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
109 QHBoxLayout *hbox = new QHBoxLayout ( vbox ); 110 QHBoxLayout *hbox = new QHBoxLayout ( vbox );
110 111
111 hbox-> addWidget ( new QLabel ( tr( "Stipple contrast" ), this )); 112 hbox-> addWidget ( new QLabel ( tr( "Stipple contrast" ), this ));
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 );
118 120
119 vbox-> addStretch ( 10 ); 121 vbox-> addStretch ( 10 );
120 122