[Qt-creator] Drawing on QWidget
Axel Jäger
axel.jaeger at basyskom.de
Sun Jul 5 22:32:46 CEST 2009
Hello,
> And again, I just want to ask developers of Qt Creator: they added
> QWidget element in Qt Designer. QWidget using it's own drawing
> function and events processing. So, I'm just creating new project,
> adding QWidget... And what I should do now? Where to write painting
> function and how?
Create a subclass of QWidget in code and use the feature called
"Promote to custom widget" to set your own subclass instead of a plain
QWidget.
> P.S. When I using wxWidgets and Lazarus VCL - there are no problems,
> everything is clear and working... ;)
You are free to use whatever toolkit you please.
---
Axel Jäger
Developer
basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 3969-961 | Fax: -736
axel.jaeger at basyskom.de | www.basyskom.de
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Eva Brucherseifer
More information about the Qt-creator-old
mailing list