[Qt-interest] FocusInEvent in QLineEdit box of a TabWidget
André Somers
andre at familiesomers.nl
Mon Dec 28 10:23:29 CET 2009
You can put your own widgets on a tab widget, right? So, just subclass
QLineEdit and use your subclassed version instead of a standard QLineEdit?
Or, use an event filter on your QLineEdit.
André
Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens Raja Rokkam
Verzonden: maandag 28 december 2009 6:37
Aan: QT Mailing LIST
Onderwerp: [Qt-interest] FocusInEvent in QLineEdit box of a TabWidget
Hi All,
Can anyone provide me with pointers to implement the focusInEvent for
a QLineEdit box in a tab ?
Basically, I have a tabWidget with a signup form in it. The boxes are
derived from QLineEdit and I would like to customize the focusInEvent,
focusOutEvent for them.
Would it be lot easier to use the editingFinished() signal than subclassing
these protected functions ?
Thanks,
Raja.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091228/4ccda3a4/attachment.html
More information about the Qt-interest-old
mailing list