Make ToolButton a Button and allow styling
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Thu, 26 Sep 2013 14:24:44 +0000 (16:24 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 27 Sep 2013 14:05:45 +0000 (16:05 +0200)
commite91552fad345ccf456079fc5c485bc42b0467096
tree81c27b8dfab08a185002afe53e5cd4ad943c86ad
parent2abe354c697f52e0c5918275429f6c82cb133211
Make ToolButton a Button and allow styling

This will add a menu property to ToolButton which it should
have anyway and allows it to be styled as a normal button.

Change-Id: Ie298752ad2e7e237f103479e6c97fb76ae381354
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
src/controls/Private/qquickstyleitem.cpp
src/controls/Styles/Base/ToolButtonStyle.qml
src/controls/Styles/Desktop/ToolButtonStyle.qml
src/controls/ToolButton.qml