Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ZLayout.h File Reference

#include <qrect.h>

Go to the source code of this file.

Namespaces

namespace  ZGlobal

Defines

#define EZX_DLG_WIDTH   224
 Dialog (Maxium) Width No dialog or transient can be wider this. More...

#define EZX_DLGTITLE_LEFT_SPACING   5
 Dialog Title Left Spacing Title text for dialogs must have spacing to the left border of the title area, especially for the gradient title bar. More...

#define EZX_CHECK_BOXSIZE   20
 EzX CheckBox BoxSize Qt default CheckBox BoxSize (16) is too small for a handset device. More...

#define DEFAULT_FONT_SIZE_SMALL   15
 Default font sizes for the application UI display. More...

#define DEFAULT_FONT_SIZE_MEDIUM   18
#define DEFAULT_FONT_SIZE_LARGE   21
#define EZX_SCROLLBAR_EXTENSION   19
 Define the extensions of all scroll bars seen in UI applications. More...

#define ZSetLayout(widgetPtr, globalR)   widgetPtr->setGeometry(ZGlobal::mapFromGlobalR(widgetPtr, globalR))
 Macro functions for convenience. More...

#define ZDiffR(parent, child)   ZGlobal::diffRect(ZGlobal::get##parent(), ZGlobal::get##child())

Enumerations

enum  EZX_FONT_SIZE_T { EZX_FONT_SIZE_SMALL = 0, EZX_FONT_SIZE_MEDIUM, EZX_FONT_SIZE_LARGE }
 maps to Theme setup UI "Text Size" setting. More...


Define Documentation

#define DEFAULT_FONT_SIZE_LARGE   21
 

#define DEFAULT_FONT_SIZE_MEDIUM   18
 

#define DEFAULT_FONT_SIZE_SMALL   15
 

Default font sizes for the application UI display.

The Macros are total Theme bounded, mapping to Theme setup UI with "Text Size" Small/Medium/Large.

See also:
EZX_FONT_SIZE_T

#define EZX_CHECK_BOXSIZE   20
 

EzX CheckBox BoxSize Qt default CheckBox BoxSize (16) is too small for a handset device.

EzX wants to larger the BoxSize for QCheckBox and QListViewItem, etc.

#define EZX_DLGTITLE_LEFT_SPACING   5
 

Dialog Title Left Spacing Title text for dialogs must have spacing to the left border of the title area, especially for the gradient title bar.

#define EZX_DLG_WIDTH   224
 

Dialog (Maxium) Width No dialog or transient can be wider this.

#define EZX_SCROLLBAR_EXTENSION   19
 

Define the extensions of all scroll bars seen in UI applications.

For vertical scroll bars, the extension defines the width of scroll bar; for horizontal scroll bar, teh extension defines the height of scroll bar.

#define ZDiffR( parent, child )   ZGlobal::diffRect(ZGlobal::get##parent(), ZGlobal::get##child())
 

#define ZSetLayout( widgetPtr, globalR )   widgetPtr->setGeometry(ZGlobal::mapFromGlobalR(widgetPtr, globalR))
 

Macro functions for convenience.


Enumeration Type Documentation

enum EZX_FONT_SIZE_T
 

maps to Theme setup UI "Text Size" setting.

This enumeration doesn't bookkeep the exact font size.

See also:
DEFAULT_FONT_SIZE_SMALL , DEFAULT_FONT_SIZE_MEDIUM , DEFAULT_FONT_SIZE_LARGE
Enumeration values:
EZX_FONT_SIZE_SMALL  
EZX_FONT_SIZE_MEDIUM  
EZX_FONT_SIZE_LARGE  


Generated at Wed Mar 3 13:22:14 2004 by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001