PDA

View Full Version : Which widget to use ??



vajindarladdad
19th February 2009, 13:26
Hi all experts ,
I am developing an application in which i have to take a print Preview .
I have used QPrintPreviewWidget and QPrinter classes.

When i see a print preview i also want to show the ruler like we have in Microsoft Office .

I don't know which widget i should use ?

Does Qt provide any widget to fulfill this requirement.

I have attached the picture to make you understand my requirement.

I am using Qt4.

wysota
19th February 2009, 18:54
You'd have to implement a custom widget derived either from QWidget or from QAbstractSlider.

vajindarladdad
23rd February 2009, 04:36
Thanks a million......Guru