View Single Post
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#16
Originally Posted by Venemo View Post
You can reach the widgets on the .ui with the ui variable in your cpp code.
Eg.

Code:
ui->myComboBox->doStuff();
About what do do with a combo box, here is some doc:
http://doc.qt.nokia.com/4.6/qcombobox.html
Qt is _very well_ documented, you should be able to find anything you want to know about it!
Okay, I got the apply -button to launch the script. Still haven't figured out how to get the text string from drop down menus to be put as variables.
After that it should be pretty much done.

I found this, but don't know what to do with it
http://doc.qt.nokia.com/4.6/qcombobox.html#activated-2
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE