Свойства

StandardButtondefaultButton READ
stringdetailedText READ / WRITE
Iconicon READ / WRITE
stringinformativeText READ / WRITE
boolmodal READ / WRITE
StandardButtonstandardButtons READ
stringtext READ / WRITE

Методы

voidaddButton ( string text, ButtonRole role )
voidaddButton ( StandardButton button )
intcritical ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )
intcritical ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )
stringdetailedText ( )
Iconicon ( )
intinformation ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )
intinformation ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )
stringinformativeText ( )
boolisModal ( )
intquestion ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )
intquestion ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )
voidsetDefaultButton ( StandardButton button )
voidsetStandardButtons ( StandartButton button )
stringtext ( )
intwarning ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )
intwarning ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )

Слоты

voidexec ( )
voidsetDetailedText ( string text )
voidsetIcon ( Icon icon )
voidsetInformativeText ( string text )
voidsetModal ( bool modal )
voidsetText ( string text )

Описание методов

void QMessageBox::addButton ( string text, ButtonRole role )  

void QMessageBox::addButton ( StandardButton button )  

int QMessageBox::critical ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )  

int QMessageBox::critical ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )  

string QMessageBox::detailedText ( )  

Icon QMessageBox::icon ( )  

int QMessageBox::information ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )  

int QMessageBox::information ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )  

string QMessageBox::informativeText ( )  

bool QMessageBox::isModal ( )  

int QMessageBox::question ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )  

int QMessageBox::question ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )  

void QMessageBox::setDefaultButton ( StandardButton button )  

void QMessageBox::setStandardButtons ( StandartButton button )  

string QMessageBox::text ( )  

int QMessageBox::warning ( QWidget parent, string title, string text, StandardButton button0, StandardButton button1 = NULL, StandardButton button2 = NULL )  

int QMessageBox::warning ( QWidget parent, string title, string text, string button0Text, string button1Text = NULL, string button2Text = NULL )  

Описание слотов

void QMessageBox::exec ( )  

void QMessageBox::setDetailedText ( string text )  

void QMessageBox::setIcon ( Icon icon )  

Устанавливает иконку из стандартного набора по её индексу.

void QMessageBox::setInformativeText ( string text )  

void QMessageBox::setModal ( bool modal )  

void QMessageBox::setText ( string text )  

comments powered by HyperComments