Commit Graph

15882 Commits

Author SHA1 Message Date
Nate Graham
c5fa23f858 [textfield] Fix clear button overlapping text
This change mirrors what the Kirigami ActionTextField does to solve the
same problem.

BUG: 429187
FIXED-IN: 5.77
2020-11-24 17:01:31 +00:00
David Redondo
3ce989221e Show drop menu at correct global position
The coordinates we get are relative to the containment.
Before when dragging a file to a second screen it would show the menu
on the first screen.
2020-11-24 12:12:00 +00:00
Niccolò Venerandi
f341abadd7 Remove slim- 2020-11-23 18:03:53 +01:00
Carina Odenbreit
eaf585bc01 Use gzip -n to prevent embedded buildtimes 2020-11-23 12:18:16 +00:00
Nicolas Fella
007eacca5b Use KPluginMetaData to list containmentActions
Add a new method that uses KPluginMetaData to list the
containmentActions and deprecate the KPLuginInfo-based one
2020-11-23 12:17:26 +00:00
Nicolas Fella
d7f118e589 Port packageStructure loading from KPluginTrader
It will be deprecated.
2020-11-23 12:17:05 +00:00
Nicolas Fella
1a1133006b Use KPluginMetaData to list DataEngines
Avoid using KPluginInfo and KPluginTrader in favor of KPluginMetaData
and KPluginLoader.

Add new method that uses KPluginMetaData

Deprecate old KPluginInfo-based methods.

See also https://phabricator.kde.org/T13889
2020-11-23 12:16:32 +00:00
Marco Martin
255eb93070 check for parent 2020-11-23 12:44:09 +01:00
Nicolas Fella
750deb933d Remove dead cmake code 2020-11-20 22:50:18 +00:00
Niccolò Venerandi
09ed402eb7 Merge branch 'master' of https://invent.kde.org/frameworks/plasma-framework into work/marginareas 2020-11-20 23:23:52 +01:00
Niccolò Venerandi
b4d81f90bf Actually add highlight svg 2020-11-20 22:07:48 +01:00
Mikel Johnson
3b11e75462 Revert "[Dialog] Make BackgroundHints a flag and add DiscardBackgroundMargins"
This reverts commit 4079eaae0e
2020-11-20 15:21:23 +00:00
Mikel Johnson
d56ca431c2 Revert "[Dialog] Don't apply margins with DiscardBackgroundMargins instead of reverse"
This reverts commit 4f80d91ceb
2020-11-20 15:21:06 +00:00
Mikel Johnson
717e2ab7b0 Revert "[Dialog] Evaluate margins when BackgroundHints change"
This reverts commit 1367c5d3f6
2020-11-20 15:20:36 +00:00
Mikel Johnson
c387bddf17 Remove FullRepresentationFillArea for now
This needs further discussion
2020-11-20 15:18:24 +00:00
Mikel Johnson
5cbdc03197 [PlasmaCore] Make ConstraintHint a flag and add FullRepresentationFillArea 2020-11-20 17:05:57 +03:00
Mikel Johnson
f8ae743c2f Revert "[IconItem] Add selected property"
This reverts commit 9c8cf7078e
2020-11-20 13:26:54 +00:00
David Redondo
624fc88f7a BasicPlasmoidHeading: Use i18nd
GIT_SILENT
2020-11-20 08:57:12 +01:00
Niccolò Venerandi
93ef1a4d4a Fix the documentation of ConstraintHints 2020-11-19 18:49:25 +00:00
Mikel Johnson
1367c5d3f6 [Dialog] Evaluate margins when BackgroundHints change 2020-11-19 18:45:27 +00:00
Niccolò Venerandi
99ab350d6c Merge branch 'master' of https://invent.kde.org/frameworks/plasma-framework into work/marginareas 2020-11-19 18:52:44 +01:00
Mikel Johnson
4f80d91ceb [Dialog] Don't apply margins with DiscardBackgroundMargins instead of reverse 2020-11-19 17:31:51 +00:00
Niccolò Venerandi
f3a7b2d26f Merge branch 'master' of https://invent.kde.org/frameworks/plasma-framework into work/marginareas 2020-11-19 18:17:05 +01:00
Mikel Johnson
ecb1820357 [TabBar] Add highlight on keyboard focus 2020-11-19 17:07:30 +00:00
Mikel Johnson
9c8cf7078e [IconItem] Add selected property 2020-11-19 17:07:30 +00:00
Mikel Johnson
d6656a545a [FrameSvg*] Expose shadows margins 2020-11-19 17:06:51 +00:00
Mikel Johnson
4079eaae0e [Dialog] Make BackgroundHints a flag and add DiscardBackgroundMargins 2020-11-19 16:23:00 +03:00
Niccolò Venerandi
3c92764b62 Merge branch 'master' of https://invent.kde.org/frameworks/plasma-framework into work/marginareas 2020-11-18 23:03:56 +01:00
Niccolò Venerandi
bca1d4a7b3 Make MarginAreasSeparator value more clear 2020-11-18 18:21:06 +00:00
Nate Graham
da2cfd7c4a Add monochrome tray icon for Kup 2020-11-17 14:31:13 +00:00
l10n daemon script
390ae72097 GIT_SILENT Upgrade KF5 version to 5.77.0. 2020-11-16 09:31:18 +00:00
Mikel Johnson
9df6f42c60 [TabButton] Align center icon and text when text is beside the icon 2020-11-14 16:40:20 +00:00
Nate Graham
90e92a9c67 [SpinBox] Fix logic error in scroll directionality
Scrolling up was decreasing the value, when the reverse should be true.
2020-11-13 10:45:54 -07:00
Marco Martin
8e0344a979 fix mobile scrollbar in RTL mode 2020-11-12 14:53:37 +01:00
Marco Martin
bf339509e3 fix RTL for sliders
colored area in sliders positioned correctly in RTL mode
2020-11-12 14:30:06 +01:00
Nate Graham
d66afc1fd0 [RoundButton] Fix binding loop in extraSpace property 2020-11-11 10:33:17 -07:00
Noah Davis
7b39642f29 [PC3 ToolBar] Don't disable borders 2020-11-10 20:08:06 +00:00
Noah Davis
fc0a5bbbd5 [toolbar.svg] Increase margin size by 2x
They were half of what they were supposed to be
2020-11-10 20:08:06 +00:00
Noah Davis
6fd1f919c2 [PC3 ToolBar] Use correct svg margin properties for padding 2020-11-10 20:08:06 +00:00
Nicolas Fella
dc7d0f5b85 [pc3/scrollview] Remove pixelAligned
This is severly breaking touch scrolling. The view gets stuck during overshoot and doesn't go back to the target position.
2020-11-10 12:13:34 +01:00
Niccolò Venerandi
c709076d9c Add margin areas 2020-11-09 19:42:36 +00:00
Niccolò Venerandi
346dbea467 Introduce margin area separator constraint 2020-11-09 19:42:36 +00:00
Marco Martin
8b7b4f74c6 Revert "Revert "BasicPlasmoidHeading component""
This reverts commit 3a3b78c146.
2020-11-09 18:35:28 +00:00
Marco Martin
3a3b78c146 Revert "BasicPlasmoidHeading component"
This reverts commit 18ee2d9eed.
2020-11-09 16:10:41 +01:00
l10n daemon script
48c7856718 GIT_SILENT Upgrade ECM and KF5 version requirements for 5.76.0 release. 2020-11-07 11:46:16 +00:00
Marco Martin
18ee2d9eed BasicPlasmoidHeading component
plasmoids can use it as a standard heading with a config button and a
menu with all actions. this heading would be visible only when
plasmoids are not in the systemtray which has an header that replaces it
2020-11-05 16:51:11 +00:00
Nate Graham
e845f3dbcc Always show ExpandableListitem buttons, not just on hover
Hover buttons suffer from discoverability problems and can't be used on
touch, and this component is explicitly trying to be touch-friendly. So
let's make the buttons always be visible, not just on hover.

To avoid the appearance becoming too heavy, the Buttons are turned
into ToolButtons.

BUG: 428624
FIXED-IN: 5.76
2020-11-04 13:32:08 -07:00
Carson Black
b96f23cd3a [PlasmoidHeading]: Set implicit sizing properly
The implicit sizing was set strangely, with implicitHeight not being set, and implicitWidth not following QQC2 conventions. Content height was also being set for some reason.
2020-11-04 12:57:00 -05:00
Dominic Hayes
79cbd1ba74 Lock the header colours of Breeze Dark and Breeze Light
This MR locks the header colours of Breeze Dark and Breeze Light, for
Plasma 5.21/master, to the colours for the titlebars and window colours
that they currently use in 5.20 (from their respective colour schemes),
so that the locked appearance is consistent with how the background of
these Plasma Styles is already locked, as well as fixing an issue with
the header looking wrong on light colour schemes + Breeze Dark and
vice-versa. Breeze itself will still colour just as completely as usual,
though.

BUG: 427864
FIXED-IN: 5.76
2020-11-03 18:30:14 +00:00
Aleix Pol
bc25ad21f0 Fix porting issue
textField does not exist here, it's called control. Also QQC2.TextField
doesn't have length, we need to check the text.
2020-11-03 02:27:39 +01:00