Marco Martin
5600cb0fea
dismiss on focus out if a View was clicked
...
BUG:334810
2014-05-15 14:40:03 +02: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
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
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
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
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
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