Commit Graph

12806 Commits

Author SHA1 Message Date
Patrick Spendrin
aa75425637 remove unneeded file which collides with kf5plasma exports
REVIEW:118153
2014-05-15 23:09:52 +02:00
David Edmundson
72c134b80f Update includes to be from QtGui 2014-05-15 18:42:46 +02:00
Marco Martin
09453cfe89 parentHasFocus false if Qt::WindowDoesNotAcceptFocus
BUG:334819
2014-05-15 17:44:13 +02:00
Martin Gräßlin
5e057da091 Do not overwrite event mask in WindowThumbnailItem
The WindowThumbnail needs XCB_EVENT_MASK_STRUCTURE_NOTIFY on the window.
For this it needs to change the window attributes. But it needs to keep
the existing event mask to not break other code. Also it cannot remove
the event mask again, as there is no chance to know whether another
component requires STRUCTURE_NOTIFY.

This fixes the not updating items in the tasks applet as the event mask
needed for KWindowSystem got overwritten.

BUG: 331956
REVIEW: 118137
2014-05-15 17:28:21 +02:00
Patrick Spendrin
c68db518c8 remove unneeded header
REVIEW:118119
2014-05-15 16:54:31 +02:00
David Edmundson
096c6d247b Port IconItem to native QSGTexture
Port IconItem to native QSGTexture including the animation.
This will save constantly uploading a new texture to OpenGL throughout the animation.

REVIEW: 116024
2014-05-15 16:19:59 +02:00
Marco Martin
5600cb0fea dismiss on focus out if a View was clicked
BUG:334810
2014-05-15 14:40:03 +02:00
l10n daemon script
80be35661c SVN_SILENT made messages (.desktop file) 2014-05-15 08:13:55 +00:00
Marco Martin
7f4e72fb35 crash--
weird behavior:
qdeleteall crashes, deleting items one by one doesn't
2014-05-14 18:21:49 +02:00
Aleix Pol
3f78d130a5 Improve readability
QWeakPointer -> QPointer
2014-05-14 15:14:32 +02:00
Martin Gräßlin
02917b2335 Do not set a custom format on QQuickWindows
All QQuickWindows share a default format. By setting a custom format
it overwrites the default and this results in a format without a
stencil buffer being requested resulting in possible rendering errors.

REVIEW: 118122
2014-05-14 13:52:29 +02:00
l10n daemon script
1b3060649c SVN_SILENT made messages (.desktop file) 2014-05-14 08:29:33 +00:00
Marco Martin
f5369d6349 resize the framesvg to the proper size 2014-05-13 19:41:56 +02:00
Martin Klapetek
2bd7101314 Calendar QML imports cleanup 2014-05-13 17:51:43 +02:00
Martin Klapetek
a4b08b0db3 Fix calendar font sizing
Reviewed-by: Sebastian Kügler
2014-05-13 17:44:45 +02:00
Aleix Pol
da190fa711 Reduce calls to ShellCorona::screenForContainment
Just store some values instead of calling repeatedly without reason.
2014-05-13 14:15:46 +02:00
Aleix Pol
cc661dfdd6 Save some calls to ShellCorona::screenGeometry
It's not an especially cheap function and it didn't make sense doing
it twice
2014-05-13 14:03:46 +02:00
Marco Martin
3f516ddda6 adapt api change 2014-05-13 13:45:32 +02:00
Marco Martin
34b86471d0 fix screen region mapping
BUG:334670
2014-05-13 13:42:44 +02:00
Marco Martin
55514d28c7 Merge branch 'mart/plasmoidMove' 2014-05-13 12:47:49 +02:00
Marco Martin
64cff59a31 api to add an existing applet and position mapping 2014-05-13 12:46:17 +02:00
Marco Martin
cdb9c8c1cc addApplet function
offers a crude support to applet migration between containments
2014-05-12 21:07:41 +02:00
Martin Klapetek
247e829332 Proper if-else {} style 2014-05-12 19:21:06 +02:00
Sebastian Kügler
9b644ccdde dbusmenu-qt won't be needed here 2014-05-12 15:08:14 +02:00
Marco Martin
895c5b6b2b close the menu if it was already open
sometimes on plasma start, other context events may be triggered
while the menu is in its exec(), byt the qqmlincubator.
if so, close the already existing menu.

BUG:334562
2014-05-12 11:02:56 +02:00
Allen Winter
939e01f554 fix build
include <cmath> to declare floor()
2014-05-11 20:58:53 -04:00
l10n daemon script
eb6a3ea9d4 SVN_SILENT made messages (.desktop file) 2014-05-10 08:17:04 +00:00
Marco Martin
97831b616f experim API to move plamoids between containments 2014-05-09 18:43:33 +02:00
Marco Martin
0b83de8fbb "menu" icon 2014-05-09 18:01:48 +02:00
Marco Martin
759036e19f remove dead code 2014-05-09 14:24:05 +02:00
Marco Martin
ea3544deb7 remove unused function 2014-05-09 14:21:23 +02:00
Marco Martin
91e6297114 export plasmoid.rootItem 2014-05-09 13:12:38 +02:00
Marco Martin
39047a0ab8 layout fixes 2014-05-09 13:12:30 +02:00
Marco Martin
79bf8bf138 no compactRepresentationCheck if not ready yet 2014-05-08 15:49:36 +02:00
Aleix Pol
2f027d4348 Remove pointless casts 2014-05-08 15:28:09 +02:00
Marco Martin
53893e8d0b make the toolbox directly child of containmentinterface 2014-05-07 20:27:51 +02:00
Aurélien Gâteau
a5dc443b1b Install translated doc if available 2014-05-07 18:06:30 +02:00
Marco Martin
f21851548c new api for availablescreensize/region 2014-05-07 15:18:21 +02:00
Marco Martin
842d8a7ad5 don't onAppExitCleanup on theme destroy
Theme is not a singleton anymore
2014-05-07 13:58:09 +02:00
Marco Martin
2d94312f97 support config for applets children of applets 2014-05-07 13:09:35 +02:00
Eike Hein
1805bb7496 Make sure the args part of Containment::createApplet(..., args) ends up in the applet. 2014-05-06 20:52:42 +02:00
Aleix Pol
556c1e321a Remove random qDebug output
Makes it easier to spot the actual problems on the output. If there's
something that's actually indicating a problem, we should make it a
qWarning.
2014-05-06 19:57:37 +02:00
Marco Martin
ac963b8a27 emit externalData only after the ui is here 2014-05-06 19:28:44 +02:00
Marco Martin
a7928f29dd if there are args, emit externalData 2014-05-06 19:06:31 +02:00
David Edmundson
f123671346 Check the right items are valid in iconItem
Reviewed-By: Marco Martin
2014-05-06 16:33:20 +02:00
Marco Martin
9d24b7e391 ensure to repaint on repaintNeeded
BUG:334394
2014-05-06 11:49:21 +02:00
Marco Martin
220e8766d2 fix css colors 2014-05-06 11:41:18 +02:00
Marco Martin
445081843c this assert doesn't make much sense 2014-05-06 10:52:57 +02:00
Aurélien Gâteau
9ac249719f Install translations if available 2014-05-06 08:58:07 +02:00
Burkhard Lück
670e34066f fix plasmapkg2 manpage 2014-05-05 13:16:05 +02:00