QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RProgressHandler Class Referenceabstract

Copyright (c) 2011-2018 by Andrew Mustun. More...

#include <RProgressHandler.h>

Inheritance diagram for RProgressHandler:
RMainWindow RMainWindowQt

Public Member Functions

 RProgressHandler ()
 
virtual void setProgress (int value)=0
 
virtual void setProgressEnabled (bool on)
 
virtual void setProgressEnd ()=0
 
virtual void setProgressText (const QString &text="")=0
 
virtual ~RProgressHandler ()
 

Protected Attributes

bool progressEnabled
 

Detailed Description

Copyright (c) 2011-2018 by Andrew Mustun.

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:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ RProgressHandler()

RProgressHandler::RProgressHandler ( )
inline

◆ ~RProgressHandler()

virtual RProgressHandler::~RProgressHandler ( )
inlinevirtual

Member Function Documentation

◆ setProgress()

virtual void RProgressHandler::setProgress ( int value)
pure virtual

Implemented in RMainWindowQt.

◆ setProgressEnabled()

virtual void RProgressHandler::setProgressEnabled ( bool on)
inlinevirtual

◆ setProgressEnd()

virtual void RProgressHandler::setProgressEnd ( )
pure virtual

Implemented in RMainWindowQt.

◆ setProgressText()

virtual void RProgressHandler::setProgressText ( const QString & text = "")
pure virtual

Implemented in RMainWindowQt.

Member Data Documentation

◆ progressEnabled

bool RProgressHandler::progressEnabled
protected

The documentation for this class was generated from the following file: