Commit Graph

2057 Commits

Author SHA1 Message Date
David Edmundson
e8297e9a0f QDesktopWidget -> QScreen 2014-06-04 18:55:05 +02:00
David Edmundson
8277da7015 Remove unused includes 2014-06-04 18:54:55 +02:00
David Edmundson
3994890bff Remove reference to QApplication 2014-06-04 18:51:13 +02:00
David Edmundson
05485cf36f Remove unused include 2014-06-04 18:48:00 +02:00
David Edmundson
67b6bfc0c3 Remove unused include 2014-06-04 18:48:00 +02:00
Marco Martin
1ce72838a5 update size hints if enabled borders change
final size hints depend from enabled borders, so they have
to be updated
2014-06-04 18:44:28 +02:00
Marco Martin
b6ac8ded88 forcefully remove some entries
newly created containments may have some default entries like plugin
or formfactor written in the config group, but not in keyList()
they have to be explicitly removed because wouldn't be removed in
deleteGroup
BUG:335792
2014-06-04 17:28:11 +02:00
Aleix Pol
6608359333 No need to forward the implicit* properties
It's not modifying anything or similar either.

Reviewed by David Edmundson
2014-06-04 16:55:14 +02:00
Marco Martin
9badcd9275 invert textbox colors as well
BUG:335757
2014-06-04 11:46:57 +02:00
Alex Merry
1a80326103 Move kded module to kf5/kded subdirectory
This makes sure the module is properly versioned.

REVIEW: 118476
2014-06-04 10:16:13 +01:00
Marco Martin
9d1727a1a4 Plasma1 behavior: no remove action in panels
the remove context menu for applets is only visible when the panel controller is open
less accidental removal
2014-06-03 16:35:01 +02:00
Marco Martin
051dabae5e warnings--
BUG:335522
2014-06-03 15:57:42 +02:00
Harald Sitter
ce329f4402 qmax(qreal, double) is not valid as qreal may be float
adjust the call to use qreal for both (floor() returns double)

REVIEW: 118487
2014-06-03 14:37:38 +02:00
Marco Martin
80195aa149 check for currentTab 2014-06-03 14:29:48 +02:00
Marco Martin
223fe9b431 stop forwarding appletRemoved on application close
the containment must not save geometries without the applets that are being deleted

BUG:335742
2014-06-03 11:59:57 +02:00
Marco Martin
bd61f033f7 apply stylesheet
BUG:335707
2014-06-03 10:18:43 +02:00
David Edmundson
23068fb2b0 Avoid references to QApplication
They cause problems when running in QGuiApplication

REVIEW: 118470
2014-06-02 17:44:47 +02:00
Martin Klapetek
5b9cb0a0a6 Add kpackagekit icon to breeze theme
This seems to have been lost at some point
2014-06-02 17:33:23 +02:00
Marco Martin
4fd0af246d make package::uninstall actually work 2014-06-02 16:38:50 +02:00
Marco Martin
78c779c91d remove the rewrite for platform specific stuff
don't bomb if m_engine->importPathList() changes at runtime
2014-05-30 19:47:06 +02:00
Aleix Pol
1419eea367 Fix warning on ToolButton
If there's no parent for the ToolButton, always show all borders.
2014-05-29 18:39:31 +02:00
Marco Martin
ab1ffcde8b as Dialog, it searches for a Layout for size hints 2014-05-29 16:00:10 +02:00
Marco Martin
63e78f0901 save and restore applets config dialogs 2014-05-29 12:48:49 +02:00
Marco Martin
f7adc059ee warnings--
BUG:335488
2014-05-29 12:14:09 +02:00
l10n daemon script
9e45440ae7 SVN_SILENT made messages (.desktop file) 2014-05-29 08:11:19 +00:00
Marco Martin
0c127f1ce5 delete framedata when ThemePrivate dies 2014-05-28 20:34:25 +02:00
Marco Martin
3fdf999ba0 bit more complex bookeeping
since it is now possible to have different svg/framesvg with
different themes, s_sharedFrames must be indexed by theme first
what it's really the identifying thing is ThemePrivate, so it's indexed by that
this fixes a crash that occurs the second thime the theme gets changed

BUG:335472
2014-05-28 20:27:58 +02:00
David Edmundson
8a59fe3643 Fix wrapping in tooltip subtexts
REVIEW: 118376
2014-05-28 16:24:54 +02:00
David Edmundson
78684c46cd Remove unnecessary placeholder
Text.implicitWidth holds the size the text would be if it wasn't
truncated
2014-05-28 16:24:50 +02:00
Marco Martin
d33aa6dfdf fix system colrs css 2014-05-28 15:02:42 +02:00
Marco Martin
a8f73abfbe warning--
BUG:335393
2014-05-28 12:32:57 +02:00
Martin Klapetek
ce166ca451 Don't hide Dialog when opening QMenu from it
When plasmoid in a popup (applet opened from panel) is opening a QMenu,
the popup itself hides because it looses focus. There's currently no way
to obtain the Dialog the applet popup is in and pass it to the QMenu
window as a parent, so we have to go this way.

REVIEW: 118361
BUG: 335422
2014-05-28 12:04:21 +02:00
Martin Klapetek
aca024c2e0 Fix copy-paste calendar component bug 2014-05-27 17:44:08 +02:00
Martin Klapetek
19f21ec507 Equal margins on calendar grid from both sides 2014-05-27 17:44:08 +02:00
Aleix Pol
036be80400 readability++
QWeakPointer -> QPointer
Remove .data() when not needed
2014-05-27 17:25:25 +02:00
Marco Martin
140d066021 check for slots existence before blindly connecting 2014-05-27 17:13:57 +02:00
Aleix Pol
3d77ac5008 Make AppletQuickItem return QQuickItems
It was returning QObjects on most places and it didn't make much sense
since since it was just expecting the API users to qobject_cast to
QQuickItem to do anything with these. Considering that fullRepresentation
can be anything other than a graphic item doesn't sound good anyway.
2014-05-27 16:59:48 +02:00
Aleix Pol
ee3deabb48 We only want to load the new Desktop.qml only in case we're a DesktopView
Therefore, this has to be moved to DesktopView
2014-05-27 16:59:48 +02:00
Antonis Tsiapaliokas
7916c9d766 Fix the PlasmaComponents.Sheet
*location property is now using the PlasmaCore.Types
*DialogStatus => PlasmaCore.DialogStatus
*windowFlags property => flags property
2014-05-27 17:56:37 +03:00
Marco Martin
66d65f1b12 QML warnings-- 2014-05-27 16:38:14 +02:00
Marco Martin
157d0ed836 use Qt::BypassWindowManagerHint
BUG:335267
2014-05-27 13:57:34 +02:00
Marco Martin
71b22cb89b tooltip is override redirect
CCBUG:335267
2014-05-27 13:39:12 +02:00
Marco Martin
de73bbb278 Revert "don't expand if still creating the representation"
This reverts commit c3a38d3434.
2014-05-27 12:37:56 +02:00
Marco Martin
c3a38d3434 don't expand if still creating the representation
when qml object gets created with an async incubator,
events are still processed, so we have to guard gainst
double triggers that can lead to creating the
extended representation again
BUG:335406
2014-05-27 12:24:35 +02:00
Yuri Chornoivan
aab2c13164 Fix typos found by mvillarino 2014-05-27 07:02:32 +03:00
Marco Martin
0596cf176f schedule a rect cache sync when stuff gets in
do a disc sync with a 2 minutes delay
2014-05-26 20:32:22 +02:00
Marco Martin
0b10a16113 try harder to avoid creating svg renderers
now is actually possible to obtain a startup with zero svg renderers
    * svg::isValid will create a renderer only if really nevessary
    * the rects cache is ensured to be written on disk
    * fixed the check on the theme metadata age
    * rect cache is shared between all applications
2014-05-26 20:14:57 +02:00
Aleix Pol
9d9c72630c Simplify plasma theme startup
Don't emit themeChanged when constructing Plasma::Theme instances

Reviewed by David Edmundson
2014-05-26 19:03:46 +02:00
Martin Klapetek
12811f1fc4 Add the current month name to the calendar component by default
Currently we have 3 applets using the calendar grid and all of them put
the extra heading to the calendar. We also offer ways to change the
displayed month so we should also show /which/ month is the current one
displayed, implicitly.

REVIEW: 118328
BUG: 334147
2014-05-26 16:25:15 +02:00
Marco Martin
819b42932d accept file:// urls as absolute paths 2014-05-26 13:55:10 +02:00