25    Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
 
   26    Q_PROPERTY(QString message READ message WRITE setMessage NOTIFY messageChanged)
 
   27    Q_PROPERTY(QIcon icon READ icon WRITE setIcon)
 
   28    Q_PROPERTY(Qt::TextFormat textFormat READ textFormat WRITE setTextFormat NOTIFY textFormatChanged)
 
   29    Q_PROPERTY(
bool onButtonClickedClose READ onButtonClickedClose WRITE setOnButtonClickedClose)
 
   30    Q_PROPERTY(
bool closeButtonVisible READ closeButtonVisible WRITE setCloseButtonVisible)
 
   39    explicit DDialog(QWidget *parent = 
nullptr);
 
   40    explicit DDialog(
const QString &title, 
const QString& message, QWidget *parent = 0);
 
   42    int getButtonIndexByText(
const QString &text) 
const;
 
   43    int buttonCount() 
const;
 
   44    int contentCount() 
const;
 
   45    QList<QAbstractButton*> getButtons() 
const;
 
   46    QList<QWidget*> getContents() 
const;
 
   47    QAbstractButton* getButton(
int index) 
const;
 
   48    QWidget* getContent(
int index) 
const;
 
   49    QString title() 
const;
 
   50    QString message() 
const;
 
   52#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0) 
   53    D_DECL_DEPRECATED QPixmap iconPixmap() 
const;
 
   55    Qt::TextFormat textFormat() 
const;
 
   56    bool onButtonClickedClose() 
const;
 
   58    void setContentLayoutContentsMargins(
const QMargins &margins);
 
   59    QMargins contentLayoutContentsMargins() 
const;
 
   61    bool closeButtonVisible() 
const;
 
   66    void buttonClicked(
int index, 
const QString &text);
 
   67    void titleChanged(QString title);
 
   68    void messageChanged(QString massage);
 
   69    void textFormatChanged(Qt::TextFormat textFormat);
 
   70    void sizeChanged(QSize size);
 
   71    void visibleChanged(
bool visible);
 
   74    int addButton(
const QString &text, 
bool isDefault = 
false, ButtonType type = ButtonNormal);
 
   75    int addButtons(
const QStringList &text);
 
   76    void insertButton(
int index, 
const QString &text, 
bool isDefault = 
false, ButtonType type = ButtonNormal);
 
   77    void insertButton(
int index, QAbstractButton* button, 
bool isDefault = 
false);
 
   78    void insertButtons(
int index, 
const QStringList &text);
 
   79    void removeButton(
int index);
 
   80    void removeButton(QAbstractButton *button);
 
   81    void removeButtonByText(
const QString &text);
 
   83    bool setDefaultButton(
int index);
 
   84    bool setDefaultButton(
const QString &str);
 
   85    void setDefaultButton(QAbstractButton *button);
 
   86    void addContent(QWidget *widget, Qt::Alignment alignment = {});
 
   87    void insertContent(
int index, QWidget *widget, Qt::Alignment alignment = {});
 
   88    void removeContent(QWidget *widget, 
bool isDelete = 
true);
 
   89    void clearContents(
bool isDelete = 
true);
 
   90    void setSpacing(
int spacing);
 
   91    void addSpacing(
int spacing);
 
   92    void insertSpacing(
int index, 
int spacing);
 
   94    void setButtonText(
int index, 
const QString &text);
 
   95    void setButtonIcon(
int index, 
const QIcon &icon);
 
   96    void setTitle(
const QString &title);
 
   97    void setWordWrapTitle(
bool wordWrap);
 
   98    void setMessage(
const QString& message);
 
   99    void setWordWrapMessage(
bool wordWrap);
 
  100    void setIcon(
const QIcon &icon);
 
  101#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0) 
  102    D_DECL_DEPRECATED 
void setIcon(
const QIcon &icon, 
const QSize &expectedSize);
 
  103    D_DECL_DEPRECATED 
void setIconPixmap(
const QPixmap &iconPixmap);
 
  105    void setTextFormat(Qt::TextFormat textFormat);
 
  106    void setOnButtonClickedClose(
bool onButtonClickedClose);
 
  107    void setCloseButtonVisible(
bool closeButtonVisible);
 
  109    int exec() Q_DECL_OVERRIDE;
 
  112    explicit DDialog(DDialogPrivate &dd, QWidget *parent = 0);
 
  114    void showEvent(QShowEvent *event) Q_DECL_OVERRIDE;
 
  115    void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE;
 
  116    void closeEvent(QCloseEvent *event) override;
 
  117    void childEvent(QChildEvent *event) Q_DECL_OVERRIDE;
 
  118    void resizeEvent(QResizeEvent *event) override;
 
  119    void keyPressEvent(QKeyEvent *event) override;
 
  120    bool eventFilter(QObject *watched, QEvent *event) override;
 
  121    void changeEvent(QEvent *event) override;
 
  124    D_DECLARE_PRIVATE(DDialog)
 
  126    Q_PRIVATE_SLOT(d_func(), 
void _q_onButtonClicked())