<?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[Align two QGraphicView widgets vertically]]></title><description><![CDATA[<p dir="auto">Sounds pretty simple but I am struggling:</p>
<p dir="auto">I would like to align two QGraphicView widgets vertically. Or in case my description is not using accurate Qt nomenclature: I want to align the y-position of the visible part of two QGraphicsScene widgets.</p>
<p dir="auto">QGraphicsView number two triggers an event as soon as the vertical scrollbar is shifted. In the function called by the event I would like to align the y position of view one with the shifted view 2.</p>
]]></description><link>https://forum.qt.io/topic/119859/align-two-qgraphicview-widgets-vertically</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 07:31:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/119859.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Oct 2020 09:41:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Align two QGraphicView widgets vertically on Mon, 12 Oct 2020 10:26:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ms_gx">@<bdi>MS_GX</bdi></a><br />
So isn't this just a question of using <code>https://doc.qt.io/qt-5/qabstractslider.html#value-prop</code>, or similar scrolling property/function, to scroll one view to match the value of the other?</p>
]]></description><link>https://forum.qt.io/post/621809</link><guid isPermaLink="true">https://forum.qt.io/post/621809</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Mon, 12 Oct 2020 10:26:33 GMT</pubDate></item><item><title><![CDATA[Reply to Align two QGraphicView widgets vertically on Mon, 12 Oct 2020 10:54:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> Oh, that was easy using your suggestion. Was hunting much more complex solutions :(</p>
<p dir="auto">Thanks much!!</p>
]]></description><link>https://forum.qt.io/post/621811</link><guid isPermaLink="true">https://forum.qt.io/post/621811</guid><dc:creator><![CDATA[MS_GX]]></dc:creator><pubDate>Mon, 12 Oct 2020 10:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Align two QGraphicView widgets vertically on Mon, 12 Oct 2020 10:26:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ms_gx">@<bdi>MS_GX</bdi></a><br />
So isn't this just a question of using <code>https://doc.qt.io/qt-5/qabstractslider.html#value-prop</code>, or similar scrolling property/function, to scroll one view to match the value of the other?</p>
]]></description><link>https://forum.qt.io/post/621809</link><guid isPermaLink="true">https://forum.qt.io/post/621809</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Mon, 12 Oct 2020 10:26:33 GMT</pubDate></item></channel></rss>