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
)