Pages
API Documentation
On this page

KFontSizeAction Class

An action to allow changing of the font size. More...

  • Header: #include <KFontSizeAction>
  • CMake: find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)
    target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons)
  • Inherits: KSelectAction

List of all members, including inherited members

Properties

Public Functions

Public Slots

Signals

Detailed Description

This action will be shown as a combobox on a toolbar with a proper set of font sizes.

Property Documentation

fontSize : int

Access functions:

Member Function Documentation

[explicit] KFontSizeAction::KFontSizeAction(QObject *parent)

KFontSizeAction::KFontSizeAction(const QString &text, QObject *parent)

KFontSizeAction::KFontSizeAction(const QIcon &icon, const QString &text, QObject *parent)

int KFontSizeAction::fontSize() const

Note: Getter function for property fontSize.

See also setFontSize()

[signal] void KFontSizeAction::fontSizeChanged(int)

void KFontSizeAction::setFontSize(int size)

Note: Setter function for property fontSize.

See also fontSize()

[override virtual protected slot] void KFontSizeAction::slotActionTriggered(QAction *action)

Reimplements: KSelectAction::slotActionTriggered(QAction *action).

This function is called whenever an action from the selections is triggered.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.