Commit Graph

1976 Commits

Author SHA1 Message Date
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
David Edmundson
873106a7ca Track screen in the containment when inside an applet
Make the system tray containment update which screen it is on when the
system tray applet is moved.

This fixes notifications if the panel is moved between screens.

REVIEW: 117946
2014-05-05 11:39:36 +02:00
Martin Gräßlin
491befb850 Add safety checks to XCB functions in WindowThumbnail
Prevents XCB warnings about BadWindow when a tooltip is shown for the
first time.

REVIEW: 117822
2014-05-05 07:18:06 +02:00
l10n daemon script
5713f72542 SVN_SILENT made messages (.desktop file) 2014-05-03 08:34:24 +00:00
Marco Martin
b27135a62b icon for logout 2014-05-02 19:14:09 +02:00
Marco Martin
944c1549ae avoid half pixels 2014-05-02 15:43:55 +02:00
Marco Martin
cee9c928e3 simplify theme
add an hint for the progressbar size, throw away the old elements legacy of pre-components
2014-05-02 15:39:08 +02:00
Marco Martin
d9823b2cd5 slightly more opaque 2014-05-02 14:55:53 +02:00
Marco Martin
90c8dbc255 simplify logic a lot 2014-05-02 14:55:43 +02:00
Marco Martin
02ccc2d98e better radial symmetry look for the icon
BUG:333968
2014-05-02 12:49:23 +02:00
Marco Martin
a8d2315f34 slighly stronger contrast effect 2014-05-02 11:52:16 +02:00
Marco Martin
e6dd40919a correct topleft color 2014-05-02 11:34:49 +02:00
l10n daemon script
d55335d2a9 SVN_SILENT made messages (.desktop file) 2014-05-02 08:52:44 +00:00
Marco Martin
a6eca11b84 restore corona immutability
BUG:334141
2014-04-30 19:31:56 +02:00
Eike Hein
2591685579 Emit signal when hiding due to focus loss to a non-related window. 2014-04-30 19:17:14 +02:00
Eike Hein
3ebbedead2 Also consider parent windows when evaluating focus loss for dialog hide. 2014-04-30 19:14:55 +02:00
Eike Hein
000d49463b Don't hide when focus moves to a child window.
REVIEW:117897
2014-04-30 15:04:16 +02:00
Martin Gräßlin
af5a855da4 Discard window thumbnail pixmap after texture got destroyed by SceneGraph
If the window holding the WindowThumbnail item goes away the texture hold
by the node is destroyed but our bound window pixmap is not yet freed.
This results in incorrect state the next time the WindowThumbnail is
shown.

To get back into a clean state discardPixmap() is called if there is no
texture but a bound low level pixmap.

BUG: 333482
REVIEW: 117824
2014-04-30 13:14:44 +02:00
Marco Martin
4851be6e1e don't crash if destroy happens before first sync 2014-04-29 18:21:28 +02:00
David Edmundson
97d6ba2dab Add a ComboBox to PlasmaComponents
REVIEW: 117798
2014-04-29 16:24:22 +02:00
Marco Martin
e2f1cc289e fix arrows svg
BUG:333926
2014-04-29 13:43:25 +02:00
l10n daemon script
238bc54c5b SVN_SILENT made messages (.desktop file) 2014-04-29 10:13:52 +00:00
l10n daemon script
012b0681c9 SVN_SILENT made messages (.desktop file) 2014-04-29 04:51:45 +00:00
Sebastian Kügler
d2417ee82e Switch to dark shading for Breeze Dark
Dark shading for panel and dialog background. This effectively lets
Plasma::Theme decide the shading based on the text color and results in
a dark panel.
2014-04-29 00:52:12 +02:00
Sebastian Kügler
670135db50 Fix color in TextField and TextArea
viewTextColor is wrong here, we have to use buttonTextColor. This
follows Plasma 1, and makes texts in fields and areas in white-on-black
themes work.

BUG:333837
2014-04-29 00:24:09 +02:00
l10n daemon script
d2f752597f SVN_SILENT made messages (.desktop file) 2014-04-28 15:59:04 +00:00
Aleix Pol
94dc5c30c9 Remove unneeded statements 2014-04-28 17:18:11 +02:00
Marco Martin
3df85902ec adjust mainItem position to borders
also in syncToMainItemSize() we need to reposition mainItem,
not only in the other way around syncMainItemToSize()
2014-04-28 16:54:04 +02:00
Marco Martin
042c4d815a give a default icon
give the "plasma" icon to dialogs.
It will be never show, but windowmanagers should complain less
2014-04-28 16:46:19 +02:00
l10n daemon script
8fcd320f27 SVN_SILENT made messages (.desktop file) 2014-04-28 12:45:07 +00:00
l10n daemon script
b9130c7c24 SVN_SILENT made messages (.desktop file) 2014-04-28 09:02:00 +00:00
l10n daemon script
880da9b195 SVN_SILENT made messages (.desktop file) 2014-04-28 05:09:56 +00:00
Hrvoje Senjan
a4e2b38d51 unbreak dataengine loading after PLUGIN_INSTALL_DIR change in e-c-m 2014-04-28 02:42:02 +02:00
Aleix Pol
9cd8f9fbeb Port plasma code to PLASMA_RELATIVE_DATA_INSTALL_DIR 2014-04-27 23:06:32 +02:00
l10n daemon script
dfd425ae82 SVN_SILENT made messages (.desktop file) 2014-04-27 21:04:10 +00:00
l10n daemon script
cbf1e988e9 SVN_SILENT made messages (.desktop file) 2014-04-27 16:44:26 +00:00
Aleix Pol
e6f1fec0c7 Install all plasma files in a prefix/share/plasma directory
At the moment, we could say that plasma is co-installable by chance,
it's only working because KF5 dropped the apps relative directory.
This change introduces a PLASMA_RELATIVE_DATA_INSTALL_DIR that will
be available to know where in share the components are and
PLASMA_DATA_INSTALL_DIR to know where data has to be installed to.

Reviewed by David Edmundson

CCMAIL: plasma-devel@kde.org
2014-04-27 17:14:22 +02:00
l10n daemon script
d149d719a9 SVN_SILENT made messages (.desktop file) 2014-04-27 05:19:59 +00:00
Aleix Pol
1294051eaf Adapt to changes in KDEInstallDirs
kde5/services is kservices5
kde5/servicetypes is kservicestypes5
2014-04-26 19:50:53 +02:00
David Edmundson
4ce14a1654 Remove duplicated ConfigLoader
This moved to KConfigGui as KConfigLoader.

Use of private KConfig API in Service had to be ported to use only
public method.

REVIEW: 117784
2014-04-26 17:10:13 +02:00
Alex Merry
c4f408a334 Fix Plasma_INCLUDE_INSTALL_DIR variable in (another) config module
This should have been part of the INCLUDE_INSTALL_DIR to
KF5_INCLUDE_INSTALL_DIR commit.
2014-04-26 13:16:21 +01:00
Alex Merry
2ef3b32dcd Use KF5_INCLUDE_INSTALL_DIR and KF5_INSTALL_TARGETS_DEFAULT_ARGS
This is instead of INCLUDE_INSTALL_DIR and INSTALL_TARGETS_DEFAULT_ARGS,
which will lose the "KF5" suffix from the include path.
2014-04-26 12:14:03 +01:00
Alex Merry
1d84c0bdc1 Remove NO_MODULE argument from find_package(KF5) in rename test
This is no longer wanted, since ECM has a FindKF5 module.
2014-04-26 10:31:48 +01:00
Aurélien Gâteau
d988b10870 Centralize Qt5 component loading and use same variable as other frameworks 2014-04-26 02:20:13 +02:00
Aurélien Gâteau
ae92074071 warning-- 2014-04-26 02:16:10 +02:00
Aurélien Gâteau
69f95fec24 cmake debug message-- 2014-04-26 02:10:51 +02:00
Aurélien Gâteau
d0bd7f77bf cmake warnings--
No need to define projects if we don't use any ${project}_* var.
2014-04-26 02:10:23 +02:00
Aurélien Gâteau
c9a3fb4021 hardcoded searchpath-- 2014-04-26 02:07:16 +02:00
Kevin Ottens
72ba7b4146 Apply the astyle-kdelibs script 2014-04-26 01:48:37 +02:00
Kevin Ottens
c2aa81e2d4 All source code under src per policy 2014-04-26 01:48:37 +02:00
Marco Martin
38d06b784a get rid of dummyGroup()
it was used only in extenders that don't exist anymore
2014-04-25 23:06:36 +02:00
Marco Martin
65c5c0dfe8 slightly more deterministic tooltip animations 2014-04-25 22:44:08 +02:00
Aurélien Gâteau
fcbb057dca Disable Python script engine for now, it requires bindings for libplasma
Approved by notmart
2014-04-25 21:18:07 +02:00
Aurélien Gâteau
b3b95fa77d Refresh doc to use README.md and markdown 2014-04-25 21:06:00 +02:00
Aurélien Gâteau
0efc0572af Consolidate all plasma-framework catalogs 2014-04-25 10:40:12 +02:00
Aleix Pol
3a150bb0e7 Don't overdo lambdas 2014-04-25 01:25:03 +02:00
Aleix Pol
7c83fd542e Finish ToolTip::containsMouse property
The documentation was copy-pasted and was wrong.

The property name started with m_, which is odd and I don't see a reason
for it. Also I didn't find any code that uses it.

REVIEW: 117760
2014-04-25 01:22:58 +02:00
Marco Martin
c4bdaa1610 restore border check on window move 2014-04-24 17:45:01 +02:00
Marco Martin
55e2b27d53 change a bit resize logic
Make sure to always execute one between syncToMainItemSize()
and syncMainItemToSize() in a mutually exclusive fashion.
this should (hopefully) fix the dancing dialog problem
and dialogs with content of the wrong size
CCBUG:332576
CCBUG:332812
2014-04-24 17:29:40 +02:00
Aleix Pol
437962f2e8 Introduce a new plasmoid status
REVIEW: 117722
2014-04-24 16:56:51 +02:00
Antonis Tsiapaliokas
3798ac076a Remove whitespace 2014-04-24 13:33:30 +03:00
Marco Martin
7ce31b6b69 correct the last commit 2014-04-23 21:14:56 +02:00
Marco Martin
fc98e6323b always use all the borders for floating dialogs 2014-04-23 20:57:52 +02:00
Eike Hein
1e5524525f Revert "Install header for Dialog so it's publically subclassable as discussed."
This reverts commit baff217874.
2014-04-23 19:48:04 +02:00
Eike Hein
baff217874 Install header for Dialog so it's publically subclassable as discussed.
CCMAIL:notmart@gmail.com
CCMAIL:aleixpol@kde.org
2014-04-23 19:41:01 +02:00
Marco Martin
2e7d295e9e sync borders after adjusting geometry 2014-04-23 17:20:47 +02:00
Davide Bettio
e1a2555278
QML appletinterface: add support for actionTrigered(name) method so we don't have to create an action_name method for each contextmenu action.
Signed-off-by: Davide Bettio <bettio@kde.org>
2014-04-22 20:08:20 +02:00
Marco Martin
1d5c6e5964 revert 0b4272fa56 2014-04-22 15:32:20 +02:00
Marco Martin
0b4272fa56 guard the pointer 2014-04-22 15:15:40 +02:00
Marco Martin
47dfda75c0 introduce the signal Corona::startupCompleted()
when emitted we are sure all containments *graphics objects*
 have been created
2014-04-22 14:58:12 +02:00
Davide Bettio
ac1e50d3aa
TextArea.qml: Add backgroundVisible property (http://qt-project.org/doc/qt-5/qml-qtquick-controls-textarea.html#backgroundVisible-prop) so it will be possible to use this componenet to write Notes plasmoid.
Signed-off-by: Davide Bettio <bettio@kde.org>
2014-04-22 11:35:55 +02:00
l10n daemon script
16ea0c68f6 SVN_SILENT made messages (.desktop file) 2014-04-19 04:52:27 +00:00
l10n daemon script
709d60a737 SVN_SILENT made messages (.desktop file) 2014-04-18 05:16:48 +00:00
Marco Martin
13016a42b4 don't make the tooltip dance
note: this is different from the "dancing dialog" bug.
the tooltip should now appear in the proper position
and behave reasonably good
2014-04-17 20:06:43 +02:00
Michael Palimaka
d488420dcb Move stray tests to the root directory to be more like
other frameworks.

REVIEW: 117599
2014-04-18 02:25:50 +10:00
Marco Martin
a2b436aef8 remove all references to runners 2014-04-16 18:56:22 +02:00
Marco Martin
18f54dff73 make possible for containments to run as applets
take into account the slightly different behaviour needed when containments such as folderview act as a normal plasmoid
BUG:333320
2014-04-14 14:03:49 +02:00
Aleix Pol
0e3978e22c Expose the activated signal into the plasmoid
This was a regression from Plasma 1.

Reviewed by David Edmundson
2014-04-12 21:21:35 +02:00
Aleix Pol
9a305de76d Fix activationAction connection
It was connecting to a deprecated signal, use QAction::changed instead.
Since QAction::changed is more generic and modifying the shortcut seems
expensive, actually check that the property is different from the previous
value.

Reviewed by Vishesh Handa.
2014-04-12 20:09:08 +02:00
Marco Martin
333bd207ac react dinamically to tooltip config change 2014-04-11 17:39:40 +02:00
Marco Martin
d342c2e186 use the global option for tooltips
still has to watch for config file changes
2014-04-11 17:18:28 +02:00
Marco Martin
6a5350786a swap top and bottom too
BUG:333281
2014-04-11 15:52:08 +02:00
Marco Martin
a0b52f4bf8 LeftEdge and RightEdge positioning was swapped
BUG:333281
2014-04-11 15:26:02 +02:00
Marco Martin
96e2522b8a allow urls that are just an UrlString
BUG:333284
2014-04-11 12:55:05 +02:00
Marco Martin
767336e87e isContainment() only true for proper containments 2014-04-10 20:53:19 +02:00
Marco Martin
7e3b2ae8af move the applet configScheme to the new group
after migration
2014-04-10 20:41:34 +02:00
Marco Martin
d8731d7806 re-add Corona::createContainmentDelayed()
unfortunate, but necessary for on the fly containment plugin switch
2014-04-09 22:15:46 +02:00
Jan Grulich
25bb220724 Propagate containsMouse property and move the paddingitem to the mousearea
Reviewed by Marco Martin on irc
2014-04-09 16:01:23 +02:00
Marco Martin
06d8fea792 get rid of displayAspectRatio
this property is broken by design: units doesn't know anything about views, therefore it can't know what is the current screem
BUG:333068
2014-04-09 12:00:10 +02:00
Marco Martin
ba4e6825a4 don't create expander for containments
or always expaqnded applets
2014-04-08 20:14:06 +02:00
Marco Martin
10f0dc51b9 don't emit activate on reactToScreenChange
this makes the delete dialog *not* freeze palsma
2014-04-08 19:47:50 +02:00
Marco Martin
9a9d85c5e9 emit statusChanged when it closes 2014-04-08 19:02:33 +02:00
Marco Martin
d68bd29e50 binding loop--
after repeateddly changing the orientation no elements go crazy size wise
CCBUG:332701
2014-04-07 16:53:17 +02:00
Marco Martin
b2ecbd7ae5 make sure dialog is resized on minimumSize changed 2014-04-04 21:45:38 +02:00