<?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[How to give vertical scroll bar for combobox.]]></title><description><![CDATA[<p dir="auto">I've added number of days to my comboBox.addItems but how can i give or add vertical scroll bar so that it can easy to scroll for me.<br />
It is almost like this image shown below link please check for it .</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/50789605/how-to-add-a-scrollbar-to-a-qcombobox" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/50789605/how-to-add-a-scrollbar-to-a-qcombobox</a></p>
]]></description><link>https://forum.qt.io/topic/99036/how-to-give-vertical-scroll-bar-for-combobox</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 20:37:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/99036.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Jan 2019 10:40:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Tue, 29 Jan 2019 10:29:15 GMT]]></title><description><![CDATA[<p dir="auto">well this one worked ...,</p>
<pre><code>QScroller::grabGesture(ui-&gt;comboBox_5-&gt;view()-&gt;viewport(),QScroller::LeftMouseButtonGesture);
</code></pre>
<p dir="auto">it didn't show scroll bar ,but i got the action like scroll when i touch it.</p>
<p dir="auto">By the way <a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a> ,<a class="plugin-mentions-user plugin-mentions-a" href="/user/mvuori">@<bdi>mvuori</bdi></a> ,<a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> thanks for your kind reply.</p>
]]></description><link>https://forum.qt.io/post/508039</link><guid isPermaLink="true">https://forum.qt.io/post/508039</guid><dc:creator><![CDATA[Vineela]]></dc:creator><pubDate>Tue, 29 Jan 2019 10:29:15 GMT</pubDate></item><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Tue, 29 Jan 2019 05:27:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a></p>
<pre><code>ui-&gt;comboBox_5-&gt;clear();
  ui-&gt;comboBox_5-&gt;addItems({ "mm" , "01", "02", "03", "04" , "05" , "06" , "07" , "08" , "09" , "10" ,"11" , "12" });

</code></pre>
<p dir="auto">just this.</p>
]]></description><link>https://forum.qt.io/post/507914</link><guid isPermaLink="true">https://forum.qt.io/post/507914</guid><dc:creator><![CDATA[Vineela]]></dc:creator><pubDate>Tue, 29 Jan 2019 05:27:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Mon, 28 Jan 2019 22:02:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you show how you populate your combobox ?</p>
]]></description><link>https://forum.qt.io/post/507886</link><guid isPermaLink="true">https://forum.qt.io/post/507886</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 28 Jan 2019 22:02:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Mon, 28 Jan 2019 12:02:40 GMT]]></title><description><![CDATA[<p dir="auto">(Note that your question seems to have nothing particular to do with mobile or embedded devices, so it is on a wrong forum)</p>
]]></description><link>https://forum.qt.io/post/507760</link><guid isPermaLink="true">https://forum.qt.io/post/507760</guid><dc:creator><![CDATA[mvuori]]></dc:creator><pubDate>Mon, 28 Jan 2019 12:02:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Mon, 28 Jan 2019 10:43:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a> clever one but this was my code when i added that<br />
ui-&gt;comboBox_13-&gt;view()-&gt;setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);<br />
but it didn't work for me is there anything wrong in that.</p>
]]></description><link>https://forum.qt.io/post/507737</link><guid isPermaLink="true">https://forum.qt.io/post/507737</guid><dc:creator><![CDATA[Vineela]]></dc:creator><pubDate>Mon, 28 Jan 2019 10:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to give vertical scroll bar for combobox. on Mon, 28 Jan 2019 10:42:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vineela">@<bdi>Vineela</bdi></a> said in <a href="/post/507735">How to give vertical scroll bar for combobox.</a>:</p>
<blockquote>
<p dir="auto">It is almost like this image shown below link please check for it .</p>
</blockquote>
<p dir="auto">The solution in your link should be correct</p>
]]></description><link>https://forum.qt.io/post/507736</link><guid isPermaLink="true">https://forum.qt.io/post/507736</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Mon, 28 Jan 2019 10:42:06 GMT</pubDate></item></channel></rss>