Editing Customising Qt look and feel and Python in 30 Mins
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
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 40: | Line 40: | ||
Having created an initial main Window Object when we started Qt Designer, we are now going to create some buttons with custom images on a custom background | Having created an initial main Window Object when we started Qt Designer, we are now going to create some buttons with custom images on a custom background | ||
- | + | ||
- | + | 1. First add a frame to your window, by dragging a frame object across from the object selector. In the Object inspector call it Frame1 | |
- | + | ||
- | + | 2. Add a second frame ontop of your first frame and call it Frame2 | |
+ | |||
+ | 3. Add a push button to the second frame,set its minimumSize and maximum Size to Width 120,Height 101, now copy and past 3 more of these buttons. | ||
+ | |||
+ | 4. Select all four buttons and right click, Layout->layout Horizontalally, and you should be left with something like this. | ||
Learn more about Contributing to the wiki.