<div>Something like:</div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
dt_d = new QTimeEdit()</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" color="#006600">dt_d.timeChanged.connect(self.onTimeChanged)</font></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
myTableWidget.setCellWidget(row, col, dt_d)</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
...</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
def onTimeChanged(self, time):</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
print time</blockquote><div><br></div><div>Btw, I assume you mean '<a href="http://doc.qt.nokia.com/4.7/qdatetimeedit.html#timeChanged">timeChanged</a>' instead of 'dateChanged' when using a QTimeEdit :-)?</div>
<div><br></div><div><br><div class="gmail_quote">On Fri, Jan 21, 2011 at 08:31, ad3d <span dir="ltr"><<a href="mailto:alhaddeshpande@gmail.com">alhaddeshpande@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
i have added QTimeEdit in a QTableWidget cell using setCellWidget<br>
its name is dt_d<br>
<br>
Now i want to write a function on which will be triggered on dateChanged<br>
event<br>
<br>
but the problem i am facing is its not accepting dateChanged trigger as well<br>
as its not accepting itemChanged event of QTableWidget<br>
<br>
can some plz tell me how can i write a function which will be triggered when<br>
i change d date in QDateEdit which is embedded in a cell of a QTableWidget<br>
<br>
ITS A BIT URGENT<br>
PLZ HELP<br>
<br>
THANX IN ADVANCE<br>
<font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/problem-in-invoking-event-of-QDateEdit-embedded-in-QTableWidget-cell-tp30726350p30726350.html" target="_blank">http://old.nabble.com/problem-in-invoking-event-of-QDateEdit-embedded-in-QTableWidget-cell-tp30726350p30726350.html</a><br>
Sent from the PyQt mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Nick Gaens<br>
</div>