| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
...as well as to the cmake command to run svgtoqml at build time.
Pick-to: 6.11
Change-Id: Ib9c2115f7ac34285cc5c9d67c64e2d2ebbcd738a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Be more explicit about how to use the module in a C++ project. This way,
we can add future supported language sections later.
Fixes: QTBUG-142009
Change-Id: Iaa300155b0079df6b4fbbd6bfc8e05da94634af8
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-write in such a way that there's room for other backend languages
to be included on the page.
* Re-write introductory section about separating UI logic from
business logic, replacing C++ references with the more general
"strongly typed language".
* Keep section "Exposing Data from C++ to QML" as it's still valuable.
Fixes: QTBUG-142007
Pick-to: 6.10
Change-Id: Icb94d354ad3b2bf913c202e74174aee7c31036b4
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
|
| |
|
|
|
| |
Change-Id: I2a985ab1900afb8c027405fb0ec76c250c7535e0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
| |
Fixes: QTBUG-141747
Change-Id: Icc194fb35da84f580b3bdfcb64944f5834b766dc
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
listing
Course link added and list modified.
Task-number: QTBUG-142148
Pick-to: 6.10
Change-Id: I8a11394b110a80bb9625d88222b0c5a3a3e6aed4
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit slightly improves the topic. Now, the snippets on this page
not only display "bad code" but do show how to do things properly. The
formatting was also improved a bit.
Task-number: QTBUG-141543
Pick-to: 6.10
Change-Id: Idc7a2bd8a4a86c96d9490c43d1b3dcf725b5581f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: QTBUG-141543
Pick-to: 6.10
Change-Id: I72690a203d429a033160cc52c40c815de22356a9
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
|
| |
|
|
|
|
|
|
|
| |
This ensures that QDoc will always link to the QML types page and not
to the corresponding C++ classes overview.
Change-Id: I60cd6475ecf87190101507e8508e5c9403a2ed90
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
To be able to list all QML types that inherit from Item, the Qt Quick
documentation needs to depend on the modules that rely on Item and other
QML types.
Task-number: QTBUG-130152
Change-Id: I15bd63a4cffa1f1852b78bdd23b1f06c66ef468b
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qml-i18n example and the qtdeclarative repo itself depend
on the LinguistTools CMake package, which is not available while
building qtdeclarative.
This results in:
- missing build coverage for the example
- a cyclic dependency, because qtdeclarative depends on qttools
(because of LinguistTools), and qttools depends on qtdeclarative
(because of qdoc needs)
- we try to find a module that will never be available, unless
qtdeclarative is built together with qttools in a top-level build
- in certain cases, if the top-level build fails early enough, the
cyclic dependency causes reconfigurations to fail
Remove the example, the lookup of LinguistTools, and the linguist doc
references to avoid all these issues.
Replace the qt_add_translations reference in the docs of the
QQmlApplicationEngine class with a snippet copy.
Pick-to: 6.8 6.10
Task-number: QTBUG-141465
Change-Id: Id88603a3753f53dfac9f350e981073effda15eb1
Reviewed-by: Masoud Jami <masoud.jami@qt.io>
|
| |
|
|
|
|
|
|
|
| |
These snippets show up in the Qt Quick States documentation.
Fixes: QTBUG-140487
Pick-to: 6.10
Change-Id: I897865e16a356c1c561715adc4daa97a4bd3dd67
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
This is apparently better than using globalObject.
registerModule was introduced in
3464655f5e2adaa1aed8925a9a54b8fb5f238f31.
Pick-to: 6.8 6.10
Change-Id: Ic664e65d7e5f8d65004112802e8f19f4f790bb7d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using a scaling factor for the UI that is not an integer, the
partial update mechanism in the software Adapation can break down and
lead to many artifacts. Now we check if we're trying to render with
factional scaling and disable partial updates. It's possible to opt-out
of this by setting the environment variable:
QSG_SOFTWARE_RENDERER_FORCE_PARTIAL_UPDATES=1
It is also possible to disable partial updates using the same variable
QSG_SOFTWARE_RENDERER_FORCE_PARTIAL_UPDATES=0
Fixes: QTBUG-136943
Pick-to: 6.10 6.8
Change-Id: If4b0bc403a96ab037f213e89708371a49bc8ae02
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Validators in QML do not actually expose the three states (Valid,
Invalid, Intermediate) directly, but only support their usage through
TextField. This makes it slightly tricky to raise awareness about
intermediate results.
Nevertheless, we can expand the example to avoid confusion how
IntValidator restricts input, and to encourage users to create a
visual indicator based on acceptableInput.
The color can also be a binding in the snippet. Amends
17a777a5dfa72e47d02c3e6b4c3a137d923d50bc
Pick-to: 6.10 6.8
Fixes: QTBUG-85490
Change-Id: Ia3f7d21d6d7c13943cc2469c4ab8f3c00fd2eada
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Three course links added (QML Dashboard Calendar, Inbox, and Main UI].
Task-number: QTBUG-140851
Pick-to: 6.10
Change-Id: I1013fa3e0280a6b632826637fd37a83def96e490
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10
Change-Id: I3b0fb5f4f734d3b2a3315479655f6434e8d85b16
Reviewed-by: Jerome Pasion <jerome.pasion@qt.io>
|
| |
|
|
|
|
|
| |
Task-number: QTBUG-134130
Pick-to: 6.10
Change-Id: Ib0844fa55f97492012d3911f5ac03d7ffc16a743
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
|
| |
|
|
|
|
|
|
|
| |
If only the qt.io website could be relied upon to have a Qt logo in
the same path for eternity...
Pick-to: 6.8 6.10
Change-Id: Ie221bd85152af42bdf36655083932ca8341c7d2a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
|
| |
[ChangeLog][QtQuick.Shapes.DesignHelpers] Added EllipseShape.
Fixes: QDS-14729
Fixes: QDS-15302
Change-Id: I0df4d6da0eb3a7cab210210fa3c695f0fe29a412
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
|
| |
|
|
|
|
| |
Pick-to: 6.10.0 6.10
Change-Id: I5f00ae24c3d170e5271d15e29ea4982b197171ad
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch
- fixes small syntax error
- adds the link to Qt Academy course
- add alternative way to initialize layout parameters
Task-number: QTBUG-139320
Pick-to: 6.10 6.10.0 6.9 6.8
Change-Id: I981f097474fdbc410df30076098b71f08c070a1f
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Updated QtQuickView and QtQuickViewContent links to new pages.
-Added links to QtQmlStatus Enum and QtQmlStatusChangeListener interface
classes.
-Removed the qdoc QtQuickView file.
-Updated links in examples and the main Qt Quick for Android page.
Task-number: QTBUG-127747
Fixes: QTBUG-138917
Fixes: QTBUG-123106
Fixes: QTBUG-135474
Pick-to: 6.10 6.10.0 6.9 6.8
Change-Id: I61a64c8637c222290e4c630d75d579f6bb23886c
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Fixed the path to the example.
-Reduced the example image resolution to improve the layout.
-Explained that the QML is defined in main.qml and second.qml.
-Include XML layout snippets and info.
-Added the imports for the qml types to the snippets and explained them.
-Added a link to the Qt Academy course.
Fixes: QTBUG-138219
Pick-to: 6.10
Change-Id: I9d59bc1b5b63a3d6a8230cdd83b99efd886744d5
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates weatherforecast and vectorimage examples to
use the automatic svgtoqml build steps instead of manual
conversion.
Removes .pro file for weatherforecast. This is a new
example after the move to CMake and it should have
never had a .pro file to begin with. We aren't going
to implement the svgtoqml build step with qmake, so we
can't keep this working.
Task-number: QTBUG-128915
Change-Id: I2e2506316d4fc8fb35c227309f50e0c92f2a0e38
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
| |
|
|
|
|
|
|
| |
Cmake escapes some characters but not all, so you may end up with
invalid command lines on some platforms.
Change-Id: I1a3aad0b3d48b9e2dea2c4b1b55e371f286dfd46
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a build command for generating QML files out of SVG
files automatically. It works by first calling svgtoqml on the
sources and then adding these to the QML module for the target.
[ChangeLog][svgtoqml] Added a cmake api for automatically
generating QML files from SVG files in an application.
Task-number: QTBUG-128915
Change-Id: I44e70f0ada4ca8ac9ac8253d46832d3a286da927
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The \generatelist command takes an optional argument
that affect how the members are listed, for example,
`classesbymodule` which creates an annotated list of
the classes in a named C++ module.
`groupsbymodule` is not recognized or documented. QDoc
falls back to generating a list of all members of a
group in this case. While the end result is correct,
this relies on an undocumented feature that is likely
to change and break.
Replace these instances with an explicit \annotatedlist
command that produces the same output.
Pick-to: 6.10
Task-number: QTBUG-138901
Change-Id: Icebe063937cdf1e2ef034b723cce646cd6c96bbe
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Integration of Qt Quick's item views with SQL databases is a significant
enough topic to deserve it's own page, and the overlap with exposing C++
data structures to QML is minimal. So move the section into a separate
page, and adjust the section levels accordingly.
Link to the Model/View Programming documentation for creating an
editable model. It's more complete and authoritative documentation
than the somewhat brief explanation of QAIM::setData in the cppmodels
documentation page.
Pick-to: 6.10
Change-Id: I52b759d2bd28ea6227e69a33653ba608fe530b20
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit moves the "Building UIs with Qt Quick" tree section to the
Qt Quick module as a getting started subtree.
Changes:
qtquick-debugging.html - moved to concepts/Debugging
qtquick-deployment.html - moved to concepts/Deployment
qtquick-performance.html - moved to concepts/Performance
qml-codingconventions.html - moved to guidelines/Coding Conventions
scalability.html - moved to guidelines/Scalability
qtquick-qml-runtime.html - moved to the qml module
"Use Case" topics moved to Getting Started:
Visual Elements In QML -> Visual types
Positioners and Layouts In QML -> Positioners and layouts
Responding To User Input in QML -> Handling user input
Displaying Text In QML -> Displaying text
Animations In QML -> Animations
Style And Theme Support -> was deleted (it had almost zero useful info)
Integrating JavaScript in QML -> Integrating JavaScript in QML
Task-number: QTBUG-134130
Pick-to: 6.10 6.9
Change-Id: I14c8e4abadc587fbba788b7ce479c3a8364d0a42
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
There is now a plugin in the Qt Lottie repository which VectorImage
will use if the assumeTrustedSource property is set to true.
This needs to also be documented in VectorImage.
Pick-to: 6.10
Change-Id: Id5f07842631a0794fef47bb29487cb08f398faa1
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
| |
|
|
|
|
|
|
| |
Views and Data Storage are two different concepts in this context.
Pick-to: 6.10
Change-Id: Ie2ec360ca37709903a530347f40a9b143c77bfbc
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
|
|
| |
Use the same phrasing for all three QList-types.
Pick-to: 6.10
Change-Id: I86b32a90fdd3a82f229c78404f4cf4c91d28c4bd
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The video is based on Qt 5.9, uses deprecated features such as context
properties, and after 7 years could generally need an overhaul.
The video is still there on YouTube, but we don't need to direct people
to a 45 minutes tutorial that isn't up-to-date.
Pick-to: 6.10
Change-Id: Ifb473c44fab7544f797223841cbb6823a97f7c1b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| |
|
|
|
|
|
| |
Pick-to: 6.10 6.9 6.8
Change-Id: Idcb83c2096dc3e9faa3c8b429b0444ce386c56fb
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
Changed the description from an ARGB color value to An ARGB color value
because the sentence appeared truncated when starting with a lowercase
letter.
Pick-to: 6.10 6.9
Fixes: QTBUG-106900
Change-Id: Ie02282c24704aaf05b720f6672319f4d8d890d27
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Added a tutorial page.
-Added autogenerated table of topics at the bottom of Qt Quick For Android
-page, added qq4a-extra-topics group name for this purpose.
-Updated the Qt Quick For Android Class doc to mention the fragments
tutorial.
Task-number: QTBUG-137077
Pick-to: 6.10 6.9 6.8
Change-Id: Ia7470c90fae385fd38170b2786995a6816b97b10
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
|
| |
|
|
|
|
|
|
| |
Also link from FlexboxLayout item description.
Pick-to: 6.10
Change-Id: I4b8dbc898d94dae68d1f697f29161ca45b44f2dd
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
|
| |
|
|
|
|
|
| |
Fixes: QTBUG-132703
Pick-to: 6.9 6.10
Change-Id: Iee8cd7415d7e5c088f0b43786326c8339b46490a
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Flexbox component allows the arrangement of the items within the
layout in a more flexible way. There is a CSS standard defined for the
flexbox layout https://www.w3.org/TR/CSS3-flexbox/. This can be achieved
in qt-quick using the yoga library
(https://github.com/facebook/yoga.git).
[ChangeLog][Third-Party Code] Added MIT LICENSE from the third-party
Facebook yoga source (https://github.com/facebook/yoga/blob/main/LICENSE)
to enable its usage in Qt QuickLayouts.
Task-number: QTBUG-133633
Change-Id: I2187dba031cb4842baef1c5a84c7132eb8c63137
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
A new example showcasing use of a worker thread for fetching data to a
custom model based on QAbstractListModel. The pattern is a topic in
Qt World Summit 2025.
Fixes: QTBUG-135351
Pick-to: 6.9
Change-Id: If1fe04740206fa5bfbe1eea269e2bde1e217eaf9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Implemented a qdocinc similar to the other one used in general Qt
examples.
Fixes: QTBUG-135200
Pick-to: 6.8 6.9
Change-Id: I050da4162eea21cdbae00806b40525fc8e566a0c
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The useLegacyPackaging option is not needed anymore starting from Qt
6.9. It was removed from the examples in
88660cd34a3161e656b8d2d558544d11ef897d87 and
686400f78aa4232b3acc7df005d6c22678d7ebd6 after the merging of
0db5b424cdaede8724886e8a1eda1380382d9aaf.
Pick-to: 6.9
Change-Id: Ied3a7db2b0590870e4900bfe2d1c39ca600b91c0
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It's not clear at this point where qt.png was supposed to come from, but
the modern Qt logo seems to work well enough. In the case of Item with
two transforms, perhaps this was not tested before; that's the trouble
with inline qml code. It's a little easier to visualize the effect with
an Image of which you can see more than one edge (although parts of
it remain hidden now too).
Pick-to: 6.9 6.8
Change-Id: I64c685d4dc9568080b0ddb4921d987b07eb17c41
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Mention the delegateModelAccess property and describe what it does.
Include an extra snippet to show how DelegateModel.ReadWrite works.
Task-number: QTBUG-132420
Change-Id: I6e9de274af8f65d234737461fd0b9737160f6df3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It mirrors the same property from any internal delegate model. If the
internal model is not a delegate model, the value is "Qt5ReadWrite".
[ChangeLog][QtQuick] ListView and GridView now have a new property
delegateModelAccess. Setting it to DelegateModel.ReadWrite allows you to
write values into the model via required properties just as you could
with context properties.
Task-number: QTBUG-132420
Change-Id: I72e27fd737ef2ef25da067e4192b58aad9084143
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit adds the Qt Quick for Android section to the Qt Quick
module.
Task-number: QTBUG-134251
Pick-to: 6.9 6.9.0 6.8
Change-Id: I0689064ca71d3847a1623cb4d2936ab1d828012b
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Use required properties where possible and unclutter the formatting.
Pick-to: 6.9 6.8
Change-Id: Ib170676892e4eed514fa025d0dc1fd9562ab1a08
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
|
|
|
|
|
|
|
| |
[ChangeLog] Added new QtQuick.Shapes.DesignHelpers module.
[ChangeLog][QtQuick.Shapes.DesignHelpers] Added RectangleShape.
Fixes: QDS-13283
Change-Id: I736e4062d5b618495cce336edb77f7b7915b7d62
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
These are needed for the RectangleShape from
QtQuick.Shapes.DesignHelpers.
[ChangeLog][Shapes] Added bevel properties.
Task-number: QDS-13283
Change-Id: I904d6bd9b02bc0fccd271cba5e764040f20de995
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|