| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I8424a4d3981065aa844bbd432ab777d621b7cd20
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|\
| |
| |
| | |
Change-Id: I5a1536a048d8ee0b727331b0e2ec4bd211544d87
|
| |
| |
| |
| |
| |
| | |
Change-Id: I42b98f9394267cf56930edc13d9942bda6ebfcda
Task-number: QTBUG-43810
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add internal hooks that get called for style plugins that implement
them. The hooks allow standalone style bundles to initialize their
resources (to make them visible to controls) and to specify the
QRC location of its QML files, eg. qrc:/path/to/Style.
Change-Id: I29c4e337e893f7aa65af7b05ff467e15bc84bf43
Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A menu popup may be positioned partly or fully outside
of the available geometry. For example if a Windows
side bar (appbar) is opening such a popup, it will be
completely outside of the available geometry (rcWork from
MONITORINFOEX) since such sidebars are not part of that.
Instead, use the regular, full geometry.
Task-number: QTBUG-43693
Change-Id: Ibd22150cb7ec94a46df2facbfc1bf5f20bda51e5
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
The context makes it obvious what is meant and the bug tracker
URL is about to change as well.
Change-Id: Ic28ede609db0598afa785177032c55b80e01d4db
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|
|
|
| |
Change-Id: I408df63acfecb5649705890d6614476ea18217cd
|
|
|
|
|
| |
Change-Id: I1eb87e2037ecf36b7d313d11bf3215fa70d26b59
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
If the control looses active focus, we start a timer
to update menu visibility. But when the timer fires
and we do the actual update, we didn't test for
active focus, which meant that we would show the
menu when we really meant to close it.
Change-Id: I6881e62be3a6cf4d82489663bc6d848d1dcf57d2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
| |
Change-Id: If6d72a65b01453e2f2ea76026ec158c98e80421e
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Make StackView a FocusScope so inner focus changes don't have
undesired side effects in other parts of the application.
Task-number: QTBUG-42506
Change-Id: I0d901083196cf90f236a24e1dcd2e91bd9f320db
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|\
| |
| |
| | |
Change-Id: I4c81a7852e7041328b7cfa320e907cc3cb863f04
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-42314
Change-Id: I7e63d744bbed4a5c254d6cffdc8aba4c5e37d5c3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this patch, I could not adjust the scrollbars in a ScrollArea on
a Windows 8.1 desktop computer just because it had a touch screen.
The same problem was observed on Linux (with touch screen).
Task-number: QTBUG-42806
Change-Id: I6f35c40b0362820d7c1685e1b6fc8474432237eb
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 5.0 introduced control state change transitions. Without this
change, CheckBoxes and RadioButtons don't transition between checked
and unchecked states as appropriate.
Task-number: QTBUG-42520
Change-Id: If2aa70898e72b78f105732cc4ee5c9674cc6082c
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-40362
Change-Id: I94d869e9d38c5d958df4abd1e17f219cfa3ce16a
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I759db84f29216844a043df4712d9858b6a251490
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-42682
Change-Id: I14b60415f5a1bfdc0874013de707560a944c0824
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
An earlier commit renamed the image that was
referred but this reference was not updated.
Change-Id: Ic4b6e9d6d1e01835e53a4fd4640ae45b105898fd
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| |\
| | |
| | |
| | | |
refs/staging/5.4.0
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I278a90bb0049a96008700f4e0128bd95c0fae1fd
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
So far, text selection handles were only provided by mobile
specific styles. The new Flat style is an exception that
provides text selection handles for mobile, but is still
intended to be usable on desktop too.
The text selection handling code thus needs not only to check
whether the text selection handles exist, but also whether it's
a mobile platform. This fixes text selection on desktop.
Change-Id: Ibda2045ca42970e7db692d2e8370ac0dba21625a
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To match the updated example. Display a screenshot for both
Android and OS X in the gallery example documentation.
Change-Id: I37e56437bb54248a4d500810c56ce8a8ba15b4d2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Without this change checkboxes, radio buttons, slider handle etc.
are black on Android 5.0. This change applies the tint color so
that the controls become green/cyan as appropriate.
Task-number: QTBUG-42520
Change-Id: Ib8bd9d279f34e0f7951b311f398bc1fb11f7b1ba
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ied63a5bd58a88f097ac9e20f30c21d45f45a2f46
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ensures that the thumb text width is correctly calculated regardless
of QML's arbitrary binding evaluation order.
Change-Id: I71526db963fec6d54ad717f46382537591268e37
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I61e6029c813fd0258a24c6ea547190808f42edc9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic6b5d69a15e67fae70b375fe84d4f094203f20c3
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Logging everything having to do with the dialog window or fake window
decoration, visibility, geometry and geometry dependencies.
Change-Id: Ibf657f917cc04fac3b59ad756f2427434e7b8a23
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Spinbox validator considered invalid an intermediate value preventing the user for inserting a valid value.
Task-number: QTBUG-42342
Change-Id: I24d2f9f7d6fb9d5d4f96f81821b37a30421665a3
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The QQuickPopupWindow doesn't forward the mouse event to the transient window
if the menu is dismissed
Task-number: QTBUG-40391
Change-Id: I2e5fd8b64c63d005445f9fd5e8b36e47b04c1e8b
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's easier to turn on debugging instead of uncommenting #define.
Change-Id: Ia1d39934c6dd30dd9fe850d109debfdda7a740da
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifceb9c69e94d3c4fd31169785fb6a5b8c8694561
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
It doesn't look very nice (missing spaces, several statements per
line).
Change-Id: I2d7de5148498a25e4ade0125e66a64a688da688b
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I5115bbab670f534dae44eb19c2208aff21293889
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| |
| | |
Changed the section title and removed a redundant sentence.
Change-Id: I16ac77e2df61f488f1feda60d043f6ed95af7f6c
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: Iefd5ed9b662423c25d5dcad011d93b2336da794a
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The cursor handle is visible on Android even when there's no selection.
Let the style decide when to show/hide the handles, but make sure to
disable the corresponding MouseArea when a handle is hidden.
Change-Id: I211c122998223ad25279bee2841c5b5e14d4c48e
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A simple sortable and searchable table view example that
also fits a mobile screen. The old "example" is demoted
as a manual test app.
Task-number: QTBUG-41253
Change-Id: I746c8e5871c35a184748abbb4427ca3d160ffc8e
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This example served no purpose. A similar snippet can
be found in SplitView docs, in the detailed description.
Change-Id: Ic53e5bbe8c0c46c7cf9a0002f12ad6c229028388
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I7784b3a8266f889bc2079da4c64096eb9d50d6f5
Task-number: QTBUG-42252
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A native unlayouted EditText control fits 20 characters by default.
Let Qt Quick Controls Android Style use the same metrics instead of
adjusting to the textual contents. This gives empty TextField,
SpinBox and ComboBox sensible implicit sizes instead of shrinking
them down to something unusable.
Change-Id: I3cd3948aa3d64daada9d0b7d773cebb6627263f6
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: I76598cb827c97ed80561d78680db0bf13e75f5ca
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ib62be83b1652777e7603a262a8a89c132d3766e7
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I5853c6c4c315aebdc378af1f3c0e6d34a2b19115
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The qstyle can set as preferred size for itemview items a different
size than the text height depending from the result of
sizeFromContents( CT_ItemViewItem, ..
Examples of styles that do this, are Oxygen and Breeze,
in order to have a bit more spacing.
This makes the combobox render incorrectly.
This patch makes use of the size hint of the qstyle instead of the
text height. Since the height can be more than the font height,
the text (and optional icon) are now drawn vertically centered
in the delegate.
Change-Id: I898d85c994d5760979750c2f3a5dafd83f1e3cbd
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I85022aff7e3618aed49b8fbd4d1a817081a14982
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Losing focus is no reason to lose the user's input. This is how
desktop platforms work. Most mobile platforms work the same way.
Change-Id: Ifea1051cd79ea9d0213adfd4f02c18b5573e7823
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Most styles rely on the handle being hovered, not the whole slider.
[ChangeLog][Slider] The hovered property is set only when the handle
is hovered, not anymore on the groove
Change-Id: I749b076c98fba8e344218e46637ec00d24c0250c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
|
|
|
|
|
|
|
|
| |
Make sure that we don't show the 'select' menu item if there is no
word that can be selected.
Change-Id: I24aec2f3b77a1bcdd1e71b5b2a853992476eb936
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
|