XuvTools is developed in a cooperative effort from:
  • Chair of Pattern Recognition and Image Processing [www]
  • Friedrich Miescher Institute for Biomedical Research [www]
  • Center for Biological Systems Analysis [www]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
devel:qt_designer [2009/12/08 23:50]
mario added heading for class implementation
devel:qt_designer [2009/12/16 22:06]
mario added layout and margin section
Line 2: Line 2:
  
 When designing a user interface element with Qt designer, several ways to include this new element into the GUI are possible. In order to have a defined coding style for XuvTools, please stick to the following instructions when using the designer. When designing a user interface element with Qt designer, several ways to include this new element into the GUI are possible. In order to have a defined coding style for XuvTools, please stick to the following instructions when using the designer.
 +
 +==== Special Settings and Attributes ====
 +
 +=== Layout Margins and Sizes ===
 +
 +The default layout sizes are good for many elements, so only change them if the value looks bad or waists too much space. One example, where default values fail, is when a frame is added around a text label. Default layout margin would be 9,9,9,9,6, which is by far too wide. When decreasing margins, use the following values:
 +
 +^ LayoutLeftMargin |  4  |
 +^ LayoutTopMargin |  4  |
 +^ LayoutRightMargin |  4  |
 +^ LayoutBottomMargin |  4  |
 +^ LayoutSpacing |  2  |
  
 ==== Copy-Paste Sample Code: QuickStart with GuiElement example ==== ==== Copy-Paste Sample Code: QuickStart with GuiElement example ====
devel/qt_designer.txt ยท Last modified: 2009/12/17 21:04 by mario
Contact: admin(a)xuvtools.org