Marco Martin
3088611227
simplify the svg, fix glitch
...
same look, many less elements in the svg
2014-06-16 19:25:31 +02:00
Marco Martin
01fc75aa78
more precise actionbutton
...
specific 22x22 graphics and ensure the graphic elements always have an even size
BUG:335547
2014-06-16 19:07:58 +02:00
Marco Martin
992b64a167
small workaround to show all the highlight borders
...
BUG:336210
2014-06-16 15:57:45 +02:00
Marco Martin
751b773db2
if the applet has width/height in root, use it
...
CCBUG:336291
2014-06-16 14:35:04 +02:00
Kai Uwe Broulik
60ddc9f25d
Use RotationAnimator for BusyIndicator
...
This makes the animation run directly on the scene graph to not stress the CPU that much
REVIEW: 118769
CCBUG: 311799
CCBUG: 336274
2014-06-15 22:28:21 +02:00
l10n daemon script
001e37987f
SVN_SILENT made messages (.desktop file)
2014-06-15 08:26:47 +00:00
l10n daemon script
d72b0d45fa
SVN_SILENT made messages (.desktop file)
2014-06-14 08:25:31 +00:00
Marco Martin
63d2476521
some icons for kickoff
2014-06-13 21:00:45 +02:00
Marco Martin
369c734bd9
align to pixel grid
2014-06-13 20:59:34 +02:00
David Edmundson
16dc4705c7
Rename presence applet svg to match XDG icon names
2014-06-13 20:25:31 +02:00
Marco Martin
c6e7961088
ensure mask and normal frame have the same borders
2014-06-13 17:15:06 +02:00
Hrvoje Senjan
fddf7c79a6
Use correct wallpaper size
2014-06-13 17:04:18 +02:00
Marco Martin
05d71947c8
svgColorGroup -> colorGroup
2014-06-13 15:40:47 +02:00
Jonathan Riddell
9513a005a8
switch to Next wallpaper
2014-06-13 13:16:26 +01:00
Marco Martin
c44c3b30e2
off by one in positioning
...
position the dialog at exactly the right-most edge of the screen
it was off by exactly one pixel
2014-06-13 13:54:23 +02:00
Marco Martin
bb40981c1f
use proper colors
2014-06-13 12:43:31 +02:00
Marco Martin
f86f2361ab
all opaque stuff follows stylesheets
2014-06-13 12:35:10 +02:00
Marco Martin
89f52e8769
get rid of shutdowndialog
...
we have the new shiny implementation that doesn't use the ol'moon
2014-06-13 12:28:15 +02:00
Marco Martin
42308b136e
use stylesheet for opaque background
2014-06-13 12:08:26 +02:00
Marco Martin
09d0c44267
leave a bit of room around headings
...
make sure heights are integer
CCBUG:336123
2014-06-13 11:43:41 +02:00
l10n daemon script
ba6698e140
SVN_SILENT made messages (.desktop file)
2014-06-13 09:04:06 +00:00
Marco Martin
ea2f1de405
use proper color classes
2014-06-12 16:22:36 +02:00
Martin Klapetek
72c5aff002
Make the calendar heading & grid have the same margins
...
BUG: 336121
2014-06-12 13:56:08 +02:00
l10n daemon script
b092bbed31
SVN_SILENT made messages (.desktop file)
2014-06-12 08:31:04 +00:00
Martin Klapetek
a177696c6c
Update DataEngine sources only if they are used
...
REVIEW: 118669
2014-06-11 17:17:41 +02:00
l10n daemon script
dab9d5f303
SVN_SILENT made messages (.desktop file)
2014-06-11 08:21:23 +00:00
Martin Gräßlin
0d61746784
Small improvments to FadingNode and IconItem
...
* trigger an update after the animation finished as the IconItem needs to
switch to SVGTextureNode again
* Don't connect needlessly to a lambda slot
* FadingMaterialShader had the texture bind swapped
* Fix virtual method hidden warning in FadingMaterialShader
* Use dynamic_cast instead of static_cast to convert to SVGTextureNode
or FadingNode.
REVIEW: 118251
2014-06-11 07:55:01 +02:00
Andrew Lake
167c628665
add additional battery and brightness icons
2014-06-10 11:58:09 -07:00
Marco Martin
71cf5a3e9a
set window mask when composite is off
2014-06-10 15:22:12 +02:00
Marco Martin
15280e336f
resize immediately after applying max height
...
another async x11 weirdness, now the height stays correctly synced
2014-06-10 14:13:41 +02:00
Marco Martin
17bc7897e3
resize the framesvg in resizeevent
...
this makes it as synced as possible with the window
will still be behind the window size by exactly one frame
but at least is ensured is no more than one
2014-06-10 13:48:30 +02:00
Marco Martin
e35aee9cea
Merge branch 'mart/svg/stylecolors'
2014-06-09 20:09:28 +02:00
Marco Martin
d3f73c59f3
apidoc
2014-06-09 19:44:52 +02:00
Marco Martin
fa95680a51
use color groups instead
...
the Text and Background colors can become buttonText or ButtonBackground
based on the svg property ColorGroup
2014-06-09 19:35:58 +02:00
Marco Martin
cac2704d50
prototype of more flexyble svg stylesheets
...
experiment in dynamic repacement of Text and Background
colors, in order to be able to generate icons of different colors
based on where they are (for instance if the normal background
is dark and the button background is light
at the moment supported an option to invert colors, one
to use the "highlight" color (if we want colored icons
on mouse over)
2014-06-09 17:35:46 +02:00
Martin Klapetek
292d06b537
Update the battery icon wth 0% aligned at 12 o'clock
...
CCBUG: 335636
2014-06-09 14:19:42 +02:00
Marco Martin
e558e44658
export the applet we're configuring
2014-06-09 13:24:52 +02:00
Bhushan Shah
86c1f46eaa
Prevent crash when requesting icon with negative size
...
REVIEW: 118613
BUG: 335939
2014-06-08 22:39:54 +05:30
l10n daemon script
5ab5d89fea
SVN_SILENT made messages (.desktop file)
2014-06-07 08:25:46 +00:00
Giorgos Tsiapaliokas
35e5c46358
Unset the contentsPrefixPaths for the ThemePackages. The Theme Packages are not supposed to have a "contents/" directory.
...
REVIEWED-BY: Marco Martin
2014-06-06 18:48:49 +03:00
Marco Martin
9c642fd700
use correct translation domain names
2014-06-06 14:41:21 +02:00
Aleix Pol
8ab91f219d
Expose the screenGeometry on the applet interface
...
It's useful to be able to figure out information about the current screen
without having to ask the corona.
2014-06-05 15:24:26 +02:00
Marco Martin
549fb7ce51
swap setupbindings and setTranslationDomain
2014-06-05 14:50:31 +02:00
Marco Martin
f457c5254a
use the applet plugin domain instead
2014-06-05 14:31:52 +02:00
Marco Martin
bc8e285a16
set translation domain as the corona plugin name
...
applet configuration dialogs may need to always use i18nc :/
2014-06-05 14:08:19 +02:00
Marco Martin
7bc669f7d8
be quiet
2014-06-05 14:01:52 +02:00
Marco Martin
30936ea2be
set default translation domain as corona pluginname
2014-06-05 13:40:25 +02:00
Marco Martin
d984a60a2d
set translation domain for applets
...
their default translation domain has the same name as the plugin name
(as the catalog in plasma1)
2014-06-05 13:33:07 +02:00
David Edmundson
73bb587ee9
Set catalog name in QueryDailog
...
REVIEW: 118557
2014-06-05 13:21:18 +02:00
Marco Martin
61dadaa558
minimize x move/resize calls
...
ensure starting and ending point of the animation are correct
BUG:335789
2014-06-05 12:09:52 +02:00
Aleix Pol
a06c1569a1
The screen size will be defined by the final Corona
...
It doesn't make sense to try to give hints at what it will be given that
we don't know.
For example, see how we're defining ::numScreens as 1 on the other method
as well.
2014-06-05 01:25:18 +02:00
David Edmundson
7ea8e24584
Remove more unused QApplication includes
2014-06-04 18:57:18 +02:00
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
Martin Klapetek
9f0765b002
Make sure we update the calendar on date change
...
This introduces new property on MonthView - "today". This property is
updated by dataengine (or can be a timer too, but we already get signals
from dataengine every 30 seconds to update the clock) and is never
updated by the code itself.
Furthermore, the DayDelegate is now bound to it, so when "today"
changes, the selection rectangle in the calendar should also change.
And finally, the selected item in the grid is cleared if MonthView's
date property is cleared (which is second part of this patch, to the
applet itself).
REVIEW: 118277
2014-05-26 13:40:47 +02:00
Aleix Pol
efdf1ca917
Make QtGui a public dependency of KF5::Plasma
...
Many classes from QtGui are specified in the header files, this alone is
enough reason to make it a public dependency. (QGuiApplication, QFont,
QPixmap are some examples).
This also pulls QtCore (e.g. QString, QRect, QUrl), which also is, of
course.
CCMAIL: plasma-devel@kde.org
2014-05-26 04:16:57 +02:00
Aleix Pol
38b16d5149
Remove unneeded includes
...
QWidget!!
2014-05-26 04:11:35 +02:00
l10n daemon script
fd1674450e
SVN_SILENT made messages (.desktop file)
2014-05-25 08:47:48 +00:00
Marco Martin
d4b4a9558f
use the interceptor on views too
...
relax its rules a bit and alter it to make it work with shell packages too
2014-05-23 20:03:41 +02:00
Sebastian Kügler
249c1e1c93
Less warnings at runtime
...
It's quite common to try loading a package in order to check if it's
valid. No need to litter the console with that.
2014-05-23 18:41:50 +02:00
Sebastian Kügler
511495caad
Make sure gridUnit is always an even number
...
This prevents subpixel alignment when gridUnit / 2 is used, which is
quite common.
2014-05-23 16:10:21 +02:00
l10n daemon script
2ba1a0c90f
SVN_SILENT made messages (.desktop file)
2014-05-23 08:16:11 +00:00
Marco Martin
4cc6d84a81
try harder to use a pixel perfect size
2014-05-22 14:04:27 +02:00
Marco Martin
2f9e158297
22x22 version
2014-05-22 12:38:32 +02:00
Marco Martin
524ff23f25
add support for tooltips
...
use qwidget tooltips, not plasma ones
BUG:335131
2014-05-22 12:18:30 +02:00
Marco Martin
88275439d4
fix platform colors
2014-05-22 11:49:16 +02:00
Marco Martin
ab27f8b945
use view text color
2014-05-22 11:44:26 +02:00
Marco Martin
357647577f
use view color for text in textfield
...
BUG:333837
2014-05-22 11:42:20 +02:00
Marco Martin
76ac7b7e6f
more pixel-ok 16x16 version
2014-05-22 11:24:03 +02:00
Marco Martin
c71e5d4722
make square
...
16x16 version
use system colors
2014-05-22 11:21:13 +02:00
Martin Klapetek
8d0d53655b
Add drive-harddisk breeze/systray icon
2014-05-22 11:04:49 +02:00
David Edmundson
b06fe8301c
Calculate implicitWidth of both button and toolbutton properly
2014-05-21 21:15:18 +02:00
David Edmundson
8b86279298
Match toolbutton sizing behaviour with button
...
Removing eliding in Toolbutton, this causes a binding loop as the
sizeHint is dependent on the paintedSize, which will change if you
elide.
In all cases we are trying to make toolbuttons fit the contents, so this
actually got in the way of that.
2014-05-21 20:07:36 +02:00
Martin Klapetek
5aa1e18f97
Elide Components' Button label
...
Otherwise the label can get out of the button boundaries. Tested with
RTL text too, it's elided properly as the elipsis switches to Left on
its own.
Reviewed-by: Marco Martin
BUG: 334867
2014-05-21 17:46:04 +02:00
David Edmundson
78e6000e72
Fix member variable capitalisation
2014-05-21 16:54:05 +02:00
Marco Martin
d2d61c4da3
reposition when resizing if there is visualParent
...
BUG:334970
BUG:334964
2014-05-21 15:45:21 +02:00
David Edmundson
394e29fa34
When changing geometry always update
2014-05-21 15:38:23 +02:00
Marco Martin
bb10131fd4
support inverted layout
2014-05-21 15:03:37 +02:00
Marco Martin
409d340fba
if a name is passed in the ctor, never change
...
BUG:335005
2014-05-20 18:26:03 +02:00
l10n daemon script
db8da9ff8d
SVN_SILENT made messages (.desktop file)
2014-05-20 10:48:03 +00:00
Marco Martin
00db8aa4b1
fix menu icon
2014-05-20 11:10:54 +02:00
Marco Martin
10cbbc5032
"menu" icon for air and oxygen
...
will be necessary to delete the cache for it to appear
BUG:335008
2014-05-20 10:58:32 +02:00
David Edmundson
989dc5c07c
Remove pointless include
2014-05-19 22:13:30 +02:00
Marco Martin
1e7a8b60a1
clean
2014-05-19 19:18:52 +02:00
Marco Martin
f7e25fe696
don't link to xml and iconthemes
2014-05-19 19:09:09 +02:00
Marco Martin
8155f2d542
don't link to qtquick
2014-05-19 18:32:34 +02:00
Marco Martin
fd87694c8d
fix build
2014-05-19 18:29:41 +02:00
Marco Martin
924818a0ca
don't link agains KConfigWidgets
...
not needed anymore
2014-05-19 16:58:37 +02:00
Marco Martin
d0816f1448
crash--
2014-05-19 15:35:04 +02:00
Marco Martin
72239e7f3c
apps can use more than one theme.
...
add the name in s_sharedFrames
CCBUG:335003
CCBUG:335004
2014-05-19 15:24:36 +02:00
Marco Martin
bbed0411b6
don't use another Thmeme copy
2014-05-19 14:58:19 +02:00
Marco Martin
682bf5f149
if containment gets destroyed, destroy all dialogs
...
BUG:334977
2014-05-19 11:15:51 +02:00
Marco Martin
9d3344d0a6
close the remove dialog if containment locks
...
BUG:334978
2014-05-19 11:11:19 +02:00
Eike Hein
cfda5c4d70
Update containsMouse even if tooltips are disabled globally.
...
ToolTipAreas are often the critical path for mouse handling, since
hover events are not filterable from below in the item hierarchy.
When disabling tooltips also stops updating containsMouse code has
no way to adapt, since there's no API to read the pref from within
QML. This changes the implementation of the pref to only prevent
tooltips from being shown, but still continue to handle hover events.
2014-05-19 10:25:25 +02:00
l10n daemon script
14ab84f5cc
SVN_SILENT made messages (.desktop file)
2014-05-18 08:22:25 +00:00
David Edmundson
2f16595036
Do not create a QSGNode when size is 0
...
This fixes a crash when resizing an icon to be super small
2014-05-16 15:44:25 +02:00
Marco Martin
2d29445164
set the shortcut to the action
...
BUG:334855
2014-05-16 10:03:45 +02:00
Martin Gräßlin
9653fad2f0
[declarative/core] Use proper GLXFBConfig for glxpixmap
...
We need to use a GLXFBConfig which matches the depth of the window
pixmap's depth. So far it used the GLXFBConfig of the GL context.
This worked fine for RGBA windows, but failed for RGB windows on e.g.
some NVIDIA drivers.
After this change the FBConfig of the context is completely ignored,
instead it tries to find a good FBConfig for a given depth.
Whenever a FBConfig for a given depth is found it's inserted in a
cache shared between all WindowThumbnails so that we don't have the
X roundtrips all the time.
BUG: 334241
REVIEW: 118110
2014-05-16 07:49:42 +02:00
Aleix Pol
35d1dd2d65
Don't try to delete null objects
...
Fixes a warning in Qt and makes sense of what the code it's actually doing.
At least it was not crashing!
2014-05-16 03:08:11 +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
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