| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I299baf89f2530250a333736bb31f4ae470610176
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
|
|
|
|
|
|
|
| |
The default is going to change in 5.15.
Change-Id: Ib17500791476bd45ed2c7c3736186897fb63d7a0
Reviewed-by: Simon Hausmann <[email protected]>
|
|
|
|
|
|
|
|
|
| |
This is to explicitly identify Qt Quick Controls as Controls 1,
so that Controls 2 can be referred generally as Qt Quick Controls.
Task-number: QTBUG-70333
Change-Id: I798c0354ad47ab96978575829322a254876529fb
Reviewed-by: Topi Reiniö <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ScrollView is not a control widget, which should be included in the
focus chain when the user presses the Tab key; instead, it's a container
and as such it should not interfere with the navigation.
We also modify TableView, because it derives from ScrollView but we
want to keep its current behavior.
Task-number: QTBUG-64596
Change-Id: Ibd7833603d38171693b2f34c5859e9c4615b8ed4
Reviewed-by: Liang Qi <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the private WheelArea component didn't have any notify signals
in its horizontalValue/verticalValue or minimum/maximum
values as well. this caused old values to be used in ScrollView.qml.
If we want to have a listView that starts scrolled right when instanced,
verticalMaximumValue won't be updated when the list is populated.
Also, the wheelArea.verticalValue that's assigned at the beginning will
be constrained by the wrong verticalMaximumValue, causing it to go out of
sync with contentY. At this point the first time the mouse wheel is
moved, the list will jump back at the top.
Change-Id: I4605000636be7975ba9a58e2c79e8c2351e5a292
Task-number: QTBUG-59633
Reviewed-by: Frederik Gladhorn <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit b5a8306bf6d4949066872ac2afc8d0a01f716bd7.
The incorrect \inherits commands caused property documentation
from base types go missing.
Task-number: QTBUG-54150
Change-Id: I0bbe604a6fe904d8e6a4596777262255a794ec62
Reviewed-by: Mitch Curtis <[email protected]>
|
|
|
|
|
|
| |
Task-number: QTBUG-53529
Change-Id: I4933a03c49dee4e3edc56dd406f67073da341ac1
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
| |
Update old header.LGPL3 to header.LGPL
Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48
Reviewed-by: Lars Knoll <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Since __style is loaded by a Loader, very early in initialization, it
may still be null. so check for its existence before accessing it.
When it will be fully loaded the property binding will cause a
reevaluation with the proper values.
This fixes __wheelScrollLines never being loaded from the style.
Change-Id: I5967265a4d31e1be2c972daa79b9389fecc25933
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previoulsy we manually positioned the table header over the table
contents, which required some manual tweakings. Since 5.4, ListView
support overlay headers that we can use them to clean our code in
BasicTableView.
There is, however, a small issue on Mac where the vertical scrollbar
(specially in non-transient mode) is displayed below the table header.
Since the header can't span beyond the ListView boundaries, we need
to account for the vertical scrollbar width in the ListView's content
width.
This patch also updates the Desktop style to set the transientScrollBars
property and some small tweaks to the Base style.
Change-Id: I4433d0703328f23eadb0ae4563fbef5bba0168db
Task-number: QTBUG-34344
Reviewed-by: Mitch Curtis <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While originY (and originX) are always zero for Flickable,
other types, like ListView, can and will set its value as
items are added or removed from the view. However, having
the internal scrollbars depend on originY may cause extra
updates and interfere with ListView transitions.
This changes just hardcodes the scrollbar's minimum value
to 0 and translates its value by originY. We also made the
code in ScrollViewHelper a bit more readable, mostly by
renaming the top-level item's id from 'wheelArea' to
'scrollHelper'.
Change-Id: Iac0b4e1dc3ca50ff3cc50fbb85ccaf1eca88edba
Task-number: QTBUG-48044
Reviewed-by: Mitch Curtis <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
QDoc now supports using a \group name as a selector for QHP
subprojects. Use this to have the correct division of
Qt Quick Controls and Controls Styles QML types, as well as
a TOC entry for examples and tutorials.
Change-Id: I8e4b44c8876fd6bb3b2baebd956d6dc5d5223715
Reviewed-by: Mitch Curtis <[email protected]>
|
|
|
|
|
|
|
|
| |
Take the property into account, like QtWidgets applications do. This way
the scroll feels more similar to the rest of applications.
Change-Id: Ifde385fbfb052e5d6a446b1e339ce86ae8eca609
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Mostly link errors and missing documentation.
And removed useless references to {QtQuick.Controls.Styles} in the doc.
Change-Id: Iad211a574c0bd23c84e067e0cbcc18c3e719cde7
Reviewed-by: Topi Reiniö <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Removes the duplicated style settings functionality in Extras and
simplifies the installed styles directory structure.
- Extras' Base style is now part of Controls' Base style, eliminating
the need for a separate QtQuick.Extras.Styles import. The cost of
doing this should be negligible: a few QML files and two images.
If we didn't merge Extras' Baste style into Controls', we'd need
extras-specific code in qquickcontrolssettings, as the default style
search path is:
qml/QtQuick/Controls/Styles/
Whereas the Extras Base style would be in:
qml/QtQuick/Extras/Styles/
The Extras Base style can't go into Controls' Base style directory,
either, because otherwise we'd have two qmldir files there.
The Flat style doesn't have this problem because it is all contained
in one plugin and gets installed into its own Flat/ folder.
- Documentation now lists the Extras controls as \since QtQuick.Extras
1.4.
- Adds the customcontrolsstyle auto test to ensure that custom styling
is tested.
Change-Id: I19ca7a8b7e1c1daa85b272f4ccf9a2f05c76e0d9
Reviewed-by: Caroline Chao <[email protected]>
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
| |
Change-Id: I77e7a218a958d76ac7ef7780f4be52a81f76fa6b
Reviewed-by: Caroline Chao <[email protected]>
Reviewed-by: Mitch Curtis <[email protected]>
Reviewed-by: Gabriel de Dietrich <[email protected]>
|
|
|
|
|
|
|
|
| |
This adds horizontal and vertical scrollbar policies allowing one to
pernamently show or hide the scrollbars like in QAbstractScrollArea.
Change-Id: I4989dbf2225ab34741b5a2811d7c6ff52880e0c3
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
| |
Task-number: QTBUG-33799
Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
By lowering the MouseArea provided by a ScrollView we can ensure that
any user MouseArea created as a child will get the event first which can
pass it on afterwards.
Task-number: QTBUG-38083
Change-Id: Id0a36fab7600966a0e12043fa7e8a98641d71a81
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
| |
Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
QStyleHints::startDragDistance is used as the standard drag or flick
threshold in QtQuick generally. We should follow suit because it
may depend on platform characteristics such as screen resolution and
sensitivity of the input devices.
Change-Id: Ibbc7b4549351f795c10de792cb8fa3ff9f5ae58d
Reviewed-by: Richard Moe Gustavsen <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Ie78468f6e001e67467175cd39bd4db1bd6b2dbbf
Reviewed-by: Martin Klapetek <[email protected]>
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: I406c159fbc573e8b0a999d85fd6fb546b71634ac
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: I6029e7a9c393aae97373b786f1e5d13d49e0f9f2
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The heuristic should probably be better but this will allow
ScrollView and TableView to at least support basic touch input.
Change-Id: I5904a0f2a29659e4cb0c3e7978ca0aa72d2415c4
Reviewed-by: Jens Bache-Wiig <[email protected]>
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-1.0 types were introduced in Qt 5.1
-1.1 types were introduced in Qt 5.2
-The module versions are now taken from the \qmlmodule
This change was only applied to \qmltype.
For methods, signals, and properties, we keep the
\since QtQuick.Controls <version>
Task-number: QTBUG-32172
Change-Id: Iefa73d4a489aa285bae873f68ae9a228030f0115
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We factor out part the menu item container logic from Menu into
ColumnMenuContent, which takes care of scrolling and mouse hovering,
and selection. This makes possible to extend the menu items layout.
The pop-over and pull-down look is specified by the menu style
component by overriding the ScrollView style. The popup's maximum
height is also specified by the menu style.
The gallery example can finally use a font families combo box.
Task-number: QTBUG-31568
Change-Id: I34a7278f476471c0eb51ef51dde3dd83e13002fe
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a
Reviewed-by: Caroline Chao <[email protected]>
|
|
|
|
|
| |
Change-Id: I5642e8dc5f62b48aaf086820699cf41f689cec1a
Reviewed-by: Gabriel de Dietrich <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
We should set this to some decent default value that doesn't
look wrong. Note that the width and height definition in
TextArea could cause conflicts when used in layouts.
Change-Id: I815ff96c02f9a9a76c07d57181f3a24291c83c52
Reviewed-by: Jan Arve Sæther <[email protected]>
Reviewed-by: Gabriel de Dietrich <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Make Style inherit AbstractStyle, so it becomes the base class
of all styles. AbstractStyle also now has a default "data"
property so it's possible to conveniently declare helper
content inside styles.
Change-Id: Id84f3762cfae506e65021322619d7fb77b137994
Reviewed-by: Tomasz Olszak <[email protected]>
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
We were still using "containsMouse" in a few places, and
we should consistently add "hovered" to all button types
for consistency. Also fixed the SplitView to follow the
new style conventions.
Change-Id: Iebc333c0cecc5bcde27e626b1a611c2f2edcf7dc
Reviewed-by: J-P Nurmi <[email protected]>
Reviewed-by: Caroline Chao <[email protected]>
|
|
|
|
|
| |
Change-Id: I16eb186a2b1f706bbc961d34a614bf2f9a9a0646
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
| |
We want padding to be a grouped property as the
existing Margins property looks rather odd and
insconsistent.
Change-Id: I9e614f9161aaf01af200b19a1fb46a51beec6fb4
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: I9f1690524e29cd7fe0ab35be216aca9a6edd35ca
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
task-number: QTBUG-31121
We already handle MouseWheel events separately and we do
generally not want to interact with the flickable.
I don't know if we should somehow handle this differently on a
mobile device but for now it seems sensible to disable it.
Change-Id: I7dc30050efcedd8f670b3ecdc0a9915a692fd475
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: I10271c860abd9b45a262e3548628e6a3026e1a4f
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-30318
Change-Id: I9839470fbac1d14c1788766d275aba3fac6ec8b1
Reviewed-by: Jerome Pasion <[email protected]>
Reviewed-by: Caroline Chao <[email protected]>
|
|
|
|
|
| |
Change-Id: If09c39341833e6162921c280bcc7583cca2fb15f
Reviewed-by: Caroline Chao <[email protected]>
|
|
|
|
|
|
|
|
| |
Making ScrollBar harmonize with other styles by using Style and
panel.
Change-Id: Ic3bbae6d3a5d456ba3b3668c71ede3b3e11d2dc7
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
| |
Change-Id: I22403a7deac19b614f08475a2b29696a5698811f
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
| |
Change-Id: I1fabb4efcc931f12f0a65ac5c66e6e085108269b
Reviewed-by: J-P Nurmi <[email protected]>
|
|
|
|
|
|
|
|
| |
This is another step towards making controls work without
the widgets module.
Change-Id: I7066d79f42d90199cfd1a5d6f6ce6cf6cae381d6
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
| |
Change-Id: Iccb50c20e7a5806bf4a72956eeb7097c1bf0ccc2
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
| |
Change-Id: I2eaaf7e82351e70a742eeadc32b8e1f8655a02c1
Reviewed-by: Caroline Chao <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Concerning vocab., punctuation, syntax and/or Writing Guidelines.
Corrected whitespace issues.
Replaced "if" with "whether" in Slider.qml
Task-number: QTBUG-30318
Change-Id: I0e0e8d2b807f0a6534deb2caa6dbee7eb206f43b
Reviewed-by: Topi Reiniö <[email protected]>
Reviewed-by: Martin Smith <[email protected]>
Reviewed-by: Laszlo Papp <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Idfd9c14b0b955cc9ccfc19ebd51686909d04875d
Reviewed-by: Gabriel de Dietrich <[email protected]>
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
| |
This saves a parent change when creating the flickable item.
Partially amends f36f562a0e58f4ea37.
Change-Id: I2f76ea329c86e8754712b97cd87e41f56c791183
Reviewed-by: Frederik Gladhorn <[email protected]>
Reviewed-by: Jens Bache-Wiig <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reproducible with the gallery example application, Launch it, select
the TextField, and quit the application.
The following short example also reproduces the crash in the same way,
but selecting the TextInput instead.
import QtQuick 2.1
import QtQuick.Window 2.1
import QtQuick.Controls 1.0
Window {
property bool blah: !!activeFocusItem && !!activeFocusItem["copy"]
Column {
TextInput {
width: 200
height: 30
}
TextArea {
width: 200
height: 200
}
}
}
Whether the real cause is in ScrollView or deeper in QtQuick is yet to
be throughly investigated. But, hey, that's one crash less right now.
Change-Id: Idf358775b8b0333261ecfec7a2fefd3c5b931cc8
Reviewed-by: Jens Bache-Wiig <[email protected]>
|