Something like: dt_d = new QTimeEdit()
dt_d.timeChanged.connect(self.onTimeChanged) myTableWidget.setCellWidget(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 QTimeEdit :-)? On Fri, Jan 21, 2011 at 08:31, ad3d <alhaddeshpa...@gmail.com> wrote: > > 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 > > can some plz tell me how can i write a function which will be triggered > when > i change d date in QDateEdit which is embedded in a cell of a QTableWidget > > ITS A BIT URGENT > PLZ HELP > > THANX IN ADVANCE > -- > View this message in context: > http://old.nabble.com/problem-in-invoking-event-of-QDateEdit-embedded-in-QTableWidget-cell-tp30726350p30726350.html > Sent from the PyQt mailing list archive at Nabble.com. > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt