Differences between revisions 11 and 12
Revision 11 as of 2010-10-18 05:00:25
Size: 1949
Editor: pool-71-175-95-133
Comment:
Revision 12 as of 2010-10-18 05:03:22
Size: 1978
Editor: pool-71-175-95-133
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Here's a demo GUI that is built up from panels that contain multiple controls. Each panel is colored uniquely so that they are easilt differentiated from each other. Also, each panel was designed to have spacing borders on all edges of the panels so that controls from adjacent panels would be a bit separated. In most real-world GUIs, the panels would have the same background color and the panels would not be labeled with their own class name. Here's a demo GUI that is built up from panels that contain multiple controls. Each panel is colored uniquely so that they are clearly differentiated from each other. Also, each panel was designed to have space borders on all edges of the panels so that controls from adjacent panels would be a bit separated from each other. In most real-world GUIs, the panels would have the same background color and the panels would not be labeled with their own class names.
Line 20: Line 20:
[[attachment:MultipleControlsPanels_Demo.py]]
[[attachment:PanelControls.py]]
[[attachment:AddLinearSpacer.py]]
 . [[attachment:MultipleControlsPanels_Demo.py]]

 .
[[attachment:PanelControls.py]]

 .
[[attachment:AddLinearSpacer.py]]

BoxSizerFromTheGroundUp

BoxSizerFromTheGroundUp/ControlsPadding

BoxSizerFromTheGroundUp/ControlsResizing

BoxSizerFromTheGroundUp/NestedBoxSizers

BoxSizerFromTheGroundUp/NestedControlGroups

BoxSizerFromTheGroundUp/DivideAndConquer


DRAFT -- DRAFT -- DRAFT


Here's a demo GUI that is built up from panels that contain multiple controls. Each panel is colored uniquely so that they are clearly differentiated from each other. Also, each panel was designed to have space borders on all edges of the panels so that controls from adjacent panels would be a bit separated from each other. In most real-world GUIs, the panels would have the same background color and the panels would not be labeled with their own class names.

Each panel holding just a single control does not necessarily have to have a StaticText used as a label to identify the particular purpose of the associated control. Some controls like the RadioBox already have label functionality built into them. Buttons are naturally self-labeling and don't need to be contained within a panel at all.

Only BoxSizers are used to arrange everything, of course.


BoxSizerFromTheGroundUp

BoxSizerFromTheGroundUp/ControlsPadding

BoxSizerFromTheGroundUp/ControlsResizing

BoxSizerFromTheGroundUp/NestedBoxSizers

BoxSizerFromTheGroundUp/NestedControlGroups

BoxSizerFromTheGroundUp/DivideAndConquer

BoxSizerFromTheGroundUp/NestedControlGroups (last edited 2011-03-26 02:41:17 by pool-71-244-98-82)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.