[Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit
john at wavemetrics.com
Wed Aug 14 18:27:02 CEST 2019
I used the QLineEdit focusOutEvent() event.
> On Aug 13, 2019, at 1:21 PM, Murphy, Sean <smurphy at walbro.com> wrote:
>> Hmm, about that extra step, to remember the filter stuff, since you already
>> have a custom line edit class, why not embed the MouseFilter class inside it?
>> I mean, the filter does not have to reside in MainWindow, it needs only the
>> qApp pointer, so you could wire it up in your custom line edit's ctor instead.
>> Thus making it an integrated part of your custom class :-)
> Already planning on attempting that once I can get back around to this issue!
> As often happens, something else is pulling my attention away at the
> moment, but I'll give it a shot when I have time and report back.
> This message has been scanned for malware by Forcepoint. www.forcepoint.com
> Interest mailing list
> Interest at qt-project.org
More information about the Interest