Pages
API Documentation
On this page

KAboutApplicationDialog Class

Standard "About Application" dialog box. More...

  • Header: #include <KAboutApplicationDialog>
  • CMake: find_package(KF6 REQUIRED COMPONENTS XmlGui)
    target_link_libraries(mytarget PRIVATE KF6::XmlGui)
  • Inherits: QDialog

List of all members, including inherited members

Public Types

Public Functions

Detailed Description

This class provides the standard "About Application" dialog box that is used by KHelpMenu. It uses the information of the global KAboutData that is specified at the start of your program in main(). Normally you should not use this class directly but rather the KHelpMenu class or even better just subclass your toplevel window from KMainWindow. If you do the latter, the help menu and thereby this dialog box is available through the KMainWindow::helpMenu() function.

Member Type Documentation

enum KAboutApplicationDialog::Option

flags KAboutApplicationDialog::Options

Defines some options that can be applied to the about dialog.

Constant Value Description
KAboutApplicationDialog::NoOptions 0x0 Shows the standard about dialog.
KAboutApplicationDialog::HideTranslators 0x1 Hides the translators tab.
KAboutApplicationDialog::HideLibraries 0x2 Since 5.77, hides the libraries tab. Since 5.87, hides the components tab (which replaces the libraries tab).

The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.

Member Function Documentation

[explicit] KAboutApplicationDialog::KAboutApplicationDialog(const KAboutData &aboutData, QWidget *parent = nullptr)

Constructs a fully featured "About Application" dialog box using existing aboutData.

You should set the toplevel window as the parent so that the dialog becomes centered.

[explicit] KAboutApplicationDialog::KAboutApplicationDialog(const KAboutData &aboutData, KAboutApplicationDialog::Options opts, QWidget *parent = nullptr)

Constructs a fully featured "About Application" dialog box using existing aboutData and the specified opts.

You should set the toplevel window as the parent so that the dialog becomes centered.

See also Options

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