summaryrefslogtreecommitdiffstats
path: root/examples/quick/controls/gallery
Commit message (Collapse)AuthorAgeFilesLines
...
| * Adapt to Qt.platform.os rename ("mac" -> "osx")v5.1.0-rc2v5.1.0J-P Nurmi2013-06-242-2/+2
| | | | | | | | | | | | Change-Id: I089a01bee10b92f85dcdd338c695a3b796b0ecd1 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* | TextArea: switch to Qt.PointingHandCursor when hovering linksJ-P Nurmi2013-06-242-1/+2
|/ | | | | Change-Id: I7c306093c1afc9f5dfe942cd29da427c6a57d869 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Improve the Styles page and add missing SliderStyle propertyJens Bache-Wiig2013-06-069-34/+154
| | | | | | | | | | - I noticed we incorrectly exposed sliderPosition. - This adds some more custom style examples for the gallery and makes the second column actually different from the first. Change-Id: I73f0d613f51f6e75aaf734fd4e4c9fdb890e3e42 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Gallery: remove reference to colorDialogCaroline Chao2013-06-041-1/+0
| | | | | Change-Id: I0433e350634b4a2bea6161f53e7c7363654e2cf6 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Buttons: Allow overriding of visual properties when 'action' is setGabriel de Dietrich2013-06-031-2/+2
| | | | | | | | | | Those properties are, text, tooltip, iconName, and iconSource. Also, properly capitalized gallery's tooltips. Change-Id: I1995a85565edd7aaa420279821d7c1a31ef18253 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Cleaning up some examples and removing clutterJens Bache-Wiig2013-05-313-239/+214
| | | | | | | | We want to use more layouts in our examples as it is the recommended way to create tool bars etc. Change-Id: Ib3b1e8e907cc5277d522557a19d2c294a7d251b1 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Improved size calculation of GroupBoxJens Bache-Wiig2013-05-291-1/+0
| | | | | | | | This adds some pixel tweaks on mac, adds minimum size to fit the label and fixes dpi scaling on Windows Change-Id: I4c43ba4a7815be87356336a9dafc1a217437940b Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Gallery example: Increase minimumWidthCaroline Chao2013-05-291-2/+3
| | | | | | Change-Id: I3f97de79c8afed44f7b01778d94cc40bed8cc603 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* ButtonStyle: expose styleData.hoveredJ-P Nurmi2013-05-271-14/+10
| | | | | Change-Id: I8f977a171ea18420e326b79181d634eeb43b1de8 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* TabViewStyle: rename 'tab' grouped property to 'styleData'J-P Nurmi2013-05-271-2/+2
| | | | | Change-Id: If56b5ca4af119d7897425609dcaf04336f77e032 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Make GroupBox size respect anchor margins and update GalleryJens Bache-Wiig2013-05-276-145/+111
| | | | | | | | | | | 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>
* Style polishJens Bache-Wiig2013-05-271-1/+1
| | | | | | | | 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>
* TabViewStyle: add support for left and right corner itemsJ-P Nurmi2013-05-231-1/+1
| | | | | | | | 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>
* Update GroupBox to support contentItemJens Bache-Wiig2013-05-231-1/+1
| | | | | | | | | | | | | - 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>
* Introduce support for movable tabsJ-P Nurmi2013-05-211-0/+1
| | | | | | Change-Id: I87a6a582824363197f66f6b7f6f29aa603123458 Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Examples: Clean the pro filesCaroline Chao2013-05-141-5/+0
| | | | | | | | | Remove useless set of MOC_DIR, OBJECT_DIR, RCC_DIR and UI_DIR. Change-Id: Iba08d517e096a982f2bae9701083ebc40ee78ea2 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Examples: Make example projects work with Qt CreatorJens Bache-Wiig2013-05-134-1/+81
| | | | | | | | | | It seems pure qml projects don't really work in our examples architecture at the moment. This change adds a simple main file and resource bundle to each of the example folders. Change-Id: I4758242e71a2cb053252cbb09bf5c4439415691d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Automatically set toolbar widthJens Bache-Wiig2013-05-101-6/+2
| | | | | Change-Id: I4038afc1cb22102f8873014d90dedec79cbaa376 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Refactor and clean up public style APIJens Bache-Wiig2013-05-081-50/+32
| | | | | Change-Id: I10271c860abd9b45a262e3548628e6a3026e1a4f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Clean up and document SliderStyleJens Bache-Wiig2013-05-031-2/+2
| | | | | Change-Id: I6b97624338c3cfa4663e79bc243327ce9f494ccf Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Button: Add 'menu' property to get pull-down buttonGabriel de Dietrich2013-04-301-2/+7
| | | | | Change-Id: I97ce3f35153beee2d7b1113880f25fd01904ce5f Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Move examples into separate quick/controls directoryKai Koehne2013-04-3026-0/+1206
This makes sure all examples are in a separate directory for the Qt source packages. It also is in line with how the other repositories are structured. Task-number: QTBUG-30886 Change-Id: Idc2856e5dfaf467c8cb9764aee327a3b20c7b2d0 Reviewed-by: Caroline Chao <caroline.chao@digia.com>