File: README.md

package info (click to toggle)
kxmlgui 5.54.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,536 kB
  • sloc: cpp: 18,424; python: 41; sh: 32; makefile: 9
file content (24 lines) | stat: -rw-r--r-- 854 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.