David Faure
9057ce0c70
Fix compilation with the new cmake automoc stuff.
2012-02-08 23:34:07 +01:00
David Faure
a48ae5b0d8
Fix compilation with gcc < 4.5
...
svn path=/trunk/KDE/kdelibs/; revision=1188570
2010-10-22 16:55:46 +00:00
Marco Martin
4dd1c28b6d
fix the wreckage caused by last commit
...
bad Aaron, no cookie :)
can you check if those changes make sense upon what your patch ws supposed to be?
CCMAIL:aseigo@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1188445
2010-10-22 12:29:35 +00:00
Aaron J. Seigo
a793185b21
consolidate all the theming (palette, fonts) code for widgets into a private interface: ThemeWidgetInterface. have the relevant *Private classes inherit from it and all the tricky logic is now in one place and consistent.
...
svn path=/trunk/KDE/kdelibs/; revision=1188314
2010-10-22 00:25:17 +00:00
Marco Martin
506a22400c
connect to repaintneeded, tat will be emitted when the proper margins have been recalculated
...
svn path=/trunk/KDE/kdelibs/; revision=1142402
2010-06-24 20:52:14 +00:00
Marco Martin
3618f03425
remove extra constructor
...
svn path=/trunk/KDE/kdelibs/; revision=1081212
2010-01-27 22:22:07 +00:00
Marco Martin
189289660c
a ctor with a QGraphicsItem as parent as it should always had
...
svn path=/trunk/KDE/kdelibs/; revision=1081047
2010-01-27 16:03:47 +00:00
Igor Trindade Oliveira
69e65f2df8
Oops ... s/graphicswidget/qgraphicswidget
...
Patch by: Bruno Abinader<brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1080626
2010-01-26 15:43:23 +00:00
Igor Trindade Oliveira
4a01b71e47
Added missing Plasma::Frame parent resizeEvent() call
...
Patch by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1080622
2010-01-26 15:29:53 +00:00
Petri Damstén
046242bf79
update frame when text changes.
...
svn path=/trunk/KDE/kdelibs/; revision=1048469
2009-11-13 11:59:17 +00:00
Petri Damstén
71fa982797
* Use correct font for size hint in Frame
...
* Use correct font in IconWidget setLayoutOptions
* layout fonts are set in IconWidget setLayoutOptions and layoutTextItems. No need to set them in paint.
* Fix using QGraphicsWidget font when customFont == true in several widgets.
svn path=/trunk/KDE/kdelibs/; revision=1047017
2009-11-10 09:46:14 +00:00
Petri Damstén
2a7d429232
discard size hint in setText
...
BUG: 212341
svn path=/trunk/KDE/kdelibs/; revision=1043020
2009-10-31 14:10:11 +00:00
Petri Damstén
d03a3ef5df
Return correct width for minimum and preferred size.
...
BUG:212341
svn path=/trunk/KDE/kdelibs/; revision=1042611
2009-10-30 10:11:12 +00:00
Darío Andrés Rodríguez
59296fb520
- Fix several minor issues reported by Krazy2
...
(http://reviewboard.kde.org/r/1837/ )
svn path=/trunk/KDE/kdelibs/; revision=1034756
2009-10-13 12:40:13 +00:00
Aaron J. Seigo
76dfb7c57e
be able to set the borders of the frame to show/paint; one of the things i really dislike about QFrame, now solved in Plasma::Frame
...
svn path=/trunk/KDE/kdelibs/; revision=1026213
2009-09-21 05:29:47 +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
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
5c45bf09e8
implement a sizehint that permits to use the frame just as a simple
...
header (i.e when empty return the height of the title font+margins)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867107
2008-10-02 20:07:49 +00:00
Alex Merry
7bd180b8bb
Catch a memory leak in Plasma::Frame, and make use of QObject parenting where possible.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845534
2008-08-11 23:26:13 +00:00
Marco Martin
0dd6b99014
Plasma::Label should be able to actually display svgs from the theme
...
now
cleaning some juck debug stuff in label
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841020
2008-08-02 13:01:16 +00:00
Marco Martin
886d5c7124
fix build
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841013
2008-08-02 12:51:50 +00:00
Marco Martin
0337120602
new widget Plasma::Frame:
...
Can act as a qframe like or as a groupbox (with label) supports
also arbitrary pixmap/svg backgrounds
stylesheet support is still todo and the graphics for the raised version
is still temporary
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840986
2008-08-02 12:01:34 +00:00