mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: Add progress updating ability to print dialog
The progress bar shows the progress of both the rendering part and the templating part, unfortunately we can't check the progress of Grantlee templating engine so the progess bar doesn't have a constant pace it stops a little around 20%. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
231f90bd26
commit
a820688aeb
5 changed files with 42 additions and 2 deletions
|
@ -13,6 +13,10 @@ public:
|
|||
|
||||
private:
|
||||
Grantlee::Engine *m_engine;
|
||||
int getTotalWork();
|
||||
|
||||
signals:
|
||||
void progressUpdated(int value);
|
||||
};
|
||||
|
||||
class Dive {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue