QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Functions
QET::QetMessageBox Namespace Reference

Functions

QMessageBox::StandardButton critical (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
 
QMessageBox::StandardButton information (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
 
QMessageBox::StandardButton question (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
 
QMessageBox::StandardButton warning (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton)
 

Detailed Description

This namespace defines static methods behaving in a very similar way to some static methods from the QMessageBox Qt class. The behavior is expected to be the same under X11 and Windows. However, under MacOS, when a parent widget is provided, these methodes ensure the dialog box is "window modal" and has the Qt:Sheet flag, thus enabling a better MacOS integration.

Function Documentation

◆ critical()

QMessageBox::StandardButton QET::QetMessageBox::critical ( QWidget *  parent,
const QString &  title,
const QString &  text,
QMessageBox::StandardButtons  buttons = QMessageBox::Ok,
QMessageBox::StandardButton  defaultButton = QMessageBox::NoButton 
)
See also
Documentation Qt pour QMessageBox::critical
Here is the caller graph for this function:

◆ information()

QMessageBox::StandardButton QET::QetMessageBox::information ( QWidget *  parent,
const QString &  title,
const QString &  text,
QMessageBox::StandardButtons  buttons = QMessageBox::Ok,
QMessageBox::StandardButton  defaultButton = QMessageBox::NoButton 
)
See also
Documentation Qt pour QMessageBox::information

◆ question()

QMessageBox::StandardButton QET::QetMessageBox::question ( QWidget *  parent,
const QString &  title,
const QString &  text,
QMessageBox::StandardButtons  buttons = QMessageBox::Ok,
QMessageBox::StandardButton  defaultButton = QMessageBox::NoButton 
)
See also
Documentation Qt pour QMessageBox::question
Here is the caller graph for this function:

◆ warning()

QMessageBox::StandardButton QET::QetMessageBox::warning ( QWidget *  parent,
const QString &  title,
const QString &  text,
QMessageBox::StandardButtons  buttons = QMessageBox::Ok,
QMessageBox::StandardButton  defaultButton = QMessageBox::NoButton 
)
See also
Documentation Qt pour QMessageBox::warning
Here is the caller graph for this function: