Tutorial Page One
In this project we will make a simple project with one component.
First let's start by creating a new project, we do this under the option under
file on the Menubar. Then we create a new
dialog (under file as well), then goto windows | toolbar on the menubar. A
toolbar should appear with available component, let's bring in a label. First
click on the parent you want it to go on (the dialog you created before), then
click on the button with the caption "Label" on the toolbar. This drops a blank
label onto your main dialog, go ahead and drag the label into the center of the
dialog. Then right click on the component, bringing up the
Attributes window. Make sure "QLabel *label1" shows in the top most combo
box.
Locate the following attributes, and set them to their respect value:
Width - 325
Height - 205
Pixmap - Locate frame1.bmp in the demo/tutorial/ directory.
Then select Run | run on the menubar.
Project Screen Shot |
Next | Previous |
Contents