[Gammaray-interest] Widget generation for rapid prototyping
Oggo Loggo
oggo at gmx.ch
Thu Dec 20 11:50:12 CET 2012
Hi,
during my thesis I am developing a piece of software using c++ and qt. I often do quick prototypes to try out methods. The way I have my project setup currently, it takes me quite some time to forward a set of parameters from the gui to the code:
1. Edit myPluginWidget.ui file (add spin box,combo box, checkbox)
2. Edit myPluginWidget.h which inherits from Ui_myPluginWidget.h to call the right function in myPlugin.h
Now, what I'd like to have an automatic way of generating a widget for a class/struct that stores a set of necessary parameters. I feel that it should be possible using qt's metaobject and property mechanism, but I was wondering if there is a reasonably size piece of code out there which would do that for me and I am open to any efficient alternative?
Best regards, Mario
More information about the Gammaray-interest
mailing list