Unsolved QPrintDialog
-
hi, can i set geometry of QPrintDialog?
below is my code.
QPrinter printer; QPrintDialog dialog(&printer, this); dialog.setWindowTitle(tr("Print Document")); dialog.addEnabledOption(QAbstractPrintDialog::PrintSelection); dialog.setGeometry(0,0,1000,1000); // it is not working. dialog.exec();
i did the same working by using subclassing. but it is not working too.
-
@minjunkim On which OS do you execute this code?
QPrintDialog shows the native OS print dialog, on Windows 10 for example print dialog has fixed size. -
-