Commits (20)
-
Marco Martin authored
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>
04ec29f8 -
J-P Nurmi authored
Change-Id: I5853c6c4c315aebdc378af1f3c0e6d34a2b19115 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
9c6a5d47 -
J-P Nurmi authored
Change-Id: Ib62be83b1652777e7603a262a8a89c132d3766e7 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
389d091e -
J-P Nurmi authored
Change-Id: I76598cb827c97ed80561d78680db0bf13e75f5ca Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
1f6041cb -
J-P Nurmi authored
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>
74b05b5c -
J-P Nurmi authored
Change-Id: I7784b3a8266f889bc2079da4c64096eb9d50d6f5 Task-number: QTBUG-42252 Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
aa510d9a -
J-P Nurmi authored
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>
d2439bed -
J-P Nurmi authored
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>
cf26937d -
J-P Nurmi authored
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>
9f4ff8ce -
J-P Nurmi authored
Change-Id: Iefd5ed9b662423c25d5dcad011d93b2336da794a Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
e2b8964c -
Venu authored
Changed the section title and removed a redundant sentence. Change-Id: I16ac77e2df61f488f1feda60d043f6ed95af7f6c Reviewed-by:
Topi Reiniö <topi.reinio@digia.com>
a8532793 -
J-P Nurmi authored
Change-Id: I5115bbab670f534dae44eb19c2208aff21293889 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
8e8b0dba -
Caroline Chao authored
Change-Id: I61e6029c813fd0258a24c6ea547190808f42edc9 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
1e985e46 -
Oswald Buddenhagen authored
Change-Id: I278a90bb0049a96008700f4e0128bd95c0fae1fd
d162d3b0 -
J-P Nurmi authored
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>
6c9ba0eb -
J-P Nurmi authored
Change-Id: Ied63a5bd58a88f097ac9e20f30c21d45f45a2f46 Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
09a56c4f -
J-P Nurmi authored
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>
27987d0b -
Caroline Chao authored
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>
86dacdcb -
J-P Nurmi authored
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>
313ae1c3 -
Jani Heikkinen authored0bcb1054
Showing
356 Bytes
303 Bytes
205 Bytes
File moved