<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qt/qtdeclarative.git/src, branch wip/qtquickcontrols2</title>
<subtitle>Qt Declarative (Quick 2)
</subtitle>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/'/>
<entry>
<title>SplitView: document how to change handle touch area size</title>
<updated>2021-07-19T15:11:50+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2021-07-12T10:08:19+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=dd27436dade3bad57f270c83f119f2628a26a761'/>
<id>dd27436dade3bad57f270c83f119f2628a26a761</id>
<content type='text'>
Task-number: QTBUG-82678
Change-Id: Icf0f43454086a059e8e14a03db985e570233e0a9
Reviewed-by: Igor Bugaev &lt;freedbrt@gmail.com&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
(cherry picked from commit 43c34d3a92839b8592cd2e1dfc63d1e2fbbcc3ef)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-82678
Change-Id: Icf0f43454086a059e8e14a03db985e570233e0a9
Reviewed-by: Igor Bugaev &lt;freedbrt@gmail.com&gt;
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
(cherry picked from commit 43c34d3a92839b8592cd2e1dfc63d1e2fbbcc3ef)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickFontDialog: Minor visual adjustments for universal and material</title>
<updated>2021-07-19T09:44:37+00:00</updated>
<author>
<name>Oliver Eftevaag</name>
<email>oliver.eftevaag@qt.io</email>
</author>
<published>2021-07-14T21:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=18489cb017dddfa3f2857152831ab0e55a5d9bde'/>
<id>18489cb017dddfa3f2857152831ab0e55a5d9bde</id>
<content type='text'>
These changes are subjective, and might not be seen as an improvement by
everyone.

Personally, I felt that some space could be removed between the text
fields and list views for the material style, and between the list
views and group boxes for the universal style.

Task-number: QTBUG-87799
Change-Id: I2a94caaa2304ccef0c9709bbfe9a0cd9b56e2034
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit ef9e58808c42ad52b3481de342309d8c4e9e8ee9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes are subjective, and might not be seen as an improvement by
everyone.

Personally, I felt that some space could be removed between the text
fields and list views for the material style, and between the list
views and group boxes for the universal style.

Task-number: QTBUG-87799
Change-Id: I2a94caaa2304ccef0c9709bbfe9a0cd9b56e2034
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit ef9e58808c42ad52b3481de342309d8c4e9e8ee9)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary type registrtion function declarations</title>
<updated>2021-07-16T22:33:15+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2021-07-16T10:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fa5fc93958c77ece5d005b472c6220230cfc05fa'/>
<id>fa5fc93958c77ece5d005b472c6220230cfc05fa</id>
<content type='text'>
For auto-generated plugins we don't need the declarations.

Change-Id: I0250703e7c81debc6bc6ca526722c43b8a8058c8
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit fd2a2808ac2c53220c907d7177aee0d172102859)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For auto-generated plugins we don't need the declarations.

Change-Id: I0250703e7c81debc6bc6ca526722c43b8a8058c8
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry picked from commit fd2a2808ac2c53220c907d7177aee0d172102859)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve visuals of non-native FontDialogs</title>
<updated>2021-07-14T12:50:26+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2021-07-12T14:33:26+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=6352528ed2844d452a6aca95f2f3d46af5bc9dfa'/>
<id>6352528ed2844d452a6aca95f2f3d46af5bc9dfa</id>
<content type='text'>
- Specify preferredHeights directly on the items that need them rather
  than doing it at a higher level. This makes the lower row with the
  text edits and check boxes shorter, giving more space to the row with
  the list views.
- Convert the ColumnLayout containing the check boxes into a RowLayout
  to save vertical space.
- Add some spacing and padding where necessary now that everything is
  more compressed.

Task-number: QTBUG-87799
Change-Id: Iba288f678c1d449ace3bc143073d216fe69d9d9a
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
(cherry picked from commit e2f4afcedb857f22e80671b638a80245a09cb249)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Specify preferredHeights directly on the items that need them rather
  than doing it at a higher level. This makes the lower row with the
  text edits and check boxes shorter, giving more space to the row with
  the list views.
- Convert the ColumnLayout containing the check boxes into a RowLayout
  to save vertical space.
- Add some spacing and padding where necessary now that everything is
  more compressed.

Task-number: QTBUG-87799
Change-Id: Iba288f678c1d449ace3bc143073d216fe69d9d9a
Reviewed-by: Oliver Eftevaag &lt;oliver.eftevaag@qt.io&gt;
Reviewed-by: Volker Hilsheimer &lt;volker.hilsheimer@qt.io&gt;
(cherry picked from commit e2f4afcedb857f22e80671b638a80245a09cb249)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: some ComboBox functions must be used after component completion</title>
<updated>2021-07-12T09:26:08+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2021-06-08T13:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=f96a66b2bd475d2cd3529ea9d0e4968ead6c349e'/>
<id>f96a66b2bd475d2cd3529ea9d0e4968ead6c349e</id>
<content type='text'>
The internal QQmlDelegate model may not be ready until after
componentComplete() is called. For example, the following code will
print -1 for the find call, even though printing the model will
show the "Hello" entry:

    ComboBox {
        id: comboBug
        anchors.centerIn: parent
        model: ["123", "BlaBla", "Hello", "Turtle"]
        currentIndex: {
            console.log("Model: " + comboBug.model)
            console.log("Find:  " + comboBug.find("Hello"))
            return comboBug.find("Hello")
        }
    }

Fixes: QTBUG-94257
Change-Id: I6e8c2a4eb8ca7ffca0a38d2f2e914cf791d3bd2e
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
(cherry picked from commit 332011c8e6a96cd2b0c685b72f96337660f690e0)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The internal QQmlDelegate model may not be ready until after
componentComplete() is called. For example, the following code will
print -1 for the find call, even though printing the model will
show the "Hello" entry:

    ComboBox {
        id: comboBug
        anchors.centerIn: parent
        model: ["123", "BlaBla", "Hello", "Turtle"]
        currentIndex: {
            console.log("Model: " + comboBug.model)
            console.log("Find:  " + comboBug.find("Hello"))
            return comboBug.find("Hello")
        }
    }

Fixes: QTBUG-94257
Change-Id: I6e8c2a4eb8ca7ffca0a38d2f2e914cf791d3bd2e
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
Reviewed-by: Paul Wicking &lt;paul.wicking@qt.io&gt;
(cherry picked from commit 332011c8e6a96cd2b0c685b72f96337660f690e0)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: make it clear that Page doesn't render its title text</title>
<updated>2021-07-12T09:26:04+00:00</updated>
<author>
<name>Mitch Curtis</name>
<email>mitch.curtis@qt.io</email>
</author>
<published>2021-06-16T08:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=e51d30fbb26c0549078177b8429cdb9a6ca97347'/>
<id>e51d30fbb26c0549078177b8429cdb9a6ca97347</id>
<content type='text'>
This is demonstrated in the example, but it's better to make it clear.

Change-Id: Ie5efcca2256da6a03d31df9cf045f4a97d1ad1ed
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 41766ac6d6e100b69d74c98edde60f0835b7da13)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is demonstrated in the example, but it's better to make it clear.

Change-Id: Ie5efcca2256da6a03d31df9cf045f4a97d1ad1ed
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
(cherry picked from commit 41766ac6d6e100b69d74c98edde60f0835b7da13)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust to QQuickItemPrivate::{width,height}Valid becoming a function</title>
<updated>2021-07-12T09:25:51+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2021-06-29T10:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=d739972285e7126f157a31019597331210212029'/>
<id>d739972285e7126f157a31019597331210212029</id>
<content type='text'>
Task-number: QTBUG-94703
Change-Id: I2c48f1cc94b8dd94cddab1d833f62299d35fe5d9
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit 2a4ff847e8c018f31b14ecffd229d3793138ab1b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task-number: QTBUG-94703
Change-Id: I2c48f1cc94b8dd94cddab1d833f62299d35fe5d9
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit 2a4ff847e8c018f31b14ecffd229d3793138ab1b)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>QQuickOverlay: Handle hover events</title>
<updated>2021-07-12T09:25:24+00:00</updated>
<author>
<name>Fabian Kosmale</name>
<email>fabian.kosmale@qt.io</email>
</author>
<published>2021-07-06T11:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=2b0c12a66a8e8efea37471c59f1c072beb77c9cd'/>
<id>2b0c12a66a8e8efea37471c59f1c072beb77c9cd</id>
<content type='text'>
With recent changes to hover handling logic, hover events would have
been sent to the "main window", even if a popup were modal. As this is
unwanted (a modally blocked button should not auto-raise when hovered),
we now prevent delivery of those events in QQuickOverlay and
overlayEvent.
The logic is the same as for mouse and touch events: If we get a
matching event, we ask the popup to handle it. The popup then uses the
existing blockInput logic to decide whether the event should be blocked
or forwarded.

Change-Id: I2194fd8e832592efd5b7b9697412bdaeaea74b83
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit 48da34f3d797f58b3eda9ed0a98aa1776d75d946)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With recent changes to hover handling logic, hover events would have
been sent to the "main window", even if a popup were modal. As this is
unwanted (a modally blocked button should not auto-raise when hovered),
we now prevent delivery of those events in QQuickOverlay and
overlayEvent.
The logic is the same as for mouse and touch events: If we get a
matching event, we ask the popup to handle it. The popup then uses the
existing blockInput logic to decide whether the event should be blocked
or forwarded.

Change-Id: I2194fd8e832592efd5b7b9697412bdaeaea74b83
Reviewed-by: Shawn Rutledge &lt;shawn.rutledge@qt.io&gt;
Reviewed-by: Andrei Golubev &lt;andrei.golubev@qt.io&gt;
(cherry picked from commit 48da34f3d797f58b3eda9ed0a98aa1776d75d946)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Don't give plugins PUBLIC usage requirements</title>
<updated>2021-07-09T09:59:21+00:00</updated>
<author>
<name>Joerg Bornemann</name>
<email>joerg.bornemann@qt.io</email>
</author>
<published>2021-07-06T16:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=187c24b670fe6d19fb9780cac0945f2eba2d45c0'/>
<id>187c24b670fe6d19fb9780cac0945f2eba2d45c0</id>
<content type='text'>
The pro2cmake.py conversion script faithfully reproduced the .pro files
for the plugins, which specified the libraries as public. But in CMake,
the implications of this are that public usage requirements should then
be propagated to consumers. We don't expect any consumers, since a
plugin is created as a MODULE library in CMake, so for Windows we don't
even have an import library to link with. The only exception to this is
for static builds where plugins are created as STATIC libraries
instead, but only in certain controlled situations do we then link to
plugins. Even then, usage requirements are not expected to propagate to
the consumers, so these relationships should always be specified as
private.

As a drive-by fix, remove Qt::Foo dependencies that are already implied
by Qt::FooPrivate.

Task-number: QTBUG-90819
Change-Id: I3f33766612367520e09e599f03ac06d43613aa81
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
(cherry picked from commit 9c30798a439e6a87b574472aca7a4e15107c6221)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pro2cmake.py conversion script faithfully reproduced the .pro files
for the plugins, which specified the libraries as public. But in CMake,
the implications of this are that public usage requirements should then
be propagated to consumers. We don't expect any consumers, since a
plugin is created as a MODULE library in CMake, so for Windows we don't
even have an import library to link with. The only exception to this is
for static builds where plugins are created as STATIC libraries
instead, but only in certain controlled situations do we then link to
plugins. Even then, usage requirements are not expected to propagate to
the consumers, so these relationships should always be specified as
private.

As a drive-by fix, remove Qt::Foo dependencies that are already implied
by Qt::FooPrivate.

Task-number: QTBUG-90819
Change-Id: I3f33766612367520e09e599f03ac06d43613aa81
Reviewed-by: Qt CI Bot &lt;qt_ci_bot@qt-project.org&gt;
Reviewed-by: Alexandru Croitor &lt;alexandru.croitor@qt.io&gt;
(cherry picked from commit 9c30798a439e6a87b574472aca7a4e15107c6221)
Reviewed-by: Qt Cherry-pick Bot &lt;cherrypick_bot@qt-project.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't leak buttons in QQuickDialogButtonBox</title>
<updated>2021-07-05T09:25:14+00:00</updated>
<author>
<name>Ulf Hermann</name>
<email>ulf.hermann@qt.io</email>
</author>
<published>2021-06-11T14:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=8012333a1f828d5e5530ee92e8883653964506b9'/>
<id>8012333a1f828d5e5530ee92e8883653964506b9</id>
<content type='text'>
Fixes: QTBUG-94455
Change-Id: I8d8c82f3b10e5e755ac11924c335ee07ab08d4a6
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry-picked from commit af4137ec20f0cd0e4f385cc5e7a7f2d0a87df6f7)
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: QTBUG-94455
Change-Id: I8d8c82f3b10e5e755ac11924c335ee07ab08d4a6
Reviewed-by: Mitch Curtis &lt;mitch.curtis@qt.io&gt;
(cherry-picked from commit af4137ec20f0cd0e4f385cc5e7a7f2d0a87df6f7)
Reviewed-by: Fabian Kosmale &lt;fabian.kosmale@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
