Go to file
Nate Graham 08c5cb671d Hide disabled contextual actions from ExpandableListItem
The concept of a disabled contextual item is nonsensical;
the set of context-sensitive actions is always supposed to be responsive
to the context. Accordingly, if the calling code has marked any actions
as disabled, let's hide them entirely.

We can't remove them from the model because they might become re-enabled
at a time when the calling app sees fit (perhaps the context has
changed). So instead we have to set visible to false and height to 0, to
ensure that the listview has the correct height. This is a hack, but I
don't see a better way to do it.

The memory penalty to having invisible but created items should be
negligible since there are only ever a maximum of about 3 items in here.
2020-12-08 15:47:22 -07:00
autotests Use KPluginMetaData to list containmentActions 2020-11-23 12:17:26 +00:00
cmake plasma-framework: Convert copyright statements to SPDX expressions 2020-08-13 19:08:54 +00:00
docs Documentation fixes: Use more entities 2020-10-10 19:28:38 +00:00
examples SVN_SILENT made messages (.desktop file) - always resolve ours 2020-11-02 06:13:45 +01:00
LICENSES plasma-framework: Convert copyright statements to SPDX expressions 2020-08-13 19:08:54 +00:00
src Hide disabled contextual actions from ExpandableListItem 2020-12-08 15:47:22 -07:00
templates SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-28 05:58:18 +02:00
tests Add missing license headers 2020-09-01 12:53:40 +00:00
.gitignore GIT_SILENT: qtcreator created .cmake/ repo. 2020-02-12 07:18:27 +01:00
CMakeLists.txt GIT_SILENT Upgrade ECM and KF5 version requirements for 5.77.0 release. 2020-12-05 10:17:09 +00:00
ExtraDesktop.sh i18n: translate kdevtemplate for qml-plasmoid too 2016-10-08 14:25:03 +02:00
KF5PlasmaConfig.cmake.in Use ecm_setup_qtplugin_macro_names 2018-03-21 00:55:32 +01:00
KF5PlasmaMacros.cmake Fix build errors if PREFIX is different from ECM's PREFIX. 2020-09-22 10:23:28 +00:00
metainfo.yaml Add FreeBSD to metainfo.yaml. 2016-11-23 20:39:07 +01:00
README.md Add/update first line of README.md to be a short description, useful for inqlude 2015-07-27 19:41:21 +02:00

Plasma Framework

Foundational libraries, components, and tools of the Plasma workspaces

Introduction

The plasma framework provides the following:

  • QML components
  • A C++ library: libplasma
  • Script engines

QML components

org.kde.plasma.core

Bindings for libplasma functionality, such as DataEngine and FrameSvg, see @ref core.

org.kde.plasma.components

Graphical components for common items such as buttons, lineedits, tabbars and so on. Compatible subset of the MeeGo components used on the N9, see @ref plasmacomponents.

org.kde.plasma.extras

Extra graphical components that extend org.kde.plasma.components but are not in the standard api, see @ref plasmaextracomponents.

org.kde.plasma.plasmoid

Attached properties for manipulating the current applet or containment, see @ref libplasmaquick

libplasma

This C++ library provides:

  • rendering of SVG themes
  • loading of files from a certain filesystem structure: packages
  • data access through data engines
  • loading of the plugin structure of the workspace: containments and applets

See @ref libplasma.

Script engines

Provides support to create applets or containments in various scripting languages.