Re: [PyQt] widget swap/widget on top

2011-07-27 Thread ad3d
ow modality" ( > http://doc.qt.nokia.com/latest/qwidget.html#windowModality-prop). > > On Wed, Jul 27, 2011 at 07:46, ad3d wrote: > >> >> Hi guys, >> >> if i press a button on mainwindow i want another widget i.e. widget1 to >> popup, but that widget1 should be on

[PyQt] widget swap/widget on top

2011-07-26 Thread ad3d
2 widgets should be disabled) in this process i dont want to hide the disabled widgets/windows.. Can someone plz guide me to achieve the same.. Thanx in advance Regards, ad3d -- View this message in context: http://old.nabble.com/widget-swap-widget-on-top-tp32145442p32145442.html Sent

[PyQt] QListWidget data fetching

2011-07-26 Thread ad3d
Hi guys, i am trying to get data from listWidget but i am getting it in a PyQt4.QListWidget object format..where as i want it in QString or string Thanx in advance.. Regards, ad3d -- View this message in context: http://old.nabble.com/QListWidget-data-fetching-tp32139526p32139526

[PyQt] QAppilcation.setStyle using PyQt

2011-07-26 Thread ad3d
Hi guys, Using PyQt how can i use "macintosh" / "windowsxp" style on my application where i am using it on windows platform.. Guys its a bit urgent.. Thanx in advance Regards, Alhad D. -- View this message in context: http://old.nabble.com/QAppilcation.setStyle-using-PyQt-tp32138560p

[PyQt] Textedit font changes

2011-04-19 Thread ad3d
Hi guys, i want to use the font size,type of font,font color,underline,bold,italic..functions for QTextEdit using pyqt.. can someone plz help me on this.. Regards, ad3d -- View this message in context: http://old.nabble.com/Textedit-font-changes-tp31438562p31438562.html Sent from the PyQt

[PyQt] how to mark dates in QCalenderwidget with RED color

2011-02-21 Thread ad3d
hi guys, i am trying to use QCalenderWidget in my program & to show public holidays i want to mark some dates RED same like saturday & sunday marked by qt. i am using PyQt4 How can i do dis?? Any suggestion Thanks in advance ad3d -- View this message in context: http://old.na

[PyQt] how to use setDateTextFormat() using pyqt

2011-01-23 Thread ad3d
hi guys i am trying to color specific dates of QCalenderWidget using setDateTextFormat() function. i am using QDateEdit in the program n my piece of code is self.dob_date = QtGui.QDateEdit(self.basic_grp) self.dob_date.setGeometry(QtCore.QRect(89,110,100, 20)) self.dob_date.setCalenderPopup(Tru

Re: [PyQt] problem in invoking event of QDateEdit embedded in QTableWidget cell

2011-01-21 Thread ad3d
CellWidget(row, col, dt_d) > > ... > > def onTimeChanged(self, time): > > print time > > > Btw, I assume you mean > 'timeChanged<http://doc.qt.nokia.com/4.7/qdatetimeedit.html#timeChanged>' > instead of 'dateChanged' when using a

[PyQt] problem in invoking event of QDateEdit embedded in QTableWidget cell

2011-01-20 Thread ad3d
i have added QTimeEdit in a QTableWidget cell using setCellWidget its name is dt_d Now i want to write a function on which will be triggered on dateChanged event but the problem i am facing is its not accepting dateChanged trigger as well as its not accepting itemChanged event of QTableWidget