SUIT_MessageBox::StandardButton SUIT_MessageBox::critical( QWidget* parent, const QString& title, const QString& text,
StandardButtons buttons, StandardButton defaultButton )
{
+ SUIT_OverrideCursor cw( parent ? parent->cursor() : Qt::ArrowCursor );
return QMessageBox::critical( parent, title, text, buttons, defaultButton );
}
SUIT_MessageBox::StandardButton SUIT_MessageBox::warning( QWidget* parent, const QString& title, const QString& text,
SUIT_MessageBox::StandardButtons buttons, StandardButton defaultButton )
{
+ SUIT_OverrideCursor cw( parent ? parent->cursor() : Qt::ArrowCursor );
return QMessageBox::warning( parent, title, text, buttons, defaultButton );
}
SUIT_MessageBox::StandardButton SUIT_MessageBox::information( QWidget* parent, const QString& title, const QString& text,
StandardButtons buttons, StandardButton defaultButton )
{
+ SUIT_OverrideCursor cw( parent ? parent->cursor() : Qt::ArrowCursor );
return QMessageBox::information( parent, title, text, buttons, defaultButton );
}
SUIT_MessageBox::StandardButton SUIT_MessageBox::question( QWidget* parent, const QString& title, const QString& text,
StandardButtons buttons, StandardButton defaultButton )
{
- return QMessageBox::question( parent, title, text,buttons, defaultButton );
+ SUIT_OverrideCursor cw( parent ? parent->cursor() : Qt::ArrowCursor );
+ return QMessageBox::question( parent, title, text, buttons, defaultButton );
}
/*!