Hello!

I was searching for tips for embedded linux programming and I found out that one such tips is to use QStaticText over QText while drawing texts on widgets. I did some research about this aspect and not only found that such "QText" didn't exist, but also that the QStaticText was supposed to be used inside a QWidget:aintEvent() reimplementation.

The question is: why would I draw my text inside a reimplemented QWidget:aintEvent() if I can use a simple QLabel for that? Is QLabel less advisable to be used then QStaticText with paintEvent()?


Thanks,

Momergil