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
-
# First add a frame to your window, by dragging a frame object across from the object selector. In the Object inspector call it Frame1
+
 
-
# Add a second frame ontop of your first frame and call it Frame2
+
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
-
# 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.
+
 
-
# Select all four buttons and right click, Layout->layout Horizontalally, and you should be left with something like this.
+
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.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)