setting QLineEdit text bold
-
wrote on 24 Nov 2015, 07:03 last edited by
I have a sentence to be displayed in QLineedit....In that i need to make some of the words in bold ....Any help is appreciated..........
-
wrote on 24 Nov 2015, 08:11 last edited by
I recommend you use a textEdit field. It has a few options on how to make certain words diffent colors. You would just want to limit it to one line.
-
wrote on 24 Nov 2015, 08:14 last edited by
@vinothrajendran4
Here is one example . -
I recommend you use a textEdit field. It has a few options on how to make certain words diffent colors. You would just want to limit it to one line.
wrote on 24 Nov 2015, 08:22 last edited by -
@vinothrajendran4
Here is one example .wrote on 24 Nov 2015, 08:23 last edited by -
hi
LineEdit do not support html as textEdit does so I dont think you can color just one word
in any easy way. -
hi
LineEdit do not support html as textEdit does so I dont think you can color just one word
in any easy way.wrote on 24 Nov 2015, 08:47 last edited by@mrjj : Thanks
-
@mrjj : Thanks
@vinothrajendran4
that said, i did find some code on the new that uses a trick.
please see this sample
https://www.dropbox.com/s/m6slequi83tbqg2/linedit.zip?dl=0
3/8