KColorSchemeMenu Namespace

A menu for switching color schemes. More...

Header: #include <KColorSchemeMenu>
CMake: find_package(KF6 REQUIRED COMPONENTS ConfigWidgets)
target_link_libraries(mytarget PRIVATE KF6::ConfigWidgets)

Functions

KActionMenu *createMenu(KColorSchemeManager *manager, QObject *parent = nullptr)

Detailed Description

Function Documentation

KActionMenu *KColorSchemeMenu::createMenu(KColorSchemeManager *manager, QObject *parent = nullptr)

Creates a KActionMenu populated with all the available color schemes. All actions are in an action group and when one of the actions is triggered the scheme referenced by this action is activated.