Solved Updating text of qlabel
-
This post is deleted! -
Hi,
What exactly do you want to achieve ? Calling
setText
will replace the current text.
What version of Qt are you using ?
On what platform ?If you have some visual artefacts, then please post a picture of it.
By the way, there's no need to call
processEvents
,WC
has already changed its values so the text will be correct. -
This post is deleted! -
Can you show what you get ?
-
Hi
if the previous text is still shown, im wondering if you used a stylesheet to make something transparent or anything like that ?
The code you show should print
WC available : 1
and then
WC available : 2
and so on.
as one line and old text should be completely gone.