For simple uses you might just connect to the activated() signal of the view, but be warned, that it'll not handle all possible situations. It depends which edit triggers you use.
For simple uses you might just connect to the activated() signal of the view, but be warned, that it'll not handle all possible situations. It depends which edit triggers you use.
For completeness, emitting a signal from a const method:
Qt Code:
{ emit const_cast<MyItemDelegate*>(this)->editBegins(); }To copy to clipboard, switch view to plain text mode
http://lists.trolltech.com/qt-intere...ad01411-0.html
Bookmarks