Pages
API Documentation
On this page

KNSWidgets::Dialog Class

This class is a wrapper around the QtQuick QML dialog. This dialog content is loaded QQuickWidget. This class was introduced in Qt 6.0. More...

  • Header: #include <Dialog>
  • Since: Qt 6.0
  • CMake: find_package(KF6 REQUIRED COMPONENTS NewStuff)
    target_link_libraries(mytarget PRIVATE KF6::NewStuff)
  • Inherits: QDialog

List of all members, including inherited members

Public Functions

Detailed Description

It is recommended to reuse an instance of this class if it is expected that the user reopens the dialog. For most usecases, you should use KNSWidgets::Button or KNSWidgets::Action directly.

Member Function Documentation

[explicit] Dialog::Dialog(const QString &configFile, QWidget *parent = nullptr)

Constructs a new Dialog for the given config file and parent widget

QList<KNSCore::Entry> Dialog::changedEntries() const

Entries that were changed while the user interacted with the dialog

KNSCore::EngineBase *Dialog::engine()

Engine that is used by the dialog, might be null if the engine failed to initialize. Returns KNSCore::EngineBase used by the dialog

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