Chani Armitage
88260fabd2
'add activity' action returns
...
I just realised it was never disabled when plasma is locked, though. haven't yet decided what to do about that.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811919
2008-05-24 04:34:27 +00:00
Chani Armitage
3dcf445db4
convert the toolbox to use qactions. this makes the toolbox act a bit more reliably, makes some other bugs more annoying, and makes it easier to fix them.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811914
2008-05-24 01:48:36 +00:00
Aaron J. Seigo
ec0c7486b7
move the checkerboard painting to DesktopView. now when we drag things around in top levels we don't see odd checkerboards =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811898
2008-05-23 23:35:39 +00:00
Aaron J. Seigo
590b3cebd8
add initializeLayout and separate the start up stuff from loadLayout into it so that we can properly load add on layouts
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811892
2008-05-23 23:12:05 +00:00
Rob Scheepmaker
e9989989c5
Check if containment() actually returns a containment, and if view() actually returns a
...
view. Should fix a crash reported by chani.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811785
2008-05-23 17:21:14 +00:00
Aaron J. Seigo
e97bd8e855
clearer apidox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811688
2008-05-23 15:43:49 +00:00
Thiago Macieira
f6e555fdbc
Initialise variable.
...
Valgrind rationale:
==18955== Conditional jump or move depends on uninitialised value(s)
==18955== at 0x40E2295: Plasma::Applet::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) (applet.cpp:765)
==18955== by 0x65259FF: _ZL12_q_paintItemP13QGraphicsItemP8QPainterPK24QStyleOptionGraphicsItemP7QWidgetb (qgraphicsscene.cpp:3766)
==18955== by 0x6525AE3: QGraphicsScenePrivate::drawItemHelper(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*) (qgraphicsscene.cpp:3790)
==18955== by 0x652B61E: QGraphicsScene::drawItems(QPainter*, int, QGraphicsItem**, QStyleOptionGraphicsItem const*, QWidget*) (qgraphicsscene.cpp:4015)
==18955== by 0x6541637: QGraphicsView::drawItems(QPainter*, int, QGraphicsItem**, QStyleOptionGraphicsItem const*) (qgraphicsview.cpp:3294)
==18955== by 0x6546C08: QGraphicsView::paintEvent(QPaintEvent*) (qgraphicsview.cpp:3042)
==18955== by 0x5EDD149: QWidget::event(QEvent*) (qwidget.cpp:7082)
==18955== by 0x62D12B1: QFrame::event(QEvent*) (qframe.cpp:627)
==18955== by 0x63804C8: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:914)
==18955== by 0x6544410: QGraphicsView::viewportEvent(QEvent*) (qgraphicsview.cpp:2299)
==18955== by 0x6383611: QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (qabstractscrollarea_p.h:72)
==18955== by 0x638363F: QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (qabstractscrollarea_p.h:83)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811619
2008-05-23 14:41:55 +00:00
Aaron J. Seigo
58f283c58c
needs to be public so custom coronas can get at it as needed
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811413
2008-05-22 22:59:35 +00:00
Marco Martin
bc1688ae41
when the view is not zoomed move the toolbox to avoid the panels
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811374
2008-05-22 20:22:28 +00:00
Aaron J. Seigo
1ff027988b
be more lenient with the requirement for a service
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811335
2008-05-22 18:43:34 +00:00
Aaron J. Seigo
26f7e83a53
give proper control over saving/restoring to the containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811211
2008-05-22 15:53:48 +00:00
Marco Martin
73c4847a75
remove an unused variable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811184
2008-05-22 14:34:30 +00:00
Chani Armitage
7f822e8c8c
SVN_SILENT: better comment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811016
2008-05-22 02:23:33 +00:00
Aaron J. Seigo
3f3b74e48b
these two slots were swapped around, making for a lot more GUI updates than intended
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811013
2008-05-22 01:13:50 +00:00
Gilles Chauvin
937c17caae
SVN_SILENT: Remove useless semicolons
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810938
2008-05-21 21:49:14 +00:00
Chani Armitage
81985d2b00
clicking an available desktop containment sets the view to that containment
...
now it's much easier to jump to the activity you want :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810614
2008-05-21 06:16:45 +00:00
Aaron J. Seigo
6b756dc236
last resort sort: alpha!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810606
2008-05-21 05:18:30 +00:00
Aaron J. Seigo
a02a089e67
fix math in here; the other types are also going to be wrong, but i haven't fixed those yet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810605
2008-05-21 05:12:40 +00:00
Chani Armitage
30dd547919
SVN_SILENT: really minor style cleanup.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810602
2008-05-21 04:37:10 +00:00
Alex Merry
9178353bb4
Fix inclusion guards for future widgets.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810532
2008-05-20 22:36:28 +00:00
Marco Martin
4c36d280c9
(hopefully) fixing the positioning of the desktop toolbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810501
2008-05-20 21:29:31 +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
Pino Toscano
158a9ca5c0
fix path
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810272
2008-05-20 11:09:42 +00:00
Laurent Montel
47183f095f
SVN_SILENT:
...
Typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810151
2008-05-20 06:24:52 +00:00
Chani Armitage
18a50b787d
only do containment-style removal if it's *really* a containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810132
2008-05-20 04:26:10 +00:00
Chani Armitage
ccde7ded20
replace Panel::remove() with Containment::destroy()
...
now I can remove some of the ten desktop containments I accumulated :)
oh, and the code is cleaner too, yay!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810129
2008-05-20 04:02:36 +00:00
Aaron J. Seigo
fdef4627ab
improved sorting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810114
2008-05-20 02:47:13 +00:00
Chani Armitage
4f31401ca9
*basic keyboard shortcuts for desktop-containment-switching
...
*setContainment went virtual so that switches can be done reliably
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810098
2008-05-20 01:27:49 +00:00
Aaron J. Seigo
c413c02ca7
export these files too
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810070
2008-05-19 23:25:56 +00:00
Aaron J. Seigo
03552da98a
put includes out of Widgets, so you can just do Plasma/Label, e.g.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810063
2008-05-19 23:22:02 +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
Pino Toscano
60f253cad5
fix path to the real include
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810057
2008-05-19 23:08:38 +00:00
Marco Martin
573f99e978
hides the panel toolbox when the whole desktop is locked
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809993
2008-05-19 20:49:44 +00:00
Chani Armitage
f6d290849f
add groupbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809979
2008-05-19 20:18:46 +00:00
Aaron J. Seigo
a3d432d16d
fix deadlock
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809963
2008-05-19 19:58:06 +00:00
Marco Martin
812d870086
enforce square aspect ratio when aspectRatioMode() is square of applets
...
in the panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809947
2008-05-19 19:34:13 +00:00
Alexis Ménard
5f6b242127
This magic line seems to fix our crash with embeeded widget
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809939
2008-05-19 19:19:47 +00:00
Chani Armitage
50889239d6
add combobox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809932
2008-05-19 19:10:58 +00:00
Chani Armitage
ec2bcd9010
add textedit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809903
2008-05-19 18:17:12 +00:00
Aaron J. Seigo
fb80125034
changes to allow integration with kpluginselector; based on patch by Ryan Bitanga
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809860
2008-05-19 17:02:15 +00:00
Rob Scheepmaker
8b20aab3fb
Couple of improvements to applet drag&drop:
...
* Only move applet to toplevel window when overlapping other plasma views, ignoring other windows and such.
* Drag & drop now works reasonably well when using multiple desktop containments ('activities'), both when
zoomed in as when zoomed out. Only a couple of issues remaining.
* Containment's addApplet function now cleans up the pointer to the applethandle in the preview containment,
Avoiding some nasty crashes when moving applets between containments.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809841
2008-05-19 16:20:27 +00:00
Script Kiddy
a91f242a50
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809748
2008-05-19 11:22:53 +00:00
Pino Toscano
a2e1e54c73
add quotes around #include file name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809700
2008-05-19 09:31:40 +00:00
Pino Toscano
771bef1f29
missing quotes for the file name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809686
2008-05-19 09:18:24 +00:00
Chani Armitage
ec8c013149
add checkbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809581
2008-05-19 06:12:48 +00:00
Aaron J. Seigo
43e837c8c7
* add RadioButton
...
* install PushButton headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809577
2008-05-19 05:56:42 +00:00
Aaron J. Seigo
eeb82d4649
camel case includes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809576
2008-05-19 05:55:07 +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
69435a397f
forward signals, no need for image setting
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809574
2008-05-19 05:42:44 +00:00
Aaron J. Seigo
51bb717cae
a little more help
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809573
2008-05-19 05:26:53 +00:00