<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QSlider setting a certain increment]]></title><description><![CDATA[<p dir="auto">I am using a QSlider for some of my QCamerImageProcessing functions and the values for some of these functions are -1 to 1 which I put those as my min/max of the slider. I am trying to increment the slider to move by 0.2 intervals but right now it is moving by 1 increments. So basically I have a slider that either goes to 1 or -1 with one click. I cannot find the right command to switch the incrementsize of the QSlider. What command can I use?</p>
]]></description><link>https://forum.qt.io/topic/69984/qslider-setting-a-certain-increment</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 14:08:43 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/69984.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Aug 2016 17:38:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QSlider setting a certain increment on Mon, 08 Aug 2016 17:32:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> nevermind it does change with fractional values, like 0.6, I just had it saved as an int but needed to convert it into a double.</p>
]]></description><link>https://forum.qt.io/post/341285</link><guid isPermaLink="true">https://forum.qt.io/post/341285</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 08 Aug 2016 17:32:27 GMT</pubDate></item><item><title><![CDATA[Reply to QSlider setting a certain increment on Mon, 08 Aug 2016 15:20:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Thank you, that works aswell, however I see that the QCameraImageProcessing only changes when it is -1,0, or 1 and nothing before or after that, so regardless only at one point it will change the picture quality.</p>
]]></description><link>https://forum.qt.io/post/341278</link><guid isPermaLink="true">https://forum.qt.io/post/341278</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 08 Aug 2016 15:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to QSlider setting a certain increment on Sat, 06 Aug 2016 22:42:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">AFAIK, you can't however, you can make it go from -10 to +10 and set the step count to 2. Then you only have to divide the result by 10 before sending it to your QCamerImageProcessing functions.</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/341109</link><guid isPermaLink="true">https://forum.qt.io/post/341109</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 06 Aug 2016 22:42:16 GMT</pubDate></item></channel></rss>