Aaron J. Seigo
b4a001e6e1
SVN_SILENT: yeah, (C) is meaningless
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697686
2007-08-08 12:13:05 +00:00
Matt Broadstone
21394705f1
Provide a valid size before being painted
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697570
2007-08-08 05:29:50 +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
26569e231c
Add layout test
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696814
2007-08-05 23:05:57 +00:00
Matt Broadstone
6a6c508036
Fix Q_PROPERTY/Q_INVOKABLE's, readd icon accessor
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696719
2007-08-05 18:03:26 +00:00
Matt Broadstone
8a4601f9b0
Remove old unneeded debug calls
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696700
2007-08-05 17:13:07 +00:00
Matt Broadstone
388d1ca167
Cleaned up Plasma::Icon a whole lot, added Fredrik's text drawing code from KFileItemDelegate so we actually draw text correctly.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696698
2007-08-05 17:11:46 +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
Aaron J. Seigo
5d05c8ac7e
more comparison fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696656
2007-08-05 14:24:24 +00:00
Aaron J. Seigo
b1d1f1959f
comparing doubles for equality with == isn't great
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696628
2007-08-05 12:58:40 +00:00
Richard J. Moore
51e50f0c80
- Tidy up script interface
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696595
2007-08-05 11:05:47 +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
Aaron J. Seigo
ecad916f0a
set the pos of the lineedit. really, this should become a Widget with a
...
QGrahpicsTextItem as a child item
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696366
2007-08-04 14:59:21 +00:00
Richard J. Moore
e4f1d2f617
- Prepare for scripting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696337
2007-08-04 13:14:57 +00:00
Richard J. Moore
e7512b5b77
- Prepare for scripting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696309
2007-08-04 12:37:59 +00:00
Matt Broadstone
23fe05689a
documented Plasma::CheckBox, removed methods now implemented in Plasma::Widget for this widget.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696084
2007-08-03 19:17:30 +00:00
Matt Broadstone
a53be5affe
Proper documentation, added setSize
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696079
2007-08-03 18:56:14 +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
Aaron J. Seigo
510c39002a
fixes the clicked signal.. thanks to Anrdreas, the MAN!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695685
2007-08-02 17:15:21 +00:00
Aaron J. Seigo
ac918ad4bf
kdebug fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +00:00
Aaron Eisenberg
d40669a2d2
Do not paint anything inheriting Widget and do not paint LineEdit when in desktop view. LineEdit is currently just a temporary solution, because it doesn't inherit Widget for some reason.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695323
2007-08-01 20:51:27 +00:00
Matt Broadstone
4823fc0237
More refactoring in preparation for text layout code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694895
2007-08-01 01:25:01 +00:00
Matt Broadstone
48700bf813
Refactor these to Private, makes paint more readable and gets us ready for new text layout code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694891
2007-08-01 00:52:26 +00:00
Riccardo Iaconelli
5aaccf0489
The applets now can associate with (one or more) certain mimetypes, and be called when that mime is dragged onto the desktop. Very rudimental for the moment, we should pass the name of the file to the applet. Added some copyrights I missed in the past.
...
Aaron: your turn now to discover the 'Mimetypes' key problem.
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694676
2007-07-31 10:52:05 +00:00
Aaron J. Seigo
7634beebf3
a bit of extra debug output here plus a mod to the icon demo so i can show bibr in a couple days the interesting ways in which event handling is broken
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694478
2007-07-30 20:29:10 +00:00
Aaron J. Seigo
08fca6641e
const fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693768
2007-07-28 23:40:21 +00:00
Matt Broadstone
400e9788a5
Added documentation for Plasm::Icon, also added accessors for infoText-> allow for meta text to be associated with the icon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693711
2007-07-28 19:27:56 +00:00
Matt Broadstone
9bc4377eff
For posterity's sake
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693708
2007-07-28 19:27:09 +00:00
Aaron J. Seigo
bf6fba2b27
* implement checkState and fix const'ness of the method signature
...
* implement updated
* add setChecked(bool)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693544
2007-07-28 10:06:03 +00:00
Aaron J. Seigo
cfe59991ba
const the private pointer; fixme an odd bit of code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693533
2007-07-28 09:22:20 +00:00
Aaron J. Seigo
24f6601a48
* set the state on mouse down for the whole icon
...
* don't go all clicky on the icon when a hover button claims the click
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693519
2007-07-28 08:22:44 +00:00
Aaron J. Seigo
a8b7589479
someone got confused as to the difference between "the layout that manages my children" and "the layout that manages me". this fixes that and stops crashes in applets that use vbox/hbox
...
* don't crash when parent=0 is passed in
* don't divid by 0 when we have no children
* have the (fugly) setManagingLayout and unsetManagingLayout and managingLayout methods
* do some memory management so layouts that are thrown around don't get lost in the heap
some unit tests would be nice. hell, a design document on the layout stuff would be nice. i know we're only keeping this around for 4.0, but ... yeah. ugh.
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693361
2007-07-27 20:00:07 +00:00
Matias Valdenegro Toro
2120758983
Devirtualize minimumSize() and maximumSize() and add values to d-pointer.
...
Added setters.
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693115
2007-07-27 06:35:39 +00:00
Aaron J. Seigo
60f199c791
today's random code quality fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693007
2007-07-26 19:56:16 +00:00
Aaron J. Seigo
bde805dbcf
make them not executable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692946
2007-07-26 16:45:05 +00:00
Aaron J. Seigo
c4570130f5
tabsbegone
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692758
2007-07-26 07:25:30 +00:00
Matias Valdenegro Toro
ff936c2a57
Added Alignment and Pen options and getters/setters.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692757
2007-07-26 07:25:21 +00:00
Aaron J. Seigo
28b20a150a
* add hbox to build
...
* make hbox share the boxlayout superclass with vbox
* profit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692756
2007-07-26 07:23:30 +00:00
Matias Valdenegro Toro
bdb1418dbb
Use width-for-height Layout Management.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692753
2007-07-26 07:12:05 +00:00
Matias Valdenegro Toro
4f778d6e2d
Add Horizontal Layout class.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692743
2007-07-26 06:58:33 +00:00
Aaron J. Seigo
aa1dd0b63f
add the layout to the parent. this sucks because it isn't done in Layout where it should be, but setLayout results in pure virtuals being called... so child class it is for now.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692625
2007-07-26 02:30:16 +00:00
Aaron J. Seigo
f82a4cfb55
separate out the stuff the hbox will need from vbox and put it into box.
...
sprinkle "layout" and some capital letters throughout the above if the above sounds random to you ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692578
2007-07-25 22:20:15 +00:00
Aaron J. Seigo
04d418f4a7
last round of ebn fixes i had kicking around.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692337
2007-07-25 11:24:07 +00:00
Matt Broadstone
8f619a954b
QGraphicsItem::ItemClipsToShape is now default, should fix some nasty painting bugs in the future.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692061
2007-07-24 23:31:52 +00:00
Alex Merry
aad2d63975
Apidocs mainpage work. Just got Plasma and Solid to do here.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691959
2007-07-24 18:30:36 +00:00
Andre Duffeck
08c57e9eaf
Tweak API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691502
2007-07-23 20:01:20 +00:00
Andre Duffeck
6a4841b19a
Allow persistant flashs that disappear only when they are killed.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691487
2007-07-23 18:50:42 +00:00
Matias Valdenegro Toro
ac70498132
Put a small border around text.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691274
2007-07-23 09:32:54 +00:00
Matias Valdenegro Toro
efa6b9d8b3
setGeometry(geometry()); is a no-op, so remove it.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691273
2007-07-23 09:29:18 +00:00