Commit Graph

13962 Commits

Author SHA1 Message Date
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
andreas kainz
6c20f17af9 Breeze Icon: add widget icon to notes 2015-10-12 11:41:42 +02:00
l10n daemon script
54fd398698 Upgrade KF5 version to 5.16.0. 2015-10-10 10:27:10 +00:00
Marco Martin
d5c9d3aedf a script to replace hardcoded colors with stylesheets
can be used to take a normal icon and make it plasma theme aware
2015-10-09 17:29:54 +02:00
Marco Martin
829c8479ec apply SkipTaskbar on ExposeEvent
applying the flag on exposeEvent correctly hides the dialog
from the taskbar, while is still present if only applied
in ShowEvent

Change-Id: I289c36aff251e5cc6e41a493cbc0b2b5b1432a8d
2015-10-08 20:13:05 +02:00
Marco Martin
64fdce2086 Revert "plasma: Fix applet actions might be nullptr"
This reverts commit 4e9b32d80d.

doesn't fix the problem and just introduces a memleak
(the crash is actually about a deleted containment,
so the problem is somewhere else)
CCMAIL:xiangzhai83@gmail.com
2015-10-07 17:19:13 +02:00
Christoph Cullmann
3f9109a265 Check for nullptr screen to avoid crash
BUG: 345173
REVIEW: 125528
2015-10-05 16:59:22 +02:00
Marco Martin
2f9aadcb43 don't set SkipTaskbar on every event
the only event we're interested in is QEvent::Show
2015-10-05 11:41:42 +02:00
Marco Martin
dea284f8f3 use a RowLayout for ToolbarLayout
more reliable.
also put the first and last buttons at the extremes, the others in the middle
2015-10-05 11:41:42 +02:00
l10n daemon script
76eaaf61e7 Upgrade ECM and KF5 version requirements for 5.15.0 release. 2015-10-03 10:37:07 +00:00
Takahiro Hashimoto
64b951fab3 Make tooltip dialog hidden on the cursor entering the inactive ToolTipArea
REVIEW: 125443
2015-10-02 23:23:14 +09:00
Marco Martin
f4c6042b37 if the desktop file has Icon=/foo.svgz use that file from package
restore a feature from Plasma4, the ability for plasmoids to provide
an icon insude their package.
intended for GHNS plasmoids,
already used in the widget explorer, this makes it the default
 plasmoid icon as runtime as well.

Change-Id: I196897eeedbe0c385c2795ab73c278f7c837221d
REVIEW:125336
2015-09-24 20:57:54 +02:00
Marco Martin
c149b1d382 add a "screenshot" file type in packages
Change-Id: I8f6b809ae0e4e768dff48cf21336db6dd40f677e
2015-09-24 11:53:20 +02:00
Marco Martin
c6804b034d consider devicepixelration in standalone scrollbar
Change-Id: I06e55738cde060f7ff372c039be20f5dad72d070
2015-09-18 20:17:07 +02:00
Marco Martin
244574edd1 no hover effect on touchscreen+mobile
still normal hover effect on laptops with touchscreen

Change-Id: I64f101e1572eed9d48174f0cf290fdfea085aaeb
2015-09-18 20:08:16 +02:00
David Edmundson
7453beb9ce Use lineedit svg margins in sizeHint calculation
QQC button heights are max(backgroundHeight, label + margins).
QQC lineedits are only from the background

We need to take the margins into consideration when deciding how high
the textbox should be otherwise we're effectively just ignoring what the
SVG says.

This means button and textbox on the login screen are now the same
height.

REVIEW: 125240
2015-09-16 23:56:39 +01:00
David Rosca
4b4461d76b Don't fade animate icon in plasma tooltips
PlasmaCore.IconItem has a fade animation when changing source.
Clearing the source when tooltip is not visible eliminates the
animation.

REVIEW: 125178
2015-09-14 11:06:00 +02:00
David Rosca
0df4823e8b Fix eliding button text
Setting minimumWidth to implicitWidth forces overflowing text
instead of eliding it.

REVIEW: 125201
2015-09-12 22:49:00 +02:00
David Edmundson
d6e5d81a59 Make more tests for button with descriptions
Change-Id: I6d1d2be97bac4b6f6b1deebc6e5654a303ba150e
2015-09-12 22:40:18 +02:00
David Kahles
8a85589afc Remove the documentation of the non-existent parameter "desktop"
REVIEW: 125171
2015-09-12 18:08:03 +02:00
l10n daemon script
cafbcdabc8 Upgrade KF5 version to 5.15.0. 2015-09-12 09:11:22 +00:00
Kai Uwe Broulik
3eccd9c8a4 Prevent context menus from overlapping panels
CHANGELOG: Context menus of applets within a panel no longer overlap the applet

REVIEW: 124981
2015-09-09 10:35:48 +02:00
Martin Klapetek
e07778d97b Simplify getting associated apps list in AssociatedApplicationManager
REVIEW: 125105
2015-09-08 12:30:51 -04:00
David Edmundson
fd9a936393 remove superfluous semicolon
Change-Id: Ic272871230de8d004159560aa8cc1d91df5857eb
2015-09-08 16:52:50 +02:00
Bhushan Shah
4fcb1c6dc5 Fix documentation of gridUnit
gridUnit doesn't correspond to milimetter but size of capital M

REVIEW: 125099
2015-09-08 12:25:40 +05:30
Marco Martin
94c67c37ee Add a dynamic __plasma_frameSvg dynamic property
will be needed by the KWayland integration in order to
obtain the proper shadow
2015-09-07 21:48:54 +02:00
l10n daemon script
c60315d7ff Upgrade ECM and KF5 version requirements for 5.14.0 release. 2015-09-04 20:22:24 +00:00
Marco Martin
573d2985ba Merge branch 'mart/inlineEditMenu'
REVIEW:124374
2015-09-02 11:58:06 +02:00
Marco Martin
b2bfd6cdf5 reparent to flickable if possible 2015-09-02 11:43:27 +02:00
Marco Martin
e688b3d483 remove extra debug output 2015-09-02 10:44:12 +02:00
Marco Martin
60fe4f080c fix package listing
load a package of the proper type before listing
this makes the proper package structures to be loaded
2015-08-28 16:48:54 +02:00
l10n daemon script
98583160cb 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-08-28 10:20:30 +00:00
l10n daemon script
c718ba4b48 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-08-26 10:19:25 +00:00
Leslie Zhai
b52b651bb2 Merge branch 'master' of git.kde.org:plasma-framework 2015-08-26 17:26:39 +08:00
Leslie Zhai
4e9b32d80d plasma: Fix applet actions might be nullptr
BUG:351777
2015-08-26 17:24:29 +08:00
Kai Uwe Broulik
6995193219 Make model param of clicked signal of var type
When using ModelContextMenu with a JS array the "model" param of the clicked
signal is null because QtObject property can only hold QObject but no JS objects.

CHANGELOG: The onClicked signal of PlasmaComponents.ModelContextMenu now works properly
if model is a JS Array of JS objects

REVIEW: 124910
2015-08-26 10:46:43 +02:00
Kai Uwe Broulik
25748ca575 Support sections in ModelContextMenu
CHANGELOG: PlasmaComponents ModelContextMenu can now create Menu sections

REVIEW: 124909
2015-08-24 23:14:31 +02:00
Ragnar Thomsen
cc885eb652 Port platformstatus kded plugin to json metadata...
and disable installation of desktop file.
2015-08-21 23:46:30 +02:00
David Edmundson
7061235418 Handle an invalid metadata in PluginLoader
REVIEW: 124823
2015-08-20 16:10:03 +01:00
Leszek Lesner
a7b438ece4 Documentation for PlasmaComponents Menu
Add documentation for declarative menu (PlasmaComponents.Menu)

Change-Id: I66363f43433dedd5f19723e3de4b680eb3e40527
REVIEW: 124727
2015-08-13 13:44:52 +01:00