RMessageHandler
Class in Core Module
Header: #include <src/core/RMessageHandler.h>
Inherited by: RMainWindow
Description
Section titled “Description”All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
Interface for classes that can handle user messages, warnings and errors.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”| virtual | ~RMessageHandler() |
| virtual void | handleUserCommand(const QString &message, bool escape=true)=0 = 0 |
| virtual void | handleUserInfo(const QString &message, bool escape=true)=0 = 0 |
| virtual void | handleUserMessage(const QString &message, bool escape=true)=0 = 0 |
| virtual void | handleUserWarning(const QString &message, bool messageBox=false, bool escape=true)=0 = 0 |
Member Documentation
Section titled “Member Documentation”~RMessageHandler
Section titled “~RMessageHandler”virtual RMessageHandler::~RMessageHandler()virtual inline
handleUserCommand
Section titled “handleUserCommand”virtual void RMessageHandler::handleUserCommand(const QString &message, bool escape=true)=0 = 0pure virtual
Reimplemented in handleUserCommand, handleUserCommand.
handleUserInfo
Section titled “handleUserInfo”virtual void RMessageHandler::handleUserInfo(const QString &message, bool escape=true)=0 = 0pure virtual
Reimplemented in handleUserInfo, handleUserInfo.
handleUserMessage
Section titled “handleUserMessage”virtual void RMessageHandler::handleUserMessage(const QString &message, bool escape=true)=0 = 0pure virtual
Reimplemented in handleUserMessage, handleUserMessage.
handleUserWarning
Section titled “handleUserWarning”virtual void RMessageHandler::handleUserWarning(const QString &message, bool messageBox=false, bool escape=true)=0 = 0pure virtual
Reimplemented in handleUserWarning, handleUserWarning.