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
Marco Martin
e6f71eebd1
remove the shell from plasma-framework
2014-04-04 17:55:56 +02:00
Marco Martin
2f10450c17
make the animate property do something
...
BUG:332884
CCBUG:332869
2014-04-03 18:08:13 +02:00
David Edmundson
1a65efb619
Remove now unused code to handle positioning widget explorer
2014-04-03 15:55:46 +02:00
Marco Martin
d0908ad735
use views geometries to calculate availableArea
...
Don't trust anything X11: use our internal tracking of panel
geometries to compute the corona availablescreenarea
also because the space behind a panel not autohide but without struts is to be considered unavailable as well
BUG:332850
2014-04-02 19:39:08 +02:00
Marco Martin
aeabbe9444
new AppletInterface in case of inexistent plugin
...
if the plugin name is wrong, create a fullfledged appletinterface for the error visualization.
This will make applet removal possible
BUG:332971
2014-04-02 18:59:47 +02:00
Marco Martin
857b0b8069
don't try to load dataengines with and empty name
2014-04-02 11:12:11 +02:00
Marco Martin
2fd322536b
text areas use textViewColor
2014-04-01 17:18:12 +02:00
Marco Martin
d597e07fd5
remove dead code
2014-03-31 20:37:52 +02:00
Marco Martin
a326f85cd8
a breeze-dark theme
...
this theme won't have any graphics, just colors that get applied with css on the default svgs
2014-03-31 20:36:37 +02:00
Martin Klapetek
461042a240
Use installEventFilter calls properly
...
Should fix some font-change related bugs
2014-03-31 18:49:45 +02:00
Marco Martin
82e9bd46d0
don't depend from Qt5Declarative
...
That's the qt5 port of QGraphicsView-based QML
2014-03-31 18:37:28 +02:00
Marco Martin
7438ba4164
ignore close events
...
try harder to not get automatically moved or resized.
on wayland probably kwin shouldn't even rty to auto position frameless windows from the plasma process, but for now is a workaround
2014-03-31 18:32:27 +02:00
David Edmundson
e59a86da32
Supress warning of re-defined signal in panelview
2014-03-31 17:47:06 +02:00
Marco Martin
8c54e053a1
alt+f4 shouldn't work on the dashboard
...
BUG:332810
2014-03-31 16:44:45 +02:00
Aleix Pol
018bd82aca
Drop QApplication usages in units.cpp
...
Drop dependency to QtWidgets from this file. We can start assuming that it
might not be that functional in some platforms.
Use QGuiApplication counterparts, based mostly on QScreen, which could make
it more powerful in the future.
REVIEW: 117161
2014-03-30 23:05:51 +02:00
David Faure
37179fb7a0
Include ksharedconfig.h (since it will be removed from kpluginfactory.h)
2014-03-29 08:22:28 +01:00
Marco Martin
91cb51e3c3
fix behavior of inverted sliders
...
BUG:332688
2014-03-28 11:51:19 +01:00
Marco Martin
f3aed6ac4a
less groowe width rather reposition of handle
...
BUG:332587
2014-03-28 11:43:51 +01:00
Marco Martin
144026951e
add activities() to the script engine
2014-03-28 11:13:33 +01:00
Marco Martin
5cfa48062e
add setCurrentActivity to scripting
2014-03-28 11:04:36 +01:00
Marco Martin
4b7b2356e0
create the containmentonly in insertActivity, for scripting
2014-03-28 11:04:36 +01:00
Marco Martin
abdca6f189
Make the desktop scripting activity aware:
...
adapt the desktop scripting from the time when Containment == activity to creating actual activities
* activities() -> desktops()
* activityById() -> desktopById()
* activityForScreen() -> desktopForScreen()
To create a new activity, there is the new global function
createActivity(activtyName, containmentPlugin (optional))
when you want to access the actual containments created by the activity, you do
Array[containments] = desktopsForActivity(activityId)
2014-03-27 21:39:36 +01:00
Ivan Čukić
04bf0ddaed
The icon dialog can now be closed on request
2014-03-27 20:11:28 +01:00
Ivan Čukić
f53a976ae7
Bypassing the window manager does not imply no focus
2014-03-27 19:51:16 +01:00
Marco Martin
5b4e2bff36
when the controller is open, force panel mode
...
force to "Windows can cover" when the controller is open: it's the least dangerous mode.
this also disables the struts while the controller is open, this makes panel resize faster
Means the behavior of struts disabling is *INTENDED*
BUG:332187
BUG:332592
2014-03-27 12:37:40 +01:00
Bhushan Shah
79684002f6
Formats are now part of KDeclarative repo
2014-03-27 01:57:47 +05:30
Martin Klapetek
ce878ee787
Use installEventFilter properly
...
BUG: 332501
2014-03-26 14:24:46 +01:00
Sebastian Kügler
dbbf69b4c5
Use Font.Light variants for PlasmaExtras' Heading and Title
2014-03-26 01:17:11 +01:00
Sebastian Kügler
84a212469f
Disable elide in TabButton
...
This messes up the fontmetrics needed to size the tab button. Before,
the labels would be elided no matter what.
This is more a band-aid than a real fix, we'll need to investigate how
we can make the sizing work correctly, but at least it "unscrews" the
layout of all of our tabbars.
2014-03-26 00:13:54 +01:00
Sebastian Kügler
71976aec92
More specific exit codes for plasmapkg2
2014-03-25 22:22:59 +01:00
Alex Merry
9aabcbe067
Explicitly specify link interface libraries for libKF5PlasmaQuick
...
The headers may not be public (yet?), but it doesn't hurt to have this
stuff specified properly.
REVIEW: 117060
2014-03-25 19:40:00 +00:00
Marco Martin
141df3d98d
if a containment gets removed, remove from bookeeping
...
CCBUG:332593
2014-03-25 18:26:25 +01:00
Marco Martin
c452c055da
don't try to hide the panel when the ui is not ready
2014-03-25 18:03:42 +01:00
Marco Martin
91642b0868
qtextracomponents->kquickcontrolsaddons
2014-03-25 17:10:25 +01:00
Marco Martin
c8844799eb
don't lose the final position on showEvent
...
if there is an animation running and a showEvent happens, set the position to the supposed endValue before killing the animation
BUG:331981
2014-03-25 16:24:20 +01:00
Marco Martin
1415c07d4b
the bounds of the slider are centered on the handle
...
BUG:332587
2014-03-25 15:30:00 +01:00
Marco Martin
c4e6f06f42
expose the plugin name
2014-03-25 15:13:22 +01:00
Sebastian Kügler
637bf0ea19
Add --no-respawn (-n) option to plasma-shell
...
Disables automatic restarting of plasma-shell, useful for debugging
purposes.
BUG:332515
2014-03-25 02:25:09 +01:00
Marco Martin
900e0108e1
if no position was provided, negative pos
...
call the qml part with an invalid position if not supplied, will make new applets in the panels being put in the end instead of at the beginning
2014-03-24 18:15:50 +01:00
Marco Martin
6c6aeef6b5
api (still not ui) to add panel spacer
2014-03-24 18:05:00 +01:00
David Edmundson
b5dc457570
Compact two identical conditions
2014-03-24 17:07:30 +01:00
David Edmundson
399e61901f
don't crash when expanding applets whilst loading
...
BUG: 332429
2014-03-24 17:05:40 +01:00
Eike Hein
6a6bf8e80c
Add back a public slot to procedurally hide a ToolTipArea's tooltip.
2014-03-24 15:19:02 +01:00
l10n daemon script
99900255bf
SVN_SILENT made messages (.desktop file)
2014-03-23 04:47:33 +00:00