arumita
2nd June 2014, 20:54
Hello ^^
my idea: i have a global variable and i want to use just two values to this variable so i'm thinking to add a push button to my gui, when i click it should give me two choices if i click any choice my global variable get the corresponding value.
i did search about qpushbutton i found something about setmenu() and menu() but i don't know how to use it , plz help with detail plz ^^
my idea: i have a global variable and i want to use just two values to this variable so i'm thinking to add a push button to my gui, when i click it should give me two choices if i click any choice my global variable get the corresponding value.
i did search about qpushbutton i found something about setmenu() and menu() but i don't know how to use it , plz help with detail plz ^^