class Dialog
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)
content
public QVBoxLayout & content()
Dialog
public Dialog(QWidget * parent)
footer
public QHBoxLayout & footer()
animationOffset
protected QPoint animationOffset()
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()
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)