Commit Graph

14051 Commits

Author SHA1 Message Date
Marco Martin
c8b9b852ef check for slot existence before connecting or disconnecting
since this is a blind connect to a slot that may exist
or not exist, the new syntax can't be used, but check
for the slot existence before attempting a connection

BUG:354751
2015-11-11 11:07:46 +01:00
l10n daemon script
4519c25d5c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-10 12:46:43 +00:00
Marco Martin
d6dd74ce39 adjust test values
framesvg margins have been changed, influencing sizes
and pos of the dialog

Change-Id: I23b6a8416de8ec7c17b04b97a6c2772bd44b4d7b
2015-11-10 11:01:14 +01:00
Marco Martin
c6ad907db5 revert to old margins 2015-11-10 10:54:02 +01:00
Marco Martin
b292c3181f update version number to force to drop the caches 2015-11-10 10:24:26 +01:00
Marco Martin
29c53a82bf adjust margins to make tests pass
Change-Id: I72b1bc5548f4c08b498e41c8fb23a39de444b36b
2015-11-09 13:27:52 +01:00
Martin Gräßlin
9030405089 [plasmaquick] Don't link OpenGL explicitly
Not needed and anyway pulled in from Qt.

REVIEW: 125975
2015-11-09 11:11:06 +01:00
Martin Gräßlin
de0f7d93a8 [plasmaquick] Drop XCB::COMPOSITE and DAMAGE dependency
Not used
2015-11-09 11:11:06 +01:00
Martin Gräßlin
fae8384845 [declarativeimports/core] Specify HAVE_XCB_COMPOSITE in config-x11.h 2015-11-09 11:11:06 +01:00
Martin Gräßlin
286300ad35 Use newer cmake syntax for XCB dependencies 2015-11-09 11:11:06 +01:00
Martin Gräßlin
e95de33465 [declarativeimports/core] Drop xcb shape dependency as it's unused 2015-11-09 11:11:06 +01:00
l10n daemon script
712882ee5c Upgrade ECM and KF5 version requirements for 5.16.0 release. 2015-11-08 11:20:06 +00:00
Kai Uwe Broulik
606c7f651d [TabBarLayout] Layout sooner
CHANGELOG: Fix TabBar items being cramped together on initial creation, which can be observed in eg. Kickoff after Plasma start

REVIEW: 125978
2015-11-07 13:15:50 +01:00
Kai Uwe Broulik
af32d8b42f [containmentinterface] Workaround self-destructing menu
Basically, if the "determining mimetype" QMenu is shown, and then afterwards we
re-use this menu to show the possible actions, we clear it and then it just destroys
itself on exec() returning a null QAction, rather than waiting for the user to make
a selection. It doesn't matter when, as soon as the menu becomes empty, be it because
we call clear() or we remove the action before populating it. Hence, we just populate
the menu and then remove the first action which will be the "determining mimetype" placeholder.

CHANGELOG: Fix dropping files onto the desktop/panel not offering a selection of actions to take

REVIEW: 125939
2015-11-07 13:12:32 +01:00
Nick Shaforostoff
db7f198a19 -use QStringLiteral and QLatin1String in the code that is executed multiple times (avoids utf8->utf16 conversions)
-use splitRef when converting parts of qstring to ints to avoid redundant memory allocations
-warnings--: remove redundant ';'

CCMAIL: notmart@gmail.com
2015-11-06 13:39:18 +00:00
David Rosca
f32677b8e0 Take QApplication::wheelScrollLines into account from ScrollView
This is adaptation of https://codereview.qt-project.org/#/c/109615/
for Plasma style.

REVIEW: 125889
2015-11-06 12:03:51 +01:00
Martin Gräßlin
ae4ba8920e [declarative/core] Use BypassWindowManagerHint only on platform X11
BypassWindowManagerHint is a flag which is X11 specific. Because of
that for example QtWayland doesn't create a real window for QWindows
with this flag.

Using such a window will eventually result in a freeze of the whole
application. If one renders with QtQuick to such a window, mesa will
request a frame callback from the compositor. Just the compositor
will never deliver the frame rendered callback as it doesn't know the
window exists in the first place and by that doesn't render it and
will never ever deliver the frame rendered callback.

If now one tries to render another frame, mesa notices that it hasn't
got the frame callback and will block the thread till that happens.
With the setup described: that's until eternity.

See Qt Bug: https://bugreports.qt.io/browse/QTBUG-49272

REVIEW: 125961
2015-11-06 08:51:37 +01:00
Marco Martin
0233a7d571 delete old panel background
Change-Id: Idbc3ac1882176c61e5d5c282892aae525b8279f0
2015-11-05 10:37:33 +01:00
David Edmundson
8286c74452 Update version number of breeze dark too
As this inherits from breeze, when breeze changes we need to update our
breeze dark kcache too.

Change-Id: I0f449de7ad0e8faca2cc224b9dfa650ff59896bb
2015-11-05 01:53:18 +00:00
l10n daemon script
01f4cf59ea SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-04 17:07:45 +00:00
Marco Martin
651f50071d restore expanders
Change-Id: I420df51d5beecd81948c83d5bf3b6f7ca44b2f28
2015-11-04 12:10:49 +01:00
Marco Martin
955a7f87b5 more readable spinner at small sizes
Change-Id: Ic67ea0538c2be030d35d73085bb4bf5848baefd3
2015-11-02 14:27:42 +01:00
Marco Martin
02210d4e7e colored view-history
Change-Id: I56f91290ca82eb14668567f58157f2400fc2b73f
2015-11-02 13:30:16 +01:00
David Rosca
5dc3f0ac7f calendar: Make the entire header area clickable
This makes the entire header area clickable (not just the header label).

REVIEW: 125899
2015-10-31 22:18:06 +01:00
David Rosca
2ca48a7d2d calendar: Don't use current day number in goToMonth
Fix goToMonth when that month does not have current day number
(eg. today = 31).

REVIEW: 125894
2015-10-31 22:17:15 +01:00
David Rosca
1e867f276b calendar: Fix updating decade overview
Always update model when switching to decade overview.

REVIEW: 125893
2015-10-31 22:16:32 +01:00
Marco Martin
73712057b2 remove conflicting files 2015-10-27 12:06:46 +01:00
Aleix Pol
36288df5ac Fix logic (and warnings) in ModelContextMenu
It was checking that a variable existed, then it used it. Now it works like
the rest of the properties.

REVIEW: 125809
2015-10-26 18:14:41 +01:00
Marco Martin
1faf67489d bump theme version number to framework version
Change-Id: I89bf8923d927dec060cc81a75ebc3aeac4c5e6a9
2015-10-26 13:14:28 +01:00
Marco Martin
bf05c65858 Merge branch 'breeze/5.5'
merge the new theme
is mostly an incremental difference compared to the previos theme
2015-10-26 13:07:12 +01:00
Marco Martin
78752b731f manage both svg and svgz
Change-Id: I928775c101bed14ef03a4266e5c90279dcc9427a
2015-10-26 12:58:16 +01:00
Marco Martin
47b7496652 possible to pass colors as parameters
Change-Id: I95a9a1e4849da9ed2a38c242a825074cfe31dde6
2015-10-26 12:41:00 +01:00
l10n daemon script
b4a42d3616 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-10-26 10:07:41 +00:00
Marco Martin
cc2b74b956 make spinner and glow blue
unfortunately qtsvg doesn't support styled gradients so the glow will be always blue

Change-Id: I67803940df7c4ba053e9e5110c1db0567c970455
2015-10-26 09:42:36 +01:00
Dāvis Mosāns
39f8db95c2 Initialize QFunctionPointer to Q_NULLPTR
REVIEW: 125756
2015-10-22 16:23:51 +03:00
Marco Martin
a02e4d4893 slightly more opaque
Change-Id: I461bba205f99ea954f61ab5e735d1facda9fd3e4
2015-10-20 11:56:17 +02:00
Marco Martin
c1065ccf39 Theme breeze icons when loaded trough IconItem
This makes IconItem try to load global icons from the theme
with Plasma::Svg as well, making it assign the colors from
the stylesheet if the breeze monochrome icons are treated,
that should be scriptable, from some attempts i did the
script seems to convert them correctly, without any
change in rendering.

This will automatically color monochrome breeze icons only
in plasmashell, and more specifically only those that use
IconItem, not QIconItem (iconitem should probably have an
animation-less mode to be able to be used in taskmanager
and stuff)
perhaps in the future we'll be able somehow to hook all
this stuff in QIconEngine to be able to use it in QWidget
applications, but since QIcon does have any idea where it is,
is not usable yet for things like the fullscreen fixed-dark
gwenview view.

Change-Id: I28e5fedabafbe8ed82a9df7614f8e2af18c6a24d
REVIEW:125657
2015-10-20 11:49:20 +02:00
Marco Martin
2a957457b5 better slider shadows
Change-Id: Id4c328c2fbaa630f0739c4c5252a0ee9c181399a
2015-10-19 19:13:06 +02:00
Marco Martin
450066b20e complete dialogs
Change-Id: I3146a4d73816e26d4790dc7496e5642d3476142e
2015-10-19 18:59:36 +02:00
Marco Martin
b4d7916dba make the new checkmark work
Change-Id: I673e5e5d2dad7318027ae40c8712ffc7ba795505
2015-10-19 18:25:47 +02:00
Marco Martin
d2d95d46f6 some stylesheets fixed
Change-Id: I545dd69d83784cc8572b22ecdad483e5e094116e
2015-10-19 18:21:39 +02:00
Marco Martin
7e23d31c11 new theme elements
every element has been ported to use stylesheets

Change-Id: I2a09d5bcf7359351b04d1732358252567714f670
2015-10-19 17:40:26 +02:00
David Edmundson
1a4c1d7eeb Fix Button minimumWidth property
Plasma's Button has an extra property "minimumWidth" which is an extra
hint not in QQC to say "what is the size to exactly fit the contents".

(it's a bit confusing, as we can perfectly handle a button below it's
"minmimum" size)

This should be based on the size the contents want to be (the
implicitWidth), not how small the contents can go (which with is pretty
meaningless when our button can elide)

It got broken at some point recently.

BUG: 353584
Change-Id: I637898c3abf98183bbae30d8f15c4d72801a3650
REVIEW: 125698
2015-10-19 11:30:19 +01:00
David Edmundson
e6ba526539 Remove duplicate code expanding size hint of panel to fit text
QtQuickControls already does this inside Button code. This hint is meant
to be "what's the default size for a panel to be".

Change-Id: I12fd084a3d3c35b172fbff9c7d3ab5c5565a82dc
2015-10-19 11:30:14 +01:00
Marco Martin
44439aae59 new icons
Change-Id: Ia44378ce45812178d648a24c857ff2643ed79211
2015-10-19 11:51:01 +02:00
Marco Martin
84fc7672f6 introduce appletCreated signal
appletCreated is different from appletAdded because it gets
emitted only when the user explicitly creates one, so not in
case of an applet migrating and not during restore
needed by https://git.reviewboard.kde.org/r/125562/

REVIEW:125569
Change-Id: I1db9286beb160391c13f1aca0ac48ed490495ea2
2015-10-13 14:26:53 +02:00
Marco Martin
7cafe26fa0 make PageRow work
enum names aren't anymre available in js files
fix scrollToLevel behavior
2015-10-12 18:19:13 +02:00
andreas kainz
881246e239 Plasma Breeze Icon: Touchpad add svg id elements 2015-10-12 14:00:04 +02:00
andreas kainz
86476bcf2c Plasma Breeze Icon: change Touchpad to 22x22px size 2015-10-12 13:49:40 +02:00
andreas kainz
592222681c Merge branch 'master' of git://anongit.kde.org/plasma-framework 2015-10-12 11:42:14 +02:00