[Interest] Making a "popup" QLineEdit

Paul Miller stelefx at gmail.com
Fri Oct 18 14:43:03 CEST 2013


On 10/18/2013 7:05 AM, Etienne Sandré-Chardonnal wrote:
> Dear all,
>
> I want to do the following GUI element : a QLineEdit which popups when
> some control is clicked, allowing the user for text input, and which
> hides when enter is pressed, or when the user clicks outside the QLineEdit.
>
> How can this be implemented? In other words, I'm looking for an
> undecorated floating widget (modal?) and getting an event when the user
> clicked outside.

Have you tried looking at the Qt source code? QListView does this when a 
column is editable.




More information about the Interest mailing list