Add QComboBox to QPrintPreviewDialog toolbar
I have created a QPrintPreviewDialog as below code.
@ void showPrintPreview()
QPrintPreviewDialog preview( &printer );
Now I need to change the displaying document in preview according to the selection of user. So I think to add a QComboBox to the toolbar of QPrintPreviewDialog.
1) Can anybody tell me is it possible?
- If possible I would like to know best way of doing that.
Thank you all.. waiting for helping hand..
If this way not possible can anybody suggest a solution.. :)
You may try to use QPrintPreviewWidget and build your own dialog