[Interest] How to display custom data entry form on QLineEdit click ?

Edward Sutton edward.sutton at subsite.com
Mon Feb 1 17:36:24 CET 2016


Thank you Igor.

On Feb 1, 2016, at 10:18 AM, Igor Mironchik <igor.mironchik at gmail.com<mailto:igor.mironchik at gmail.com>> wrote:

Hi,

On 01.02.2016 19:11, Edward Sutton wrote:
I want to display a form with a numeric touch key pad plus a decimal point when user clicks on a QLIneEdit field.

I did not see any signal such as editingStarted.

What are approaches to implementing a custom data entry?

I am targeting Android and iOS with a QWidget app.

You can derive from QLineEdit and override mousePressEvent() or mouseReleaseEvent() and pop-up of your key pad…

That sounds straight forward enough.  Thank you!

-Ed

This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160201/77dc5f42/attachment.html>


More information about the Interest mailing list