-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.3
-
None
When built with CUPS support, the QPrintDialog offer a special "Pages:" line edit, that is used to implement server side page filtering.
This is a handy feature but in our scenario (a help viewer based on PDF files) it gets a little annoying when the user want, e.g., to print a single page of the manual that consist of more than 2000 pages: The help viewer is instructed by the return values of QPrintDialog to print the whole document which is then transferred to the CUPS server which then discards all the pages but a single one. The user sees a progress bar of all the pages processed and is confused.
A simple workaround would be to add another QAbstractPrintDialog::PrintDialogOption, e.g. PrintPages, that could be used to hide the "Pages:" line edit completely.
A more elaborated enhancement could enable the user to decide whether to handle the "Pages:" line edit contents on his own or have it sent to the CUPS server - in the first case a method would be needed for access to the line edit contents and another return value for QAbstractPrintDialog::PrintRange, like Pages.