QLDialog Class
#include <QLayers/qldialog.h>
Inherits: | QDialog, QLThemeableBox |
Inherited By: | QLColorDialog, QLFillDialog, QLGradientDialog, QLThemeCreatorDialog, QLThemeCompatibilityCautionDialog, QLUpdateDialog |
Protected Functions
virtual bool | nativeEvent(const QByteArray& eventType, void* message, qintptr* result) override |
virtual void | paintEvent(QPaintEvent* event) override |
Detailed Description
A QLDialog is a QDialog and a QLThemeableBox that is used for short-term tasks or brief communications with the user.
Member Function Documentation
Constructs a dialog labeled with title.
void set_icon(const QLGraphic& icon)
Sets the dialog's icon.
void setLayout(QLayout* layout)
Sets the layout of the dialog.
void update()
Virtual
Override
Updates the dialog.
This function overrides QLThemeable::update() to update the margins of the dialog layout content.