Editing Installing Qt SDK from scratch
Your changes will be displayed to readers once an authorized user accepts them. (help) |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
#Double click '''.ui''' file to open a UI editor <br/>[[File:Qt edit ui.png]] | #Double click '''.ui''' file to open a UI editor <br/>[[File:Qt edit ui.png]] | ||
#Drag'n'drop a '''Push button''' from left side list to the UI | #Drag'n'drop a '''Push button''' from left side list to the UI | ||
− | #Double click the new button to the change the text from "Push button" to anything you want on it. Also rename the object from the right side pane ('''objectName''' line). | + | #Double click the new button to the change the text from "Push button" to anything you want on it. Also rename the object from the right side pane ('''objectName''' line). |
#Select the button and right-click it to and choose '''Go to slot...''' | #Select the button and right-click it to and choose '''Go to slot...''' | ||
#Choose '''clicked()''' from the list and click Ok. | #Choose '''clicked()''' from the list and click Ok. | ||
− | #A new function will be created to the code. The code will be executed on when the button is clicked. | + | #A new function will be created to the code. The code will be executed on when the button is clicked. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |