pub struct QtMsgType(/* private fields */);
Expand description
This enum describes the messages that can be sent to a message handler (QtMessageHandler). You can use the enum to identify and associate the various message types with the appropriate actions.
C++ enum: QtMsgType
.
This enum describes the messages that can be sent to a message handler (QtMessageHandler). You can use the enum to identify and associate the various message types with the appropriate actions.
QtInfoMsg
was added in Qt 5.5.
See also QtMessageHandler and qInstallMessageHandler().
Implementations§
source§impl QtMsgType
impl QtMsgType
sourcepub const QtDebugMsg: QtMsgType = _
pub const QtDebugMsg: QtMsgType = _
A message generated by the qDebug() function. (C++ enum variant: QtDebugMsg = 0
)
sourcepub const QtWarningMsg: QtMsgType = _
pub const QtWarningMsg: QtMsgType = _
A message generated by the qWarning() function. (C++ enum variant: QtWarningMsg = 1
)
sourcepub const QtCriticalMsg: QtMsgType = _
pub const QtCriticalMsg: QtMsgType = _
A message generated by the qCritical() function. (C++ enum variant: QtCriticalMsg = 2
)
sourcepub const QtFatalMsg: QtMsgType = _
pub const QtFatalMsg: QtMsgType = _
A message generated by the qFatal() function. (C++ enum variant: QtFatalMsg = 3
)
sourcepub const QtInfoMsg: QtMsgType = _
pub const QtInfoMsg: QtMsgType = _
A message generated by the qInfo() function. (C++ enum variant: QtInfoMsg = 4
)
sourcepub const QtSystemMsg: QtMsgType = _
pub const QtSystemMsg: QtMsgType = _
(C++ enum variant: QtSystemMsg = 2
)