DzLCDNumber Class Reference
[Interface Widget Objects]

DAZ Script LCD style number widget. More...

Inheritance diagram for DzLCDNumber:

DzWidget List of all members.

Enumerations

enum  Mode {
  Hex, Dec, Oct, Bin,
  HEX = Hex, DEC = Dec, OCT = Oct, BIN = Bin
}
enum  SegmentStyle { Outline, Filled, Flat }

Properties

Mode mode
Number numDigits
SegmentStyle segmentStyle
Boolean smallDecimalPoint
Number value

Constructors

 DzLCDNumber (DzWidget parent)

Signals

void overflow ()
 Signature: "overflow()"

Detailed Description

DAZ Script LCD style number widget.

This widget provides a LCD-style number display.

The following digits and symbols can be displayed:

0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 9/g, - (minus), . (decimal point), A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, : (colon), ° (degree sign - which is specified as single quote in the string) and space.

Illegal characters are substituted with spaces.


Member Enumeration Documentation

enum DzLCDNumber::Mode

Enumerated mode (number base) types.

Enumerator:
Hex  Hexadecimal (base 16)
Dec  Decimal (base 10)
Oct  Octal (base 8)
Bin  Binary (base 2)
HEX  Same as Hex
DEC  Same as Dec
OCT  Same as Oct
BIN  Same as Bin

enum DzLCDNumber::SegmentStyle

Enumerated segment style (visual appearance) types.

Enumerator:
Outline  Raised segments filled with the background color
Filled  Raised segments filled with the foreground color
Flat  Flat segments filled with the foreground color


Constructor & Destructor Documentation

DzLCDNumber::DzLCDNumber ( DzWidget  parent  ) 

Creates a date time edit widget as a child of the given parent widget


Member Function Documentation

void DzLCDNumber::overflow (  )  [signal]

Signature: "overflow()"

Emitted when the number is set to a value that exceeds the number of digits.


Member Data Documentation

int DzLCDNumber::mode

Holds the display mode of the number.

int DzLCDNumber::numDigits

Holds the number of digits displayed in the widget.

int DzLCDNumber::segmentStyle

Holds the style of the number.

bool DzLCDNumber::smallDecimalPoint

Holds whether the decimal point is drawn between digits - otherwise it takes up a digit of its own.

double DzLCDNumber::value

Holds the value of the number.


Generated on Thu Sep 24 12:21:13 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.