Give context though i18nc for the use of "uninstallable" so that it won't be misinterpreted as "not installable" by translators, as has happened in some cases (e.g. sv & zh_TW).
A new instance WidgetExplorer is created everytime we open get new
applets window. Each and every instance of WidgetExplorer has its own
newStuffDialog. This means that downloadWidgets method will always
create new instance of QtQuickDialogWrapper due to the default value of
newStuffDialog is null.
Change newStuffDialog to static so that it will be shared to every
instances of WidgetExplorer. This prevents another get new applets
window to be opened.
BUG: 412765
The QWidgets components are about to be deprecated
and the QtQuick dialog has a bunch of visual improvements.
Considering that most KCMs already use the QtQuick components
this MR improves the consistency.
See https://invent.kde.org/frameworks/knewstuff/-/merge_requests/80
for the MR which introduced the non-deprecated dialog class.
Currently the applet count is filtered by activity. But for every activity all
applets in all known screens/containments are counted. If a user switches
screens regularly they will see for example that there are 7 instances of the
clock applet even though they have less screens and only one instance in their
current panel(s). This information is not useful to the user because they cannot
interact with the not visible applets in any way.
This icon is identical to the applications-internet icon at the small size used
here sizes, but is more appropriate to use because it is guaranteed to always
be monochrome, unlike applications-internet which is a colorful category icon
and only had small monochrome versions due to a design oversight that's being
corrected in https://phabricator.kde.org/D22733.
Summary:
After D20623, some icons change a bit. This patch keeps the delegate using a trash can
icon, and it's more semantically correct as well to use `edit-delete` over `list-remove`
Test Plan: {F6778140, size=full}
Reviewers: broulik
Reviewed By: broulik
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D20637
We no longer have the ability to install different applet types.
Even if we had, we could just use a lambda nowadays.
Differential Revision: https://phabricator.kde.org/D4591
setting the application name and the provides
resets the model two times in a short time, so don't
reset on startup, until componentCompleted arrived
BUG:375105
Summary:
"All Widgets" is a reasonable default state, and semantically not
really a filter.
Reviewers: #plasma, mart, davidedmundson
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D4112
Summary:
PluginLoader has some additional checks for some obscure config options,
such as ExcludeCategories in plasmashellrc.
By doing the applet listing manually widget explorer skipped that.
Test Plan: Checked widget explorer still listed everything
Reviewers: #plasma, mart
Reviewed By: mart
Subscribers: mart, apol, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2877
This is better/simpler code, but doesn't fix that Plasma::Applet::loadPlasmoid()
instanciates applets but doesn't run scripts - which is difficult to achieve
because the scripting environment is designed around knowledge of a containment.
Perhaps scripts execution should be moved from ShellCorona to Applet and happen
the first time an applet is parented to a containment.
CCMAIL:notmart@gmail.com
It is not meant to be shown in widget explorer. It is not being shown
when english language is used because
i18n("Containments") == "Containments"
but in other languages for example x-test
i18n("Containments") == "xxContainmentsxx" and hence this condition
doesn't pass and it shows up in UI