Commit Graph

12615 Commits

Author SHA1 Message Date
Marco Martin
c009c7f0cd concept of fixedMargins
sometimes we need to know what the margins are of a framesvg, even if some of them are disabled
2014-02-21 21:13:12 +01:00
Marco Martin
840a77b083 remove other excess devicepixelratio
Svg manages devicepixelration completely internally, multiplying any of its sizes by it makes it applied twice, therefore incorrect
2014-02-21 20:08:01 +01:00
Marco Martin
372912d53e fix elementSize() 2014-02-21 19:52:25 +01:00
Marco Martin
4a0be9acd9 Revert "Slider scales with devicePixelRatio"
This reverts commit 4b0e828e29.
2014-02-21 19:41:31 +01:00
Sebastian Kügler
4b0e828e29 Slider scales with devicePixelRatio
Conflicts:
	src/declarativeimports/plasmacomponents/qml/Slider.qml
2014-02-21 19:28:34 +01:00
Marco Martin
17332257d7 experimental devicePixelRatio in Plasma::Svg
Conflicts:
	src/declarativeimports/core/framesvgitem.cpp
2014-02-21 19:24:14 +01:00
Marco Martin
8c65f60de5 get rid of actions()
redundant function
2014-02-21 18:57:55 +01:00
David Edmundson
c825bd7509 Update SVG outside paint loop 2014-02-21 16:32:05 +01:00
Sebastian Kügler
01d1509c7c Speed up cache lookups
Use constFind and an iterator to save one hash key lookup.

CCMAIL:aleixpol@kde.org
2014-02-21 16:03:03 +01:00
David Edmundson
9e5727d15c Force repainting a texture if the theme changes 2014-02-21 15:15:22 +01:00
David Edmundson
1eb0deb0df Move QSGTexture memory management into QSGSimpleTextureNode subclass 2014-02-21 15:15:21 +01:00
David Edmundson
d7b8ba265b Cleanup whitespace 2014-02-21 15:15:21 +01:00
David Edmundson
fd4bf875a7 Remove manual isDirty tracking in SvgItem 2014-02-21 15:15:21 +01:00
David Edmundson
9492340ba6 Always resize the node geometry on resizes 2014-02-21 15:15:21 +01:00
David Edmundson
f104d171da Update to paint to fill the size of the object, not the size of texture 2014-02-21 15:15:21 +01:00
David Edmundson
d0bc8b2a75 Fix leaking texture 2014-02-21 15:15:21 +01:00
David Edmundson
9459ed1f02 Add convenient QImage image() getter in SVG 2014-02-21 15:15:21 +01:00
David Edmundson
318560c8c2 Avoid repainting if node is not changed 2014-02-21 15:15:21 +01:00
David Edmundson
9851f8c789 Render SvgItem natively rather than going through QQuickPaintedItem 2014-02-21 15:15:21 +01:00
Marco Martin
1a55ac0c8c outside parent if the parent window ignores WM 2014-02-21 11:55:37 +01:00
Marco Martin
3fd81dbeb5 add a shadow in the panel controller 2014-02-21 11:36:54 +01:00
Marco Martin
e27a2512af make :screen() not crash if is child of an applet 2014-02-21 11:13:14 +01:00
Sebastian Kügler
13ec787302 Improved contrast for highlighted and today's delegate 2014-02-21 01:22:24 +01:00
Sebastian Kügler
29cf8e22d2 Faster theme changes
Don't wait too long after the file changed, makes theme changes be
picked up half a second faster -- noticeable for the user.
2014-02-21 01:20:27 +01:00
Sebastian Kügler
d8ea983d45 Slightly faster lookup of cached theme elements 2014-02-21 01:19:58 +01:00
Marco Martin
68496ed363 unbreak wallpaper config model 2014-02-20 13:35:11 +01:00
Marco Martin
a7c6d3a79e Merge branch 'mart/plasmaquickNamespace' 2014-02-20 12:36:44 +01:00
Marco Martin
aaf7fa328d export plugin name
not super nice but the simplest way to avoid code duplication in the image plugin
2014-02-20 12:33:31 +01:00
Marco Martin
5fb89a5ea9 add warning notices that is not public api 2014-02-20 11:19:50 +01:00
Marco Martin
e9580fc257 don't install headers of plasmaquick
don't commit to binary stability just yet
2014-02-20 11:16:46 +01:00
Marco Martin
90c608f863 complete porting 2014-02-19 20:00:29 +01:00
Marco Martin
d3253428dc plasmaquickview.h -> view.h 2014-02-19 19:40:40 +01:00
Marco Martin
5bb4761c73 use a namespace in libplasmaquick
right now only the library builds
2014-02-19 19:37:30 +01:00
Marco Martin
c9ac5ebefb make private what should be private 2014-02-19 18:30:24 +01:00
Marco Martin
2be97bdcdc realign the panel when size changes
inthe case the panel is centered or at right, it has to be moved as well
2014-02-19 16:20:48 +01:00
Martin Klapetek
bd0ccdebf7 Check the OSD path before trying to load it, Plasma crashes if empty
Review-by: David Edmundson
2014-02-19 14:39:21 +01:00
Martin Klapetek
d3d7a6fd63 Return early if we failed to load valid Wallpaper package
Reviewed-by: Marco Martin
2014-02-19 13:28:15 +01:00
Hrvoje Senjan
dde1da619e Use QStandardPaths for finding plasma shells instead of hardcoding to install prefix
Otherwise plasma shells are never found if plasma-framework and
kde-workspace are installed to different prefixes

REVIEW: 115871
BUG: 331063
2014-02-19 12:15:25 +01:00
Alex Merry
e83e3cf300 Fix build
If code uses KDBusService, it must link against KDBusAddons.
2014-02-19 11:05:28 +00:00
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Marco Martin
99e350bb34 take into account panel size while positioning
make the dialog look always inside the panel, to not have borders looking brutally cutted away
2014-02-18 18:16:17 +01:00
Marco Martin
ef2e4f46d4 correctly restore panelVisibilityMode 2014-02-18 17:41:48 +01:00
Marco Martin
208e485577 correct behaviors for panel modes
(just missing edge activation)
2014-02-18 17:26:32 +01:00
Marco Martin
456d919326 notify signal of visibilityMode property 2014-02-18 16:59:11 +01:00
Marco Martin
fa8ed3668b event compress restore after location change
now the panel position is correct after location change, and flickers less
2014-02-18 16:54:05 +01:00
Marco Martin
553055e6d3 adjust maximumWidth when adjusting offset, if needed 2014-02-18 13:42:14 +01:00
Marco Martin
ef0832787a restore the proper offset 2014-02-18 12:32:53 +01:00
l10n daemon script
592a0db2ab SVN_SILENT made messages (.desktop file) 2014-02-18 05:13:41 +00:00
Sebastian Kügler
bc7a54bb09 Compile-time connect in PlasmaComponents.Menu 2014-02-18 01:05:26 +01:00
Sebastian Kügler
21eb2d7ce5 Fix imports for testcomponents applet 2014-02-18 01:04:54 +01:00