[PyQt] style sheets.

2010-03-07 Thread NISA BALAKRISHNAN
hi i have written an application in pyqt4 and added stylesheets for my frame which just includes a background image. this works fine in linux but when i use the same ui file in windows style sheets are not active. when i conert them to .exe using py2exe and run the exe i get unable to parse styles

[PyQt] help with Qdate

2010-02-16 Thread NISA BALAKRISHNAN
hi, can anyone tel me how to get date entered to date edit widget in a string format so that i can save it in a excel sheet. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] help with printing

2010-02-15 Thread NISA BALAKRISHNAN
hi, I would like to know how to print a .xls file using pyqt. I would like to see a preview of the file and then print. I tried to use Qprinter and printpreview dialogs but not successful. Pls send me links showing examples of using printers. I get a insufficient no of arguments error. thanx in a

[PyQt] help with qscrollarea for a stacked widget

2010-01-27 Thread NISA BALAKRISHNAN
i am new to pyqt. i have created my gui using Qtdesigner4 now i want to add a vertical scrollbar to stacked widget which is placed on a frame. when i do it as follows the stacked widget forms a new window. i want it in the existing main window. self.scrollarea=QtGui.scrollArea() self.scrollarea.se