Windows API and 'QWidget'

So I'm updating this program of mine to work with a new VPN Client that we use at work. I basically need to GET and SET text in a text box but for some reason ALL the classes on the client are QWidget's. I believe I've seen these classes before and I didn't like them.

I've come to the conclusion that either:
a) QWidgets suck ass or
b) they are just masking the REAL fields on the form (covering them but invisible).

Any ideas on how to get the text from them? I use WM_SETTEXT, WM_GETTEXT and no dice.