I created a form with Qt which has 2 radio buttons and a push button
button 1 has label cd
button 2 has label dvd
I want the user to choose one of the radio buttons and click the button which will write the text (cd or dvd) into my console when I run the program.
I managed to do this for a listbox:
listitem = str(self.lB_List.currentText())
if listitem == "hey":
print "hey"
elif listitem == "bye":
print "bye"
elif listitem == "ciao":
print "ciao"
but how can i do this for a radiogroup? I've searched the forum but can't find a clear answer.
Please help, thanks
-NITRILES-
Bookmarks