Commit Graph

18 Commits

Author SHA1 Message Date
Igor Trindade Oliveira
b6a0c0775c move toolbutton to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1077756
2010-01-20 20:27:41 +00:00
Aaron J. Seigo
54a24c3614 down, for consistency with qtoolbutton
svn path=/trunk/KDE/kdelibs/; revision=1077308
2010-01-19 22:28:49 +00:00
Aaron J. Seigo
4d2fe69c8a style*S*heet
svn path=/trunk/KDE/kdelibs/; revision=1077275
2010-01-19 21:23:05 +00:00
Aaron J. Seigo
6063c5cab0 add a property for downness
svn path=/trunk/KDE/kdelibs/; revision=1077251
2010-01-19 20:32:22 +00:00
Davide Bettio
1202423649 Added setDown(bool) to Plasma::ToolButton.
svn path=/trunk/KDE/kdelibs/; revision=1077191
2010-01-19 16:20:41 +00:00
Marco Martin
291b11f8a2 -update geometry when the text changes
-return a good size hint based on svg margins

svn path=/trunk/KDE/kdelibs/; revision=1071052
2010-01-07 12:44:20 +00:00
Marco Martin
2bdb8bc405 forward released too
svn path=/trunk/KDE/kdelibs/; revision=1034804
2009-10-13 15:29:23 +00:00
Marco Martin
8587a9dd47 forward pressed
svn path=/trunk/KDE/kdelibs/; revision=1031647
2009-10-05 17:20:05 +00:00
Marco Martin
3db6d84c03 provide isDown as well
svn path=/trunk/KDE/kdelibs/; revision=1031646
2009-10-05 17:16:09 +00:00
Aaron J. Seigo
45b39e84c4 * repaint the svg when the theme changes
* delete the svg before creating a new one
* only create a new svg object if the path has changed

svn path=/trunk/KDE/kdelibs/; revision=1022989
2009-09-13 17:13:55 +00:00
Marco Martin
5cc2ddf8ad always use plasma::theme font, unless somebody call setFont on the
widget
round one:widgets that draws themselves without native()-render()
and don't have a setFont function themselves

svn path=/trunk/KDE/kdelibs/; revision=1022897
2009-09-13 13:13:55 +00:00
Arthur Renato Mello
d9d08c94e0 Fix svg support on Plasma::ToolButton, setting correct path and size of svg
svn path=/trunk/KDE/kdelibs/; revision=997953
2009-07-16 18:03:22 +00:00
Fathi Boudra
9078536006 Plasma::ToolButton::setIcon()/icon() since 4.3
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=975842
2009-05-31 12:20:57 +00:00
Aaron J. Seigo
9ddc33a663 allow setting a QAction on push and tool buttons
svn path=/trunk/KDE/kdelibs/; revision=958514
2009-04-24 07:40:52 +00:00
Marco Martin
88abeaf783 icon() and setIcon() in the api, pretty foundamental in a tool button...
svn path=/trunk/KDE/kdelibs/; revision=913027
2009-01-18 17:28:04 +00:00
Marco Martin
ff775cfaf0 SVN_SILENT: whoops slipped a copypasted copyright in the header :)
svn path=/trunk/KDE/kdelibs/; revision=882819
2008-11-11 12:52:25 +00:00
Marco Martin
ec70aa7179 paint correctly not autoraise buttons (default behaviour is autoraise)
and expose setautoraise in the api

svn path=/trunk/KDE/kdelibs/; revision=882816
2008-11-11 12:50:42 +00:00
Marco Martin
3cc9af418d as the name says, ehi, it's a toolbutton :)
svn path=/trunk/KDE/kdelibs/; revision=882689
2008-11-11 09:30:05 +00:00