Menu

#32 NewPage Signal

1.0
closed
aliks-os
None
2015-05-21
2015-05-20
Mauro Anjo
No

Hello,

It would be great if QtRPT emitted a signal when creating a new page. In this way we ease progress check for those who print large reports on a separate thread.

A signal like this:

void newPage(int page);

That should be emitted on the function newPage:

void QtRPT::newPage(QPrinter *printer, int &y, bool draw, bool newReportPage) {
...
curPage += 1;
if (draw)
  emit newPage(curPage);
...
}

Regards

Discussion

  • aliks-os

    aliks-os - 2015-05-21

    Thank you, added

     
  • aliks-os

    aliks-os - 2015-05-21
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB