Commit Graph

70 Commits

Author SHA1 Message Date
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
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
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
Aaron J. Seigo
a859eb502a use the font for the fontmetrics that it's actually painting with
svn path=/trunk/KDE/kdelibs/; revision=1022199
2009-09-11 03:17:42 +00:00
Allen Winter
07f11ce056 compile++
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1016997
2009-08-29 14:22:52 +00:00
Marco Martin
9ee071c5e3 decent icon size
svn path=/trunk/KDE/kdelibs/; revision=1016957
2009-08-29 13:00:22 +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
Marco Martin
30620609ae unbreak glow animation
svn path=/trunk/KDE/kdelibs/; revision=966173
2009-05-10 14:46:46 +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
93a9b754a6 manage the isChecked case
svn path=/trunk/KDE/kdelibs/; revision=945111
2009-03-26 21:45:05 +00:00
Aaron J. Seigo
a88f2d8247 FEATURE: allow themes to state that they should use the native widgets
svn path=/trunk/KDE/kdelibs/; revision=931193
2009-02-24 22:42:06 +00:00
Marco Martin
2836267745 with a minimum size policy screws a little bit less in layouts
svn path=/trunk/KDE/kdelibs/; revision=915265
2009-01-22 16:59:13 +00:00
Marco Martin
11da4f11f8 use the plasma font
svn path=/trunk/KDE/kdelibs/; revision=899819
2008-12-21 16:55:19 +00:00
Marco Martin
c94f93e4ef making the theme more complex wasn't such a good idea
svn path=/trunk/KDE/kdelibs/; revision=882952
2008-11-11 18:31:21 +00:00
Marco Martin
bf6ef3f41d pushbutton has a glow also when pressed, toolbutton not.
svn path=/trunk/KDE/kdelibs/; revision=882769
2008-11-11 12:15:35 +00:00
Marco Martin
0c5a17b624 don't animate pressed buttons, avoids flicker
svn path=/trunk/KDE/kdelibs/; revision=882058
2008-11-09 17:00:49 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +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
Kevin Ottens
f66b4d819b API changes as announced:
* ConfigXml becomes ConfigLoader
  * Containment::(add|remove)ToolBoxTool(QAction *action) becomes
    Containment::(add|remove)ToolBoxAction(QAction *action)
  * Flash becomes FlashingLabel
  * Icon becomes IconWidget
  * PanelSvg becomes FrameSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +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
1f7a0f7560 combobox uses PaintUtils::transition
some cleanups in PushButton

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867098
2008-10-02 19:39:00 +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
Laurent Montel
22a1c819b3 Don't leak QPixmap
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863136
2008-09-21 09:30:23 +00:00
Marco Martin
37be252250 add button text and button background colors
accessible by the ButtonTextColor and ButtonBackgroundColor color roles

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842203
2008-08-04 21:23:40 +00:00
Aaron J. Seigo
bfb9e05b91 --deprecation warnings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841644
2008-08-03 19:50:45 +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
Gilles Chauvin
834003d0dc Make widgets aware of qresources.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
2008-06-03 21:08:52 +00:00
Pau Garcia i Quiles
71c0cee2fa MSVC
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=814860
2008-05-31 13:58:05 +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
Aaron J. Seigo
a61562ad95 don't change our state unless the mouse was release inside of the widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735135
2007-11-10 23:58:17 +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
c982fdde3b fix crash; you can't suppose that you get a Widget in ::paint
CCMAIL:tokoe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718009
2007-09-27 22:05:57 +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
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
Matt Broadstone
2a2348b0e4 _much_ more complete version of the PushButton widget, also fully documented
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696541
2007-08-05 08:10:17 +00:00
Matt Broadstone
be3c212374 Make all plasma/widgets inherit Plasma::Widget now. Holding off on committing change for icon as I have a massive patch for the new text drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696028
2007-08-03 16:00:10 +00:00