Commit Graph

75 Commits

Author SHA1 Message Date
David Faure
af211f7c93 KIcon("foo") -> KDE::icon("foo")
include kicon.h -> kiconloader.h, or often, nothing at all.
2012-04-28 13:17:42 +02:00
Torgny Nyblom
8f6075ac7c include kicon.h 2012-02-10 19:59:05 +01:00
Stephen Kelly
585976ebbc Port to QIcon in APIs.
KIcon is only a 'factory type'.

git grep -l "const KIcon" | xargs sed -i 's/const KIcon\b/const QIcon/g'
git grep -l "QList<KIcon>" | xargs sed -i 's/QList<KIcon>/QList<QIcon>/g'
git grep -l "class KIcon;" | xargs sed -i 's/class KIcon;//'
git grep -l "KIcon\b[^()]*;" | xargs sed -i 's/KIcon\b\([^()]*\);/QIcon\1;/'
2012-02-10 14:56:20 +01:00
Stephen Kelly
b1b68adb7d Don't use the QtGui module name in includes.
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +01:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron J. Seigo
510d4d57a5 clearAction private slot
svn path=/trunk/KDE/kdelibs/; revision=1211028
2011-01-02 23:17:57 +00:00
Aaron J. Seigo
b78c8c842a missing dptr slot declarations
svn path=/trunk/KDE/kdelibs/; revision=1188697
2010-10-23 01:37:21 +00:00
Aaron J. Seigo
1fc68e3ef9 IMPROVEMENT: add a clicked() slot (which just backends on to animateClick()), and make setChecked a slot like it is in the native widget
svn path=/trunk/KDE/kdelibs/; revision=1175311
2010-09-14 17:34:31 +00:00
Aaron J. Seigo
a74c0a9706 syncToAction declaration
svn path=/trunk/KDE/kdelibs/; revision=1173939
2010-09-10 22:31:58 +00:00
Marco Martin
bc6d40852b animate hide of the focus indicator when a button is pressed
svn path=/trunk/KDE/kdelibs/; revision=1164481
2010-08-16 21:16:53 +00:00
Marco Martin
5dba601d47 fix build, animationUpdate() is dead
svn path=/trunk/KDE/kdelibs/; revision=1079737
2010-01-24 22:05:25 +00:00
Marco Martin
ee7be144b1 use pixmaptransition animation
svn path=/trunk/KDE/kdelibs/; revision=1079688
2010-01-24 19:48:18 +00:00
Igor Trindade Oliveira
323d93a0b1 go go go! port push button to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1078224
2010-01-21 20:07:33 +00:00
Aaron J. Seigo
8cf1526ffc property typo
svn path=/trunk/KDE/kdelibs/; revision=1077258
2010-01-19 20:56:51 +00:00
Marco Martin
a1d1b12624 like toolbutton, base on the svg margins for the size hint
svn path=/trunk/KDE/kdelibs/; revision=1071054
2010-01-07 12:50:56 +00:00
Aaron J. Seigo
7de7cf8de8 missing getter and property
svn path=/trunk/KDE/kdelibs/; revision=1048845
2009-11-14 01:06:58 +00:00
Laurent Montel
35a5992edc Pedanti
svn path=/trunk/KDE/kdelibs/; revision=1023178
2009-09-14 06:08:46 +00:00
Aaron J. Seigo
1730d86a73 add some properties and isDown()
svn path=/trunk/KDE/kdelibs/; revision=1023016
2009-09-13 18:12:32 +00:00
Aaron J. Seigo
f2af7e8087 kicon and qicon are treated differnetly internally by KPushButton, so we unforunately we need to provide an overload here
svn path=/trunk/KDE/kdelibs/; revision=1022998
2009-09-13 17:37:36 +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
Aaron J. Seigo
0ab4b19c25 add press/release signals
svn path=/trunk/KDE/kdelibs/; revision=1022977
2009-09-13 16:50:00 +00:00
Marco Martin
a827d621f8 use the plasma font...
unless someone called QGraphicsWidget::setFont()

svn path=/trunk/KDE/kdelibs/; revision=1022790
2009-09-12 15:05:39 +00:00
Arthur Renato Mello
f8580b442d Add support to load a single element from a svg as icon
svn path=/trunk/KDE/kdelibs/; revision=1003809
2009-07-28 21:07:19 +00:00
Aaron J. Seigo
64d02688f9 add some api widgets are using and which seems semi-common
svn path=/trunk/KDE/kdelibs/; revision=977687
2009-06-05 01:29:19 +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
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
eae853582b coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870205
2008-10-12 01:31:54 +00:00
Marco Martin
e0bd985045 use PaintUtils::transition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866781
2008-10-01 21:40:38 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Marco Martin
9eb10b594f now PushButton has a pretty animated svg theme (uses button.svgz)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838998
2008-07-29 08:37:25 +00:00
Anne-Marie Mahfouf
4ce38c254d consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
2008-07-16 20:07:34 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Davide Bettio
2f2efc43df QPushButton, QLineEdit, QTextEdit and QComboBox -> K*
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821270
2008-06-16 23:53:05 +00:00
Pino Toscano
f706960801 QtModule/QClass for Qt includes in public headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812730
2008-05-26 09:10:11 +00:00
Richard Dale
c3aa6bec48 * Fix the broken guard macros in the widget* headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810412
2008-05-20 17:29:23 +00:00
Aaron J. Seigo
9abfe2e1d0 export the classes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810061
2008-05-19 23:17:44 +00:00
Chani Armitage
0906a09ae9 return of the son of pushbutton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809575
2008-05-19 05:44:32 +00:00
Aaron J. Seigo
102cd5b748 no longer used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +00:00
Alexis Ménard
4467261c95 Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
applets, 
please update to another revision to use the version that works

green flag from aaron


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Dan Meltzer
7f624f85d9 Revert one large git mess
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257 Commit initial progress of work to port to qt4.4
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
ce765ec610 better button mouse interaction; patch by Jason Stubbs
CCMAIL:jasonstubbs@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736872
2007-11-15 03:35:12 +00:00
Petri Damstén
940f7e00fb Adds toggle support to Plasma::PushButton.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=721138
2007-10-04 17:36:21 +00:00
Aaron J. Seigo
329d912f47 SVN_SILENT: more licensing updates ... all done with this now i think =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712581
2007-09-14 20:17:11 +00:00
Aaron J. Seigo
e0f831373c SVN_SILENT: add "or later" clause. cleared with copyright holders, except for rich moore's ui loader which i need to ask him for permission for first.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712549
2007-09-14 19:06:18 +00:00
Robert Knight
ca39faf71a Fix the push button size hint. Make PushButton::boundingRect() side-effect free.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699467
2007-08-13 06:32:31 +00:00
Pino Toscano
99f22093f9 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697353
2007-08-07 14:58:00 +00:00
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Matt Broadstone
f33c5ab58b 'fixes' layouts for pushbuttons
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696696
2007-08-05 17:03:18 +00:00