- 27 May, 2013 - 19 commits
-
-
Liang Qi authored
It is about default behavior for QQuickWindow, when there is no any activeFocusItem in the whole window, Tab/BackTab key could help you to focus the item in the tab focus chain. Change-Id: Iccd770794e2f99a9a74c3a11f0ed278264a02d9e Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
J-P Nurmi authored
Change-Id: I8f977a171ea18420e326b79181d634eeb43b1de8 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: If56b5ca4af119d7897425609dcaf04336f77e032 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I06c9f4b0d9b6eef7d2ca608827eee982d8d97027 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
We don't want to directly expose the item properties in the namespace of the loader. Instead we standardize on styleData as a property container. Change-Id: Ib451e06ab393ba4945c96076d71dd3f96489e0c7 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Caroline Chao authored
Change-Id: I96af8ea444754e7c3cab954622d0f385b75f9689 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I16eb186a2b1f706bbc961d34a614bf2f9a9a0646 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
We now implicitly add the margins to GroupBox so that you can easily add them to a layout. This also gets rid of the silly Sidebar example and adds a much more useful Layout tab for effective testing. Change-Id: I6026c32b2a198062d9b11a67245df0529aa61f8a Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Caroline Chao authored
So it is more visible. Add some tips if user needs to run the autotests. Change-Id: I86739a06b1cd62a061aec20fb640f7c66cfc557c Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
Jens Bache-Wiig authored
This reverts commit 1283dffcae90ace0cd97e10f28082318a3049271 As Tomasz pointed out, this causes a regression when setting value so we need to revise. Change-Id: I965b815b14b7ec7497e1a09d42fd973c74759f2b Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
Caroline Chao authored
Change-Id: Iffdf1b65a3ac80af73c3567c49bf8f0a9070dccb Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
For consistency we should use "plugin" as suffix on plugin names. Change-Id: Ieea483cc1d7642e4fcd7d0907de8efd7e00743e1 Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jens Bache-Wiig authored
We need to update the active palette text color every time the state changes. Change-Id: I7861eb4be76ccaeb58e9ff9aea58fa54d4f8d4c9 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Liang Qi authored
Task-number: QTBUG-31388 Change-Id: I6b8ed2c7f641e38242540633fefe9ed0dc7cc8bf Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com>
-
Jens Bache-Wiig authored
We should not use names as generic as "plugin.dll" and "private.dll". This will cause a lot of confusion when deploying. Task-number: QTBUG-31348 Change-Id: Iee18e4d0cd713b63ff1b99dc0db31123b90666ec Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jens Bache-Wiig authored
Made the SpinBox and TextField 22 px on mac. Fixed internal offset. Change-Id: I36964048415dfedb3db0fac65fb8c1b710ea226f Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Jens Bache-Wiig authored
Adding the right margin of TableView and adding some extra margins makes the example look a bit more polished Change-Id: If969230fe2e1068a42f92708df311550f88fb060 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Jens Bache-Wiig authored
In particular QGtkStyle depends on having the selected tab rect in the style option. Otherwise it cannot draw the tab frame correctly as we pass this information on to gtk. In addition we were not correctly setting the tab position on the frame. Change-Id: I9aa17d6b33f6b283122014994dc92a6afb913f30 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Jens Bache-Wiig authored
These were both too small on most platforms. Since we have rather broken logic in widgets for this, I will simply assume they share the same height. Change-Id: I98da5a925087fec300de3c1c91b58110103e1a38 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- 26 May, 2013 - 1 commit
-
-
Jens Bache-Wiig authored
When using tick marks we clip the slider at the bottom in both mac and gtk style. Even on windows the handle is too small so I will increase the default size a bit. Change-Id: Ief2cab5f8c9edbc8c1966530a0c3b52234c30796 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 25 May, 2013 - 1 commit
-
-
Sergio Ahumada authored
This means that we are going to use the same branch name for the dependencies as the branch of the repository under test. If we are testing the 'stable' branch, all dependencies will point to the 'stable' branch as well. Change-Id: Ia4afe46fdc798f3e037fdc84cb48886ee60d5112 Reviewed-by:
Iikka Eklund <iikka.eklund@digia.com>
-
- 24 May, 2013 - 9 commits
-
-
J-P Nurmi authored
Change-Id: I80d3b3e1914439a9c36655c0b7f2e722fb23dc1c Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
Only mac style actually indicated focus as we depend on a focus rect around the text label for other styles. Bonus fix: When setting the width of the check box we would still use the implicit width in the style which meant that items would overlap incorrectly Change-Id: Ibb4dc92633fbc5fb200a35d1c0b04a297c7f8f42 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Caroline Chao authored
- checkedState - partiallyCheckedEnabled - alternatingRowColors And update status bar. Change-Id: I837aac4788e04901418264374c84ae92c2234b2f Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
In Windows XP style, we actually use different values based on tab position. That means we have to pass these values through the tab style option. Change-Id: I65904a9a57326003cfddef1a12ada5dda2fa2eab Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jens Bache-Wiig authored
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 <jpnurmi@digia.com>
-
J-P Nurmi authored
Change-Id: I9f1690524e29cd7fe0ab35be216aca9a6edd35ca Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
This makes it possible for the style to simply increment or decrement the current index (consider arrow buttons). Change-Id: I048924d7f1f506ecc3005d2ebdfeb01d5ea6ca40 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Let the style decide whether tabs should be squeezed or not. Change-Id: I25bdd9a4d045583613e14b4cba680642eda2ab59 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I86102ddb14371498b9451f247f1f709633e82458 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 23 May, 2013 - 10 commits
-
-
Tomasz Olszak authored
Now one can choose which set of styles should be used by the controls. The value should be the name of the QtQuick/Controls/Styles subdir (eg. QT_QUICK_CONTROLS_STYLE=Desktop). NOTE: The environment variable is for internal use and may be removed in the future. Change-Id: I23919270cd1e2406534fafe1134739d145a93538 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
J-P Nurmi authored
Change-Id: I3d5a4fe8ce277e92d28e0ff68c1dab0ad029ea4c Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Caroline Chao authored
Task-number: QTBUG-31135 Change-Id: I0d9b0a3cf9d1036e6940e10944c711cdd23d858a Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
J-P Nurmi authored
Empty corner items may be used as padding, so TabViewStyle::left/rightCorner effectively replaces TabViewStyle::left/rightPadding. Change-Id: I01f3a1552c3395352e8953456d3956f4f8c29aed Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Since scrollbars affect the document/viewport size and vice versa, we must allow the layout loop to recurse twice until the sizes stabilize. Furthermore, avoid nasty content size binding loops (from ScrollView) by providing a specialized Flickable item that TextArea has full control over. Task-number: QTBUG-30832 Change-Id: I74fe6c5017e75aa411fdbb64087afa18e1221ce9 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I1a247656b957c87ef728fb42b2b212e02b5e5cd9 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
J-P Nurmi authored
Change-Id: I11096da2efdebf2a3a2e003c90e48e120f8ba5fd Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
- Removed contentWidth and contentHeight since it is not needed - Exposed contentItem so that it can be designable. - Respect the implicit width or height of the contentItem if it is the only item of the GroupBox. Otherwise childrenRect is used. - Modified the style so that the style takes care of only the padding size and not the entire size of the group box. - Fixed flat and checkable appearance for custom style Change-Id: I2c7ec4cb7d5e6f96863847e8d8d6d6f52428364e Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jan Arve Saether authored
Casting a QLayoutPolicy::Fixed to bool was fine since that would return false. However, casting a QLayoutPolicy::Shrink to bool would return true, which would give wrong results. (The conditions only want to check if the item can grow). There were no bugs because of this, simply because the Qt Quick Layouts API does not allow setting *only* the shrink flag. However, it would become a bug if we ever added such a feature. Change-Id: I781aec85117f45e12e49ba27f7ed8f5724f71bd9 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
-
Jan Arve Saether authored
If no stretch factors were specified, we used the preferred size as a stretch factor. Obviously, that didn't work if the preferred size was actually 0. This patch works around this by actually setting the stretch factor to 1.0 if this is the case. This should work fine in most cases, except for the case where there are also other items with a preferred size close to 0. In this case, the item with preferred size 0 will just grow faster than an item with e.g. preferred size 0.1. Task-number: QTBUG-31217 Change-Id: Id5a3e19c9cd756860fc4052daee3eb5582f39d0c Reviewed-by:
Paul Olav Tvete <paul.tvete@digia.com>
-