QMessageBox

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QMessageBox : QDialog {}

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this(Icon icon, const(QString) title, const(QString) text, StandardButtons buttons, QWidget parent, qt.core.namespace.WindowFlags flags)
Undocumented in source.
this
this(const(QString) title, const(QString) text, Icon icon, int button0, int button1, int button2, QWidget parent, qt.core.namespace.WindowFlags f)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

Button
alias Button = StandardButton
Undocumented in source.
StandardButtons
alias StandardButtons = QFlags!(StandardButton)
Undocumented in source.

Enums

ButtonRole
enum ButtonRole
Undocumented in source.
Icon
enum Icon
Undocumented in source.
StandardButton
enum StandardButton
Undocumented in source.

Functions

addButton
void addButton(QAbstractButton button, ButtonRole role)
Undocumented in source.
addButton
QPushButton addButton(const(QString) text, ButtonRole role)
Undocumented in source.
addButton
QPushButton addButton(StandardButton button)
Undocumented in source.
button
QAbstractButton button(StandardButton which)
Undocumented in source.
buttonClicked
void buttonClicked(QAbstractButton button)
Undocumented in source.
buttonRole
ButtonRole buttonRole(QAbstractButton button)
Undocumented in source.
buttonText
QString buttonText(int button)
Undocumented in source.
buttons
QList!(QAbstractButton) buttons()
Undocumented in source.
changeEvent
void changeEvent(QEvent event)
Undocumented in source.
checkBox
QCheckBox checkBox()
Undocumented in source.
clickedButton
QAbstractButton clickedButton()
Undocumented in source.
closeEvent
void closeEvent(QCloseEvent event)
Undocumented in source.
defaultButton
QPushButton defaultButton()
Undocumented in source.
detailedText
QString detailedText()
Undocumented in source.
escapeButton
QAbstractButton escapeButton()
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
icon
Icon icon()
Undocumented in source.
iconPixmap
QPixmap iconPixmap()
Undocumented in source.
informativeText
QString informativeText()
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent event)
Undocumented in source.
open
void open(QObject receiver, const(char)* member)
Undocumented in source.
removeButton
void removeButton(QAbstractButton button)
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent event)
Undocumented in source.
setButtonText
void setButtonText(int button, const(QString) text)
Undocumented in source.
setCheckBox
void setCheckBox(QCheckBox cb)
Undocumented in source.
setDefaultButton
void setDefaultButton(QPushButton button)
Undocumented in source.
setDefaultButton
void setDefaultButton(StandardButton button)
Undocumented in source.
setDetailedText
void setDetailedText(const(QString) text)
Undocumented in source.
setEscapeButton
void setEscapeButton(QAbstractButton button)
Undocumented in source.
setEscapeButton
void setEscapeButton(StandardButton button)
Undocumented in source.
setIcon
void setIcon(Icon )
Undocumented in source.
setIconPixmap
void setIconPixmap(const(QPixmap) pixmap)
Undocumented in source.
setInformativeText
void setInformativeText(const(QString) text)
Undocumented in source.
setStandardButtons
void setStandardButtons(StandardButtons buttons)
Undocumented in source.
setText
void setText(const(QString) text)
Undocumented in source.
setText
void setText(QString s)
Undocumented in source. Be warned that the author may not have intended to support it.
setTextFormat
void setTextFormat(qt.core.namespace.TextFormat format)
Undocumented in source.
setTextInteractionFlags
void setTextInteractionFlags(qt.core.namespace.TextInteractionFlags flags)
Undocumented in source.
showEvent
void showEvent(QShowEvent event)
Undocumented in source.
standardButton
StandardButton standardButton(QAbstractButton button)
Undocumented in source.
standardButtons
StandardButtons standardButtons()
Undocumented in source.
text
QString text()
Undocumented in source.
textFormat
qt.core.namespace.TextFormat textFormat()
Undocumented in source.
textInteractionFlags
qt.core.namespace.TextInteractionFlags textInteractionFlags()
Undocumented in source.

Static functions

about
void about(QWidget parent, const(QString) title, const(QString) text)
Undocumented in source.
aboutQt
void aboutQt(QWidget parent, const(QString) title)
Undocumented in source.
critical
StandardButton critical(QWidget parent, const(QString) title, const(QString) text, StandardButtons buttons, StandardButton defaultButton)
Undocumented in source.
critical
int critical(QWidget parent, const(QString) title, const(QString) text, int button0, int button1, int button2)
Undocumented in source.
critical
int critical(QWidget parent, const(QString) title, const(QString) text, const(QString) button0Text, const(QString) button1Text, const(QString) button2Text, int defaultButtonNumber, int escapeButtonNumber)
Undocumented in source.
critical
int critical(QWidget parent, const(QString) title, const(QString) text, StandardButton button0, StandardButton button1)
Undocumented in source. Be warned that the author may not have intended to support it.
information
StandardButton information(QWidget parent, const(QString) title, const(QString) text, StandardButtons buttons, StandardButton defaultButton)
Undocumented in source.
information
int information(QWidget parent, const(QString) title, const(QString) text, int button0, int button1, int button2)
Undocumented in source.
information
int information(QWidget parent, const(QString) title, const(QString) text, const(QString) button0Text, const(QString) button1Text, const(QString) button2Text, int defaultButtonNumber, int escapeButtonNumber)
Undocumented in source.
information
StandardButton information(QWidget parent, const(QString) title, const(QString) text, StandardButton button0, StandardButton button1)
Undocumented in source. Be warned that the author may not have intended to support it.
question
StandardButton question(QWidget parent, const(QString) title, const(QString) text, StandardButtons buttons, StandardButton defaultButton)
Undocumented in source.
question
int question(QWidget parent, const(QString) title, const(QString) text, int button0, int button1, int button2)
Undocumented in source.
question
int question(QWidget parent, const(QString) title, const(QString) text, const(QString) button0Text, const(QString) button1Text, const(QString) button2Text, int defaultButtonNumber, int escapeButtonNumber)
Undocumented in source.
question
int question(QWidget parent, const(QString) title, const(QString) text, StandardButton button0, StandardButton button1)
Undocumented in source. Be warned that the author may not have intended to support it.
standardIcon
QPixmap standardIcon(Icon icon)
Undocumented in source.
warning
StandardButton warning(QWidget parent, const(QString) title, const(QString) text, StandardButtons buttons, StandardButton defaultButton)
Undocumented in source.
warning
int warning(QWidget parent, const(QString) title, const(QString) text, int button0, int button1, int button2)
Undocumented in source.
warning
int warning(QWidget parent, const(QString) title, const(QString) text, const(QString) button0Text, const(QString) button1Text, const(QString) button2Text, int defaultButtonNumber, int escapeButtonNumber)
Undocumented in source.
warning
int warning(QWidget parent, const(QString) title, const(QString) text, StandardButton button0, StandardButton button1)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From QDialog

~this
~this()
Undocumented in source.
DialogCode
enum DialogCode
Undocumented in source.
result
int result()
Undocumented in source.
setVisible
void setVisible(bool visible)
Undocumented in source.
setOrientation
void setOrientation(qt.core.namespace.Orientation orientation)
Undocumented in source.
orientation
qt.core.namespace.Orientation orientation()
Undocumented in source.
setExtension
void setExtension(QWidget extension)
Undocumented in source.
extension
QWidget extension()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.
minimumSizeHint
QSize minimumSizeHint()
Undocumented in source.
setSizeGripEnabled
void setSizeGripEnabled(bool )
Undocumented in source.
isSizeGripEnabled
bool isSizeGripEnabled()
Undocumented in source.
setModal
void setModal(bool modal)
Undocumented in source.
setResult
void setResult(int r)
Undocumented in source.
finished
void finished(int result)
Undocumented in source.
accepted
void accepted()
Undocumented in source.
rejected
void rejected()
Undocumented in source.
open
void open()
Undocumented in source.
exec
int exec()
Undocumented in source.
done
void done(int )
Undocumented in source.
accept
void accept()
Undocumented in source.
reject
void reject()
Undocumented in source.
showExtension
void showExtension(bool )
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent )
Undocumented in source.
closeEvent
void closeEvent(QCloseEvent )
Undocumented in source.
showEvent
void showEvent(QShowEvent )
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent )
Undocumented in source.
contextMenuEvent
void contextMenuEvent(QContextMenuEvent )
Undocumented in source.
eventFilter
bool eventFilter(QObject , QEvent )
Undocumented in source.
adjustPosition
void adjustPosition(QWidget )
Undocumented in source.

Meta