RProgressHandler
Class in Core Module
Header: #include <src/core/RProgressHandler.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 progress status.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”RProgressHandler() |
|
| virtual | ~RProgressHandler() |
| virtual void | setProgress(int value)=0 = 0 |
| virtual void | setProgressEnabled(bool on) |
| virtual void | setProgressEnd()=0 = 0 |
| virtual void | setProgressText(const QString &text=“”)=0 = 0 |
Protected Attributes
Section titled “Protected Attributes”| bool | progressEnabled |
Member Documentation
Section titled “Member Documentation”RProgressHandler
Section titled “RProgressHandler”RProgressHandler::RProgressHandler()inline
~RProgressHandler
Section titled “~RProgressHandler”virtual RProgressHandler::~RProgressHandler()virtual inline
setProgress
Section titled “setProgress”virtual void RProgressHandler::setProgress(int value)=0 = 0pure virtual
Reimplemented in setProgress.
setProgressEnabled
Section titled “setProgressEnabled”virtual void RProgressHandler::setProgressEnabled(bool on)virtual inline
setProgressEnd
Section titled “setProgressEnd”virtual void RProgressHandler::setProgressEnd()=0 = 0pure virtual
Reimplemented in setProgressEnd.
setProgressText
Section titled “setProgressText”virtual void RProgressHandler::setProgressText(const QString &text="")=0 = 0pure virtual
Reimplemented in setProgressText.
progressEnabled
Section titled “progressEnabled”bool RProgressHandler::progressEnabledprotected