Hi.
Forget my bad english
I want to know how can i make a Qlabel editable .
How to create it in Qdesinger and how can i get qlabel text after editing it
Thank you all for that effort. .
Hi.
Forget my bad english
I want to know how can i make a Qlabel editable .
How to create it in Qdesinger and how can i get qlabel text after editing it
Thank you all for that effort. .
You can make a flat button and create a line edit widget when clicking it and set the button invisible. Then add the return pressed signal to the line edit so that you can save your text to button.
salahkimo (1st February 2016)
Or you derive a new class from QLabel, implement key handling for editing and use "promote widget" in designer to use your label instead of QLabel.
Cheers,
_
salahkimo (1st February 2016)
Bookmarks