- if (print->sizeHint().width()!=-1)
- print->setMinimumWidth(print->sizeHint().width());
- if (print->sizeHint().height()!=-1)
- print->setMinimumHeight(print->sizeHint().height());
- if (print->sizeHint().width()!=-1)
- print->setMaximumWidth(print->sizeHint().width());
- if (print->sizeHint().height()!=-1)
- print->setMaximumHeight(print->sizeHint().height());
- if (cancel->sizeHint().width()!=-1)
- cancel->setMinimumWidth(cancel->sizeHint().width());
- if (cancel->sizeHint().height()!=-1)
- cancel->setMinimumHeight(cancel->sizeHint().height());
- if (cancel->sizeHint().width()!=-1)
- cancel->setMaximumWidth(cancel->sizeHint().width());
- if (cancel->sizeHint().height()!=-1)
- cancel->setMaximumHeight(cancel->sizeHint().height());
- if (allpages->sizeHint().width()!=-1)
- allpages->setMinimumWidth(allpages->sizeHint().width());
- if (allpages->sizeHint().height()!=-1)
- allpages->setMinimumHeight(allpages->sizeHint().height());
- if (allpages->sizeHint().width()!=-1)
- allpages->setMaximumWidth(allpages->sizeHint().width());
- if (allpages->sizeHint().height()!=-1)
- allpages->setMaximumHeight(allpages->sizeHint().height());
- if (evenpages->sizeHint().width()!=-1)
- evenpages->setMinimumWidth(evenpages->sizeHint().width());
- if (evenpages->sizeHint().height()!=-1)
- evenpages->setMinimumHeight(evenpages->sizeHint().height());
- if (evenpages->sizeHint().width()!=-1)
- evenpages->setMaximumWidth(evenpages->sizeHint().width());
- if (evenpages->sizeHint().height()!=-1)
- evenpages->setMaximumHeight(evenpages->sizeHint().height());
- if (from->sizeHint().width()!=-1)
- from->setMinimumWidth(from->sizeHint().width());
- if (from->sizeHint().height()!=-1)
- from->setMinimumHeight(from->sizeHint().height());
- if (from->sizeHint().height()!=-1)
- from->setMaximumHeight(from->sizeHint().height());
- if (fromLabel->sizeHint().width()!=-1)
- fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
- if (fromLabel->sizeHint().height()!=-1)
- fromLabel->setMinimumHeight(fromLabel->sizeHint().height());
- if (fromLabel->sizeHint().width()!=-1)
- fromLabel->setMaximumWidth(fromLabel->sizeHint().width());
- if (fromLabel->sizeHint().height()!=-1)
- fromLabel->setMaximumHeight(fromLabel->sizeHint().height());
- if (toLabel->sizeHint().width()!=-1)
- toLabel->setMinimumWidth(toLabel->sizeHint().width());
- if (toLabel->sizeHint().height()!=-1)
- toLabel->setMinimumHeight(toLabel->sizeHint().height());
- if (toLabel->sizeHint().width()!=-1)
- toLabel->setMaximumWidth(toLabel->sizeHint().width());
- if (toLabel->sizeHint().height()!=-1)
- toLabel->setMaximumHeight(toLabel->sizeHint().height());
- if (oddpages->sizeHint().width()!=-1)
- oddpages->setMinimumWidth(oddpages->sizeHint().width());
- if (oddpages->sizeHint().height()!=-1)
- oddpages->setMinimumHeight(oddpages->sizeHint().height());
- if (oddpages->sizeHint().width()!=-1)
- oddpages->setMaximumWidth(oddpages->sizeHint().width());
- if (oddpages->sizeHint().height()!=-1)
- oddpages->setMaximumHeight(oddpages->sizeHint().height());
- if (toprinter->sizeHint().width()!=-1)
- toprinter->setMinimumWidth(toprinter->sizeHint().width());
- if (toprinter->sizeHint().height()!=-1)
- toprinter->setMinimumHeight(toprinter->sizeHint().height());
- if (toprinter->sizeHint().width()!=-1)
- toprinter->setMaximumWidth(toprinter->sizeHint().width());
- if (toprinter->sizeHint().height()!=-1)
- toprinter->setMaximumHeight(toprinter->sizeHint().height());
- if (tofile->sizeHint().width()!=-1)
- tofile->setMinimumWidth(tofile->sizeHint().width());
- if (tofile->sizeHint().height()!=-1)
- tofile->setMinimumHeight(tofile->sizeHint().height());
- if (tofile->sizeHint().width()!=-1)
- tofile->setMaximumWidth(tofile->sizeHint().width());
- if (tofile->sizeHint().height()!=-1)
- tofile->setMaximumHeight(tofile->sizeHint().height());
- if (printername->sizeHint().width()!=-1)
- printername->setMinimumWidth(printername->sizeHint().width());
- if (printername->sizeHint().height()!=-1)
- printername->setMinimumHeight(printername->sizeHint().height());
- if (printername->sizeHint().height()!=-1)
- printername->setMaximumHeight(printername->sizeHint().height());
- if (reverse->sizeHint().width()!=-1)
- reverse->setMinimumWidth(reverse->sizeHint().width());
- if (reverse->sizeHint().height()!=-1)
- reverse->setMinimumHeight(reverse->sizeHint().height());
- if (reverse->sizeHint().width()!=-1)
- reverse->setMaximumWidth(reverse->sizeHint().width());
- if (reverse->sizeHint().height()!=-1)
- reverse->setMaximumHeight(reverse->sizeHint().height());
- if (filename->sizeHint().width()!=-1)
- filename->setMinimumWidth(filename->sizeHint().width());
- if (filename->sizeHint().height()!=-1)
- filename->setMinimumHeight(filename->sizeHint().height());
- if (filename->sizeHint().height()!=-1)
- filename->setMaximumHeight(filename->sizeHint().height());
- if (sort->sizeHint().width()!=-1)
- sort->setMinimumWidth(sort->sizeHint().width());
- if (sort->sizeHint().height()!=-1)
- sort->setMinimumHeight(sort->sizeHint().height());
- if (sort->sizeHint().width()!=-1)
- sort->setMaximumWidth(sort->sizeHint().width());
- if (sort->sizeHint().height()!=-1)
- sort->setMaximumHeight(sort->sizeHint().height());
- if (browse->sizeHint().width()!=-1)
- browse->setMinimumWidth(browse->sizeHint().width());
- if (browse->sizeHint().height()!=-1)
- browse->setMinimumHeight(browse->sizeHint().height());
- if (browse->sizeHint().width()!=-1)
- browse->setMaximumWidth(browse->sizeHint().width());
- if (browse->sizeHint().height()!=-1)
- browse->setMaximumHeight(browse->sizeHint().height());
- if (count->sizeHint().width()!=-1)
- count->setMinimumWidth(count->sizeHint().width());
- if (count->sizeHint().height()!=-1)
- count->setMinimumHeight(count->sizeHint().height());
- if (count->sizeHint().height()!=-1)
- count->setMaximumHeight(count->sizeHint().height());
- if (countLabel->sizeHint().width()!=-1)
- countLabel->setMinimumWidth(countLabel->sizeHint().width());
- if (countLabel->sizeHint().height()!=-1)
- countLabel->setMinimumHeight(countLabel->sizeHint().height());
- if (countLabel->sizeHint().width()!=-1)
- countLabel->setMaximumWidth(countLabel->sizeHint().width());
- if (countLabel->sizeHint().height()!=-1)
- countLabel->setMaximumHeight(countLabel->sizeHint().height());
- if (to->sizeHint().width()!=-1)
- to->setMinimumWidth(to->sizeHint().width());
- if (to->sizeHint().height()!=-1)
- to->setMinimumHeight(to->sizeHint().height());
- if (to->sizeHint().height()!=-1)
- to->setMaximumHeight(to->sizeHint().height());