PdfRangeDialog
-
class PdfRangeDialog : public QDialog
Public Functions
-
explicit PdfRangeDialog(QWidget *parent = nullptr, int numOfPages = INT_MAX, int maxLimit = 100)
This class is responsible for showing the PDF range dialog whose maximum value can be restricted by specifying the maxLimit parameter in the constructor.
- Parameters:
parent –
numOfPages –
maxLimit –
-
~PdfRangeDialog()
Deletes the UI object(s)
-
bool isOkClicked()
Returns true if ok button is clicked and false otherwise.
- Returns:
bool okClicked
-
int getStartPage() const
It returns the start page from which the PDF should be printed.
It returns the end page to which the PDF should be printed.
- Returns:
int startPage
-
bool on_checkBox_clicked()
PdfRangeDialog::on_checkBox_clicked.
Checks whether the user wants to print the empty pages in pdf or not.
- Returns:
-
explicit PdfRangeDialog(QWidget *parent = nullptr, int numOfPages = INT_MAX, int maxLimit = 100)