kdk::KDialog(3)

NAME
kdk::KDialog - 继承自 QDialog，支持响应式主题背景切换和图标主题切换、 标题颜色响应窗口激活状态

SYNOPSIS

#include <kdialog.h>

Inherits QDialog, and ThemeController.

Inherited by kdk::KAboutDialog, kdk::KInputDialog, kdk::KMessageBox, kdk::KProgressDialog, kdk::KSecurityQuestionDialog, and kdk::KUninstallDialog.

  Public Member Functions
KDialog (QWidget *parent=nullptr)
void setWindowIcon (const QIcon &icon)
设置对话框图标
void setWindowIcon (const QString &iconName)
设置对话框图标
void setWindowTitle (const QString &)
设置对话框标题名称
QPushButton * maximumButton ()
获取最大化按钮
QPushButton * minimumButton ()
获取最小化按钮
QPushButton * closeButton ()
获取关闭按钮
KMenuButton * menuButton ()
获取下拉菜单按钮
QWidget * mainWidget ()
获取主内容区Widget
KWindowButtonBar * windowButtonBar ()
windowButtonBar
KIconBar * iconBar ()
iconBar

  Protected Member Functions
bool eventFilter (QObject *target, QEvent *event) override
void changeTheme ()
void changeIconStyle ()
QBoxLayout * mainLayout ()

Detailed Description

继承自 QDialog，支持响应式主题背景切换和图标主题切换、 标题颜色响应窗口激活状态

Since
    1.0.0

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.