#include <kis_node_progress_proxy.h>
This class implements KoProgressProxy and allows node to report progress.
Definition at line 13 of file kis_node_progress_proxy.cpp.
◆ KisNodeProgressProxy()
| KisNodeProgressProxy::KisNodeProgressProxy |
( |
KisNode * | _node | ) |
|
|
explicitprivate |
Create a proxy to report progress when processing, this proxy is associated with a node, it will report progress in the node progress bar. This proxy will be deleted when _node is deleted.
Definition at line 42 of file kis_node_progress_proxy.cpp.
References d.
◆ ~KisNodeProgressProxy()
| KisNodeProgressProxy::~KisNodeProgressProxy |
( |
| ) |
|
|
overrideprivate |
◆ computePercentage()
| bool KisNodeProgressProxy::computePercentage |
( |
| ) |
|
|
inline |
◆ maximum()
| int KisNodeProgressProxy::maximum |
( |
| ) |
const |
|
overridevirtual |
◆ percentage()
| int KisNodeProgressProxy::percentage |
( |
| ) |
const |
- Returns
- the current percentage (return -1 if no progress)
◆ percentageChanged
| void KisNodeProgressProxy::percentageChanged |
( |
int | _percentage, |
|
|
const KisNodeSP & | _node ) |
|
signal |
Emitted when the percentage of the proxy is changed.
- Parameters
-
◆ prepareDestroying()
| void KisNodeProgressProxy::prepareDestroying |
( |
| ) |
|
|
private |
To be called when the node is and will be no longer available and this object is going to be deleted as well.
Definition at line 53 of file kis_node_progress_proxy.cpp.
References d.
◆ Private()
| KisNodeProgressProxy::Private |
( |
| ) |
|
|
inline |
◆ setFormat()
| void KisNodeProgressProxy::setFormat |
( |
const QString & | format | ) |
|
|
overridevirtual |
◆ setRange()
| void KisNodeProgressProxy::setRange |
( |
int | minimum, |
|
|
int | maximum ) |
|
overridevirtual |
◆ setValue()
| void KisNodeProgressProxy::setValue |
( |
int | value | ) |
|
|
overridevirtual |
◆ KisNode
| Private* const KisNodeProgressProxy::d |
|
private |
◆ maximum
| int KisNodeProgressProxy::maximum |
◆ minimum
| int KisNodeProgressProxy::minimum |
◆ node
◆ percentage
| int KisNodeProgressProxy::percentage |
◆ value
| int KisNodeProgressProxy::value |
The documentation for this class was generated from the following files: