Commit Graph

15922 Commits

Author SHA1 Message Date
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
l10n daemon script
e002589da1 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"
2020-11-02 06:13:45 +01:00
Yunhe Guo
dbbc0429a8 Unify aspect ratio of 32px and 22px battery icons 2020-11-01 11:35:15 +00:00
l10n daemon script
7134b09e00 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"
2020-11-01 06:27:47 +01:00
David Faure
e6fb3c7a87 Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation
They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path.

NO_CHANGELOG
2020-10-31 14:29:35 +01:00
Kai Uwe Broulik
0fc98e5141 [ContainmentInterface] Remove unused include
ConfigPropertyMap is only used from AppletInterface, which this inherits
2020-10-29 22:33:22 +01:00
Noah Davis
b3ee36cfbb Add margin hints to toolbar.svg and refactor PC3 ToolBar
There's no need to redefine contentWidth and contentHeight. For controls based on QQC2 Pane, content size is implicit size if not 0, else the implicit size of the top level child item if there is only one.
2020-10-29 15:18:20 +00:00
Noah Davis
13b0bb8364 Add AbstractButton and Pane to PC3
These 2 don't contain much, but they should be a good base for making custom controls in plasmoids and plasmashell (where that makes sense)
2020-10-29 15:18:20 +00:00
Marco Martin
4ceb47765f support exclusive action groups in the contextual actions 2020-10-29 15:14:20 +00:00
Fabian Vogt
d578c2a154 Fix BusyIndicator rotating even when invisible, again
After "BusyIndicator: Do not rotate when invisible", plasmashell started
consuming 100% CPU due to plasma-nm's icon having an invisible BusyIndicator.
Adding the "visible" property back into the equation avoids this.

Third time's the charm?
2020-10-24 15:56:11 +02:00
Devin Lin
a868053128 Fix colours not applying to mobile task switcher icon 2020-10-24 03:29:44 +00:00