- 20 Nov, 2014 - 1 commit
-
-
Richard Moe Gustavsen authored
Change-Id: Ifceb9c69e94d3c4fd31169785fb6a5b8c8694561 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- 13 Nov, 2014 - 1 commit
-
-
Mitch Curtis authored
It doesn't look very nice (missing spaces, several statements per line). Change-Id: I2d7de5148498a25e4ade0125e66a64a688da688b Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-
- 07 Nov, 2014 - 4 commits
-
-
J-P Nurmi authored
Change-Id: I5115bbab670f534dae44eb19c2208aff21293889 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
Venu authored
Changed the section title and removed a redundant sentence. Change-Id: I16ac77e2df61f488f1feda60d043f6ed95af7f6c Reviewed-by:
Topi Reiniö <topi.reinio@digia.com>
-
J-P Nurmi authored
Change-Id: Iefd5ed9b662423c25d5dcad011d93b2336da794a Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
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>
-
- 06 Nov, 2014 - 1 commit
-
-
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>
-
- 05 Nov, 2014 - 3 commits
-
-
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>
-
J-P Nurmi authored
Change-Id: I7784b3a8266f889bc2079da4c64096eb9d50d6f5 Task-number: QTBUG-42252 Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
-
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>
-
- 04 Nov, 2014 - 4 commits
-
-
J-P Nurmi authored
Change-Id: I76598cb827c97ed80561d78680db0bf13e75f5ca Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
J-P Nurmi authored
Change-Id: Ib62be83b1652777e7603a262a8a89c132d3766e7 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
-
J-P Nurmi authored
Change-Id: I5853c6c4c315aebdc378af1f3c0e6d34a2b19115 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
-
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>
-
- 03 Nov, 2014 - 1 commit
-
-
Mitch Curtis authored
Change-Id: I85022aff7e3618aed49b8fbd4d1a817081a14982 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- 31 Oct, 2014 - 2 commits
-
-
Gabriel de Dietrich authored
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>
-
Gabriel de Dietrich authored
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>
-
- 30 Oct, 2014 - 9 commits
-
-
Richard Moe Gustavsen authored
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>
-
Richard Moe Gustavsen authored
If you press and hold on an input field that doesn't have focus, we select the word under the cursor, which will make the menu show. But if the field is empty, no word can be selected, so therefore no menu will show. This patch will check for this special case, and show the menu if you pressnhold on an empty input field. Change-Id: I7d2c137765471cb1ff1dc4f7e34577e5e1317dc0 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
J-P Nurmi authored
A much simpler, scalable and mobile friendly UI. Some of the more complex controls, such as TextArea and TableView, are intentionally left out. They are scrollable on their own, so they wouldn't play nice inside scrollable pages. Furthermore, adding them as standlone pages would increase the amount of tabs too much. Those controls are demonstrated in the Text Editor and Table View examples, respectively. Task-number: QTBUG-41307 Change-Id: Ib3efb346e621e388087f3f14c73b3b54279db280 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
-
J-P Nurmi authored
Change-Id: I0e46e77186a8572c63c3eed7a99f35b948b87de3 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
J-P Nurmi authored
This reverts commit 774f2aa1 that broke sliders (auto test for RangeModel included to prevent that from happening again) in the Qt Quick Enterprise Controls gallery. Some sliders with a hard-coded range [0..360] and value 240 ended up having a value of 0 at Component.onCompleted. Change-Id: Ib3024c51c0552ac06528ba47b08e1a33a5f48324 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
J-P Nurmi authored
Change-Id: I7aff0236a08465c05559bd8a2e8a60b556fbc4ba Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
-
Shawn Rutledge authored
The autotest has been failing on Windows because of this. Change-Id: I6ec42a256455d7a71a522fa7e75dc44f93b741ea Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
J-P Nurmi authored
The API is not ideal, we don't want to lock this thing down like as it is now. All styles implemented so far created CursorHandleStyle.qml and SelectionHandleStyle.qml so perhaps that's the better way to go. Furthermore, there's never going to be multiple occurrences of the handle pairs, so it should be one shared instance. Thus, the relevant style delegates probably shouldn't be sprinkled around various control styles... So, for now, the most pragmatic solution is to make the handles and cursors internal since we don't have time to revamp it before 5.4.0. Change-Id: Ib9fcc4a431bb510c8c55a760159f4d6a631554b3 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
-
Samuel Nevala authored
Instead of TextInput.inputMethodComposingtext and TextInput.text.length use TextInput.displayText.length to determine if placeholder should be visible. Task-number: QTBUG-40534 Change-Id: I0de2cb65c7c59d54365172b9233a5aba0f067ff5 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- 29 Oct, 2014 - 4 commits
-
-
J-P Nurmi authored
The "menu.source" check added by 38b908ab is always true even for an empty url => use "menu.item" instead. Change-Id: Ic9004dff18c848a720ea1c414b2921158a367778 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
-
Shawn Rutledge authored
A "save as" dialog does not need to validate existence of the file. When the user presses enter in the text field at the top, and the text field contains a path to a directory, it usually means enter the directory; but if the dialog is for choosing a directory, then pressing enter will mean enter the directory if the dialog is not already viewing that one, or else accept the current directory as the choice if the table view does not have focus on some other row. When the user presses enter in table view, go down into a directory only if a directory is selected; otherwise accept the current selection. When the user clicks a row in the table, copy the path of that row into the text field so that it is possible to edit the path before pressing Enter or OK (behavior similar to a native dialog that has an editable path, such as GTK). Task-number: QTBUG-39435 Change-Id: Ibd5e988624c5b1072a12239d681cbdc812e0a697 Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
Shawn Rutledge authored
If qmlimportscanner sees these files, it will assume that the widgets module is necessary. Change-Id: I5cf9ab7f8686bd1988cd7c16d35b5f04ad2e92a8 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
-
Gabriel de Dietrich authored
Change-Id: If109280bca207d0d5d7bd43964f5aaec9df553d3 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by:
Caroline Chao <caroline.chao@theqtcompany.com>
-
- 28 Oct, 2014 - 2 commits
-
-
J-P Nurmi authored
GroupBoxStyle was using checkmark indicator's height even when the GroupBox was not checkable => too much spacing. Change-Id: Ic68d8428471b8835cd92f44610a0d8b281bcc734 Reviewed-by:
Mitch Curtis <mitch.curtis@digia.com>
-
Shawn Rutledge authored
It doesn't make sense to use widget-based dialogs in a QtQuick app on a mobile platform because widgets are not optimized for touch. Change-Id: I8659f247eb6e75ca827e8b42a0fb1e7f65dceee1 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- 27 Oct, 2014 - 2 commits
-
-
Richard Moe Gustavsen authored
The edit menu has it's own logic for when to show the menu, when to activate the input field etc upon press/release/click. So if there is a menu, don't interfere with its logic. Change-Id: If6af1e7b8f6bc68c66836846969cfe6bcee56de4 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
Shawn Rutledge authored
The focus binding didn't work if the default content item was replaced, as in the "buttonless marginless dialog" example. Change-Id: Ice6bea21e9fe51bbdbf8cadba8de0d5ed7240285 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
- 24 Oct, 2014 - 4 commits
-
-
Samuel Nevala authored
Don't load EditMenu at all on Android. Task-number: QTBUG-42094 Change-Id: I94f10c4bbfc83ed30d166ef56863dfc956d1fb8e Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
Samuel Nevala authored
This reverts commit e64180b6 . TextInput does commit & hide no need to do it here Change-Id: I29c9e9421afd957457c648dc07270ee5dd7ca8e5 Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-
Shawn Rutledge authored
When instantiating via Qt.createQmlObject('Dialog { }', window, "path") the dialog's parent will be the Window. That was an unanticipated use case, but also a simpler one: if the platform does not support multiple windows, then we only need to construct the dialog and its decoration on top of that window's contentItem. Or if there is to be a separate dialog window, then it should be transient for the main window. Also rearranged the parenting strategy around the fact that the application is always within a QQuickWindow: parentWindow() is responsible for finding it, and it's not necessary to recursively go up the Item hierarchy to find the root item if we are sure that there is a window, because the root item is that window's contentItem. Task-number: QTBUG-38578 Change-Id: I79e0cf44f789701f5d40e5e9d0449a55947be907 Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
Samuel Nevala authored
TextInput does hide and commit remove it from TextField. Task-number: QTBUG-37850 Change-Id: I6a77f856ece4856e7f745ab4a75b214997abf7d8 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
-
- 23 Oct, 2014 - 1 commit
-
-
Shawn Rutledge authored
Make tab and button labels shorter so that they fit even on very-small- screen devices (like iOS). Make the content of some tabs scrollable. Background color of the Font tab matches the others. Use RowLayout to make baseline alignment of checkboxes and associated text fields possible. Use ColumnLayout because it works better inside a ScrollView. Use Label instead of Text so that the renderType is consistent. Change-Id: Ie2d07153532f35d108a0b6ad0bb4f10326f79d24 Task-number: QTBUG-41999 Reviewed-by:
Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
-
- 22 Oct, 2014 - 1 commit
-
-
Gabriel de Dietrich authored
The property has been present since 5.1 for rowDelegate and missing for itemDelegate. Also, the property was incorrectly bound to the table having active focus instead of the row. Change-Id: I43a93975dffd849b37cfee6363343f8aef57d11b Reviewed-by:
J-P Nurmi <jpnurmi@theqtcompany.com>
-