Skip to main content

class Dialog

Source

Modal content with a backdrop, focus containment and focus restoration.

Inherits from QDialog

Members​

protected QFrame * panel_
protected QVBoxLayout * panelLayout_
protected int contentWidth_
protected int duration_
protected double amount_

Functions​

done​

public void done(int result)

setDismissOnOutsideClick​

public void setDismissOnOutsideClick(bool enabled)

Source

content​

public QVBoxLayout & content()

Source

Dialog​

public Dialog(QWidget * parent)
public QHBoxLayout & footer()

Source

animationOffset​

protected QPoint animationOffset()

Source

setTitle​

public void setTitle(const QString & title)

setDescription​

public void setDescription(const QString & description)

setCloseButtonVisible​

public void setCloseButtonVisible(bool visible)

setContentWidth​

public void setContentWidth(int width)

open​

public void open()

panel​

public QWidget & panel()

Source

showEvent​

protected void showEvent(QShowEvent * )

hideEvent​

protected void hideEvent(QHideEvent * )

resizeEvent​

protected void resizeEvent(QResizeEvent * )

paintEvent​

protected void paintEvent(QPaintEvent * )

mousePressEvent​

protected void mousePressEvent(QMouseEvent * )

changeEvent​

protected void changeEvent(QEvent * )

eventFilter​

protected bool eventFilter(QObject * , QEvent * )

panelGeometry​

protected QRect panelGeometry()

arrangePanel​

protected void arrangePanel()

refreshTheme​

protected void refreshTheme()

transition​

protected void transition(double target)