summaryrefslogtreecommitdiffstats
path: root/src/styles/Base/ButtonStyle.qml
Commit message (Collapse)AuthorAgeFilesLines
* Move Styles and Private under controlsCaroline Chao2013-08-161-176/+0
| | | | | | | | | | | Register the C++ private API from the controls plugin. The private plugin is not needed anymore. The Controls "submodules" Styles and Private are moved to the controls subfolder in the sources tree. Change-Id: I98358227c945b6cd1a8dbff9d07e6cad4f044277 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Base/ButtonStyle: fix the background of checked buttonsJ-P Nurmi2013-08-061-1/+1
| | | | | | Task-number: QTBUG-32542 Change-Id: I15b9a62b1daad14a591d9e46f15a754ec230e700 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* ButtonStyle - fixed redundant anchors binding in panel.Tomasz Olszak2013-07-311-1/+0
| | | | | Change-Id: I5c280e9571243f7d4f2ca517ba7320ebcd8ab615 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Add icon to button with Base styleJens Bache-Wiig2013-07-091-6/+18
| | | | | | | | | This was simply not implemented before. Unlike desktop styles I made the button resize to fit the icon rather than scale it down. Change-Id: Ib58d4d54d0dce3d5e5b53a1528dc4108b377975a Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Expose hovered to our controls and document it consistentlyJens Bache-Wiig2013-06-061-20/+2
| | | | | | | | | The current solution is messy and we only expose it partially to some of our styles. I think we should simply expose this to all. Change-Id: Ia546d5657ea416df99c9d9d92cc714b7f1c928fe Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
* Doc: Add doc structure for StylesCaroline Chao2013-06-031-0/+1
| | | | | | | | | | And: - Add an index page for the Styles - Add missing documentation for some properties (Component) - Fix unexpected curly brackets in a couple of code snippets Change-Id: Ib7265d1cd011a81012eb4b7f69738b84fba5b531 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Styles docs: fix the styleData -tablesJ-P Nurmi2013-05-311-2/+2
| | | | | Change-Id: I75fb45d3f6b7b93f5758bd1664f9ff674a492772 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Rename PaddedStyle to AbstractStyleJ-P Nurmi2013-05-301-1/+1
| | | | | | | | | | | Make Style inherit AbstractStyle, so it becomes the base class of all styles. AbstractStyle also now has a default "data" property so it's possible to conveniently declare helper content inside styles. Change-Id: Id84f3762cfae506e65021322619d7fb77b137994 Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Consistent use of "hovered" and style API conventionsJens Bache-Wiig2013-05-291-2/+2
| | | | | | | | | | | We were still using "containsMouse" in a few places, and we should consistently add "hovered" to all button types for consistency. Also fixed the SplitView to follow the new style conventions. Change-Id: Iebc333c0cecc5bcde27e626b1a611c2f2edcf7dc Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* ButtonStyle: expose styleData.hoveredJ-P Nurmi2013-05-271-2/+20
| | | | | Change-Id: I8f977a171ea18420e326b79181d634eeb43b1de8 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Enable padding as a grouped propertyJens Bache-Wiig2013-05-241-2/+13
| | | | | | | | | 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>
* Move the QML Base style within Styles/BaseJ-P Nurmi2013-05-231-0/+153
Change-Id: I1a247656b957c87ef728fb42b2b212e02b5e5cd9 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>