- 27 May, 2013 - 6 commits
-
-
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 - 15 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>
-
Caroline Chao authored
Add autotests. Task-number: QTBUG-31033 Task-number: QTBUG-30971 Change-Id: If82d5a9b6200e62d358ffc83e55137bab9b242c5 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
Liang Qi authored
When nextItemInFocusChain is out of the TabView, the tabitem in TabBar will get focused. Autotest is included. Change-Id: If5701afa1aeed16383b8d96483342a4629293997 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jens Bache-Wiig authored
We changed the TabView api from int to string so now we need to translate to the style. Change-Id: I9dafd9166a552a38eec06f46f4c6d4697b10eff6 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Caroline Chao authored
Change-Id: I5386e2b4af37c1dbad50740c748e953c81c85d22 Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
Jens Bache-Wiig authored
We have to maintain the handle offset until the drag operation has ended. If the user clicks outside the handle, we center on the cursor position as before. Task-number: QTBUG-31042 Change-Id: I8f23d998774278c6353d31b6fffea54596f7158e Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 22 May, 2013 - 5 commits
-
-
Tomasz Olszak authored
Change-Id: Ie47788f95d2ebfb0143bbccc77aa37efe155958d Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
Jan Arve Saether authored
The initialization of ignoreItem was simply wrong. Task-number: QTBUG-31128 Change-Id: I67b41bc30099222d64aa6efb3c28e87a0ce043ca Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com>
-
Jens Bache-Wiig authored
- Fixed missing press appearance of slider handle - Removed drag threshold when pulling handle - Ensure handle stays connected to mouse cursor by giving the fake handle size Task-number: QTBUG-31042 Change-Id: I289a48b5fa67dde2792590645b8630a7ae6518d9 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
Caroline Chao authored
Change-Id: I1ee810dfcd57fd9ff7ddf65c87208c8b457f755e Reviewed-by:
Nico Vertriest <nico.vertriest@digia.com> Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
Caroline Chao authored
Task-number: QTBUG-31160 Change-Id: Ife5837645636be1b2b2ee5cf9b0aa27ac04c2dc0 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- 21 May, 2013 - 1 commit
-
-
J-P Nurmi authored
Change-Id: I87a6a582824363197f66f6b7f6f29aa603123458 Reviewed-by:
Caroline Chao <caroline.chao@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-
- 17 May, 2013 - 1 commit
-
-
J-P Nurmi authored
To avoid accidentally instantiating all rows at construction time, make sure the rows have a valid (but arbitrary) height meanwhile the row delegates haven't yet been loaded. Change-Id: I1afc6bfa920886260717b3cb172fa0d858c0a8d5 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- 16 May, 2013 - 1 commit
-
-
Caroline Chao authored
Task-number: QTBUG-31160 Change-Id: I7dc6e0d755093786e079f526e5ff5f6cbcfa94e0 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com> Reviewed-by:
J-P Nurmi <jpnurmi@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com>
-