| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calendar was implemented in such a way that pressing on a date selects
that date, rather than releasing or clicking. With the current code,
this presents issues when the month changes as a result of the press.
For example, clicking on a date in an adjacent month will result in the
clicked() signal passing the date under the mouse in the new month,
instead of the originally pressed date.
This patches fixes the issue by storing the pressed date and using it
when emitting the released() and clicked() signals.
Task-number: QTBUG-54129
Change-Id: I0c16293033b77f6ae783b5365d198b4a516af90b
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|\
| |
| |
| | |
Change-Id: I556a8404b908c15eaa71b009319c7f27274b40f1
|
| |
| |
| |
| |
| |
| |
| |
| | |
Every module should state the licenses it is available under in it's
landing page.
Change-Id: Ib2d5f49e57f7f34bf06a558725dcb53152561f8d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
src/dialogs/qquickabstractfiledialog_p.h
tests/auto/controls/data/tst_combobox.qml
Change-Id: I62e54d0a2e89d987e05e8dfad6ae6aac1a32cc72
|
| |
| |
| |
| |
| |
| |
| | |
Change to past tense.
Change-Id: I623ecbf4586b9212ceba5be15f18b0946b2de884
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove change signals from the shortcuts and __shortcuts properties,
as they don't change after being populated for the first time.
Task-number: QTBUG-53707
Change-Id: If305a6d63ebd98e6082fc5b7d89a63aaab6c1f43
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If Dialogs decoration component is not an Item based object, there is a
minor memory leak in error cleanup path, causing the object to leak.
Change-Id: I79295378303e460ad0024d5994fed28ddd37b591
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only single items can be selected via an actual touchscreen, because
the keyboard modifiers are not accessible in a mouse event synthesized
from touch. With a mouse, if the system has a touchscreen, then
selections done by consecutive clicking (with or without modifiers)
will work, whereas dragging across a consecutive range will not work
because dragging is the same as flicking. But on systems which do
not have a touchscreen at all, the behavior is the same as before.
Task-number: QTBUG-47243
Change-Id: Ib0fa1a75592b982fe93da46f0c2e3018219947d0
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Once we've loaded the delegate, we want to keep it. Constantly deleting
and recreating items is rather wasteful.
The items could already be moved to a different location before, so
keeping them around when the item is completely disabled doesn't make
much of a difference. We do retain the behavior of only instantiating
the delegate once we add it to the table, though.
Change-Id: Ic3cd016bc6990f0a9695b5aeb0d1de3aad0f4ca1
Task-number: QTBUG-62809
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Louis du Verdier <louis.du.verdier@free.fr>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: If27d9c3cbc17765c4180651189c4b8d19b8409da
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I fixed a similar issue last year on the JavaScript side:
094ad30c94a72784449f43ef06d2172d644ab0fd
At this time the same thing has been happening in C++. See QTBUG-54559
and the patch for a detailed explanation of the issue. In short,
the problem with Calendar is that internally it uses QDate which does
not keep information about time, whereas in the JavaScript world date
is always combined with time. So, QDate(2017-10-15) is valid, but when
during QDate -> JS Date transformation we add time to it (which defaults
to midnight (00:00)), it becomes invalid in time zones where the Daylight
Saving Time -> Standard Time transition takes place at midnight.
To avoid switching the entire QQuickCalendarModel1
to using QDateTime, I modified its date(...) and dateAt(...) methods to
return QDateTime with the time part always set to 12:00.
That transformation required more changes in QQuickRangedDate1, because
Calendar::selectedDate internally is QQuickRangedDate1::selectedDate,
and I also had to fix "selected" property binding in the Base Calendar
Style as it did take into account the time part of the date, which
resulted in wrong behavior with my changes.
Task-number: QTBUG-64068
Change-Id: Ia2f7703ff4e5811ef79438c97739da1d8001a7f5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-64052
Change-Id: I047255d90ee5f807d2b7b5567aa6559fa8c08499
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 <liang.qi@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of a naïve OS-based compile time check, we check which platform
plugin is in use at runtime. This should give a more accurate mapping,
especially on desktop OSes using alternative platform plugins where the
Desktop style is not useful.
The minimum Android SDK version is 16 now, so the check is removed.
Change-Id: Ie7af3a8ce5fd031256f5eba9706f24ab50a23bf9
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This hopefully allows Qt Quick Designer to see Calendar's new locale
property that was added in d13e4db9d74aefc0bd08ca946b789155a11361fb.
Change-Id: I40d9e85228fefcd171b21d13fcdd775b3f1a4692
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|\ \
| | |
| | |
| | | |
Change-Id: I4212b960f262c29cce78cc482ea966d0c0240653
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I89e5f9b74a7657d315334414ea0447f658024841
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid errors like
ShaderEffect: Failed to read :/QtQuick/Controls/Shaders/blur.vert
in static builds.
Task-number: QTBUG-64488
Change-Id: I13b8aa0736db68859e0b4539937952f9c4b5b04b
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| | |
Previously the list was maintained in qtbase.
Change-Id: I0510653c08e2e82f949084c5f0e3b1dcae3a81bf
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ia33462a31303ae79f7a6ef26dc6065a0afeef3e1
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is exactly the same as the minimum change, when the maximum is
changed, the handle position needs to be re-evaluated.
Task-number: QTBUG-63354
Change-Id: I13a67451190a3bb7915afe8e89501097c1dd3301
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix warning
"Empty filename passed to function"
when running Qt Creator 4.4 against Qt 5.10
(see qtbase: 0dee566e98f5ff4f224e596de1c04de4f9685df4).
Change-Id: I0b71a873245a28ef972c105e7d41347e6b0fb38a
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-60648
Change-Id: I79b9fdfde18041d95b7aa422bfb4d188ed907589
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The list is currently maintained in qtbase.
Task-number: QTBUG-60648
Change-Id: I38ff28e52c1274a6cfaae66ef232e482cff38e53
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order for types in a module to be available inside the module
itself, but not to external types, they need to be marked as
internal in the qmldir. This has worked by accident before, but
stopped working after 22a2cc43387ec3b9f74a6c01f8665378a4541147
in qtdeclarative, at which point no Qt Quick Controls applications
would run on Android.
Note that there is also a change needed in qtdeclarative, in order
to support implicit loading of internal types even when there is
an explicit import of the module (needed to get access to the
singleton).
Task-number: QTBUG-63309
Change-Id: I36b9ce9fa8f55c4da1f5e64c8fed120e9913bc85
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][FileDialog] Added defaultSuffix property
Task-number: QTBUG-39230
Change-Id: I7dc73c332ad62129d7158b6f6f5a614b8582ffbc
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Icfa0daf5e65337745f5986afee7cd3c8043fafa0
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ie2fb915a927d4c3481afa6e4ac64089440f7ac9c
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I4638457a51a72666b4c73130f4a856ad93ca2f13
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ie6ad3e9490dcf85bd5deb4c6d7004a4aa8b81433
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Increase QtQuick import version to 2.6 to enable the properties of
underlying QML Text type to be usable in the QML Label type too.
Task-number: QTBUG-57895
Change-Id: I7a2b641a56c90ab91b4e6c973278d8943fa6903a
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a regression from commit
dacb91916b202208681471ba764504c7c7d086f0. Make sure to include the
dialogs sources in the resource system when using the compiler.
Task-number: QTBUG-60991
Change-Id: I35c3e2e677e4f44ec56fe02b086ce08a8b765d37
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Embedded Android build (Boot to Qt Android injection) is defined by
having both Q_OS_ANDROID and Q_OS_ANDROID_EMBEDDED flags defined,
as well as having Qt config android-embedded.
This commit enables the possibility to build embedded Android builds.
(i.e. Qt build for Android baselayer only, without JNI)
Change-Id: Ic825e034f8d4b39c45e03b9f0a965f126559991e
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I90f9118e7e9a9b5ffcc9cba8909ff2cf3dd1e166
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: I67b3761e42ad377d090a9dd20ad6309bd72c5484
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a regression introduce by commit
751f08cf46f505980b8ebe9a228a6c229b470152. For a build with QML
Ahead-of-Time cache creation, we need the qml files in QML_FILES and
qml_module.prf takes care of installing them correctly into the file
system (caches and sources). For a static build we also need the sources
in QML_FILES, in order for their automatic inclusion in the resource
system (also by qml_module.prf).
Task-number: QTBUG-60861
Change-Id: Id9125530d8b385101994600c1224dbcb2a5333f9
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because we want to make QQuickItemPrivate::canAcceptTabFocus() respect
non-editable SpinBoxes (available in QQC2).
Change-Id: If2bc2707c448203a2105ddc4de10ac1566818e00
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using a mouse, you want a slider to react immediately to input,
not only if you move beyond a certain threshold. With the threshold it
is very hard to accurately position the slider. On touchscreens, the
threshold is necessary to allow for unrelated events, like flicking
views, to not interfere with the value.
Change-Id: I6cb8252338f20de559e062e738118593ffc1e099
Task-number: QTBUG-47081
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After commit 3ba11cf93820610273e2a16b13ab1d8c57a41d36 the shaders do not
belong into QML_FILES anymore (and also don't need to be copied via
COPIES consequently).
Task-number: QTBUG-60214
Change-Id: I8d68fe76810c2d2d8945ef410a377aa2ce0068c1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-60320
Change-Id: Iac74b469e971d28218fd35eadefb3c3b4bca4e51
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: Ife389a8fd4df1eef4f521ff734d02748b25ec184
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 <frederik.gladhorn@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic219be7b90cbcde8fcc6a2e4d4a598a5d38b1d47
Task-number: QTBUG-47539
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To disambiguate from QWindow::visibleChanged. Otherwise we get a
warning at runtime:
QMetaObject::indexOfSignal: signal visibleChanged(bool) from
QQuickWindow redefined in QQuickWindowQmlImpl
Change-Id: I95f984cface59cd7ec5710235959a1054b26275a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-58571
Change-Id: I11c9dfb4e0fad93b2961db4213f934eca7d214df
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is consistent with the other modules and prepares for the use of
qml caching.
Change-Id: Ifab9187ac60a52d0464c5afe46772a9da1489c73
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These explicit resource initialization calls are only needed when
linking statically.
Change-Id: I5518e1b32d4fc7c1d03d35dd15bf3ce65d5eafcf
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is useful to set a locale on a specific calendar, as opposed to
using the application-wide default.
plugins.qmltypes was also updated.
[ChangeLog][Calendar] Added locale property, which affects which day is
shown as the first day of the week, as well as date and day name
localization.
Task-number: QTBUG-60217
Change-Id: I113298a3f3b6dd407d26f3f55ed6973e73ab6a4c
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ia574913a1c2af6349db33966c172e96f6eb5f127
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4dcca848212d6aed403bbed1a8b484ab269b3e47
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|