Looks fine, just make the constructor explicit, "just in case". I'd also suggest to replace those C array arguments with QVector or QList.
Looks fine, just make the constructor explicit, "just in case". I'd also suggest to replace those C array arguments with QVector or QList.
TheDuncan (5th April 2010)
I'll do that.
How do you add a custom widget to a form?
A custom widget is still a widget, you can directly show it using QWidget::show, or you can add it to any other widget in that widgets layout.
Give some time exploring the examples and documentation.
TheDuncan (5th April 2010)
Ok, but where do I use those commands? In main? Do How do I limit the space or assign where on the form the widget appears?
Thanks for all the help. Works like a champ
Bookmarks