Go to file
zhouganqing 92b66a3f65 update package info 2023-09-06 10:22:42 +08:00
LICENSES Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
autotests Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
debian update package info 2023-09-06 10:22:42 +08:00
docs Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
po Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
src Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
tests Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
.git-blame-ignore-revs Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
.gitignore Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
.gitlab-ci.yml Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
.kde-ci.yml Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
CMakeLists.txt Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
KF5XmlGuiConfig.cmake.in Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
README.md Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
TODO.xmlgui Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
make_kdepackages_updated.py Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00
metainfo.yaml Import Upstream version 5.92.0 2022-05-18 18:08:21 +08:00

README.md

KXMLGUI

Framework for managing menu and toolbar actions

Introduction

KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way. The actions are configured through a XML description and hooks in the application code. The framework supports merging of multiple description for example for integrating actions from plugins.

Kiosk

KXMLGui makes use of the Kiosk authorization functionality of KConfig (see the KAuthorized namespace in that framework). Notably, QAction instances added to a KActionCollection are disabled if KAuthorized::authorizeAction() reports that they are not authorized. The items on the standard help menu (KHelpMenu) can likewise be disabled based on Kiosk settings, and toolbar editing can be restricted.

See KActionCollection, KHelpMenu and KToolBar documentation for more information.