DzLabel Class Reference
[Interface Widget Objects]

DAZ Script label widget. More...

Inheritance diagram for DzLabel:

DzWidget List of all members.

Properties

AlignmentFlags alignment
Number indent
Pixmap pixmap
Boolean scaledContents
String text

Methods

DzWidget buddy ()
void clear ()
void setBuddy (DzWidget buddy)

Constructors

 DzLabel (DzWidget parent)

Detailed Description

DAZ Script label widget.

This class provides text or image display.


Constructor & Destructor Documentation

DzLabel::DzLabel ( DzWidget  parent  ) 

Creates label with the given parent widget


Member Function Documentation

DzWidget DzLabel::buddy (  ) 

Returns:
The buddy widget for the label, 'Undefined' if none.

void DzLabel::clear (  ) 

Clears the text displayed in the label

void DzLabel::setBuddy ( DzWidget  buddy  ) 

Sets the buddy widget for this label.


Member Data Documentation

int DzLabel::alignment

Holds the alignment of the text displayed in the label.

int DzLabel::indent

Holds the label's indent in pixels from its current alignment.

const QPixmap * DzLabel::pixmap

The Pixmap shown on the label. If the Pixmap is monochrome (e.g. its depth is 1) and it does not have a mask, the Pixmap will be its own mask. This allows transparent bitmaps to be drawn, which are important for toggle buttons. 0 if no pixmap is set.

bool DzLabel::scaledContents

Holds whether the contents of the label are scaled to fill the available space.

QString DzLabel::text

Holds the text displayed in the label.


Generated on Thu Sep 24 12:21:13 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.