C# Class Plasma.Meter

Inheritance: Qyoto.QGraphicsWidget, IDisposable
Mostra file Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Property Type Description
DataUpdated void
Paint void
Paint void
SetMaximum void
SetMinimum void
SetValue void

Public Methods

Method Description
Dispose ( ) : void
Label ( int index ) : string name="index" label index
LabelAlignment ( int index ) : uint name="index" label index
LabelColor ( int index ) : QColor name="index" label index
LabelFont ( int index ) : QFont name="index" label index
LabelRect ( int index ) : Qyoto.QRectF name="index" label index
Meter ( ) : System
Meter ( IQGraphicsItem parent ) : System Constructor name="parent" the QGraphicsItem this meter is parented to. name="parent" the QObject this meter is parented to.
SetLabel ( int index, string text ) : void Set text label for the meter name="index" label index. name="text" text for the label.
SetLabelAlignment ( int index, uint alignment ) : void Set text label alignment for the meter name="index" label index name="alignment" the text alignment to apply to the label
SetLabelColor ( int index, QColor color ) : void Set text label color for the meter name="index" label index name="color" the color to apply to the label
SetLabelFont ( int index, QFont font ) : void Set text label font for the meter name="index" label index name="font" the font to apply to the label

Protected Methods

Method Description
CreateProxy ( ) : void
Meter ( Type dummy ) : System

Private Methods

Method Description
DataUpdated ( string sourceName, QVariant>.Dictionary data ) : void
Paint ( QPainter p, QStyleOptionGraphicsItem option ) : void
Paint ( QPainter p, QStyleOptionGraphicsItem option, QWidget widget ) : void
SetMaximum ( int maximum ) : void
SetMinimum ( int minimum ) : void
SetValue ( int value ) : void

Method Details

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Label() public method

name="index" label index
public Label ( int index ) : string
index int
return string

LabelAlignment() public method

name="index" label index
public LabelAlignment ( int index ) : uint
index int
return uint

LabelColor() public method

name="index" label index
public LabelColor ( int index ) : QColor
index int
return Qyoto.QColor

LabelFont() public method

name="index" label index
public LabelFont ( int index ) : QFont
index int
return Qyoto.QFont

LabelRect() public method

name="index" label index
public LabelRect ( int index ) : Qyoto.QRectF
index int
return Qyoto.QRectF

Meter() public method

public Meter ( ) : System
return System

Meter() public method

Constructor name="parent" the QGraphicsItem this meter is parented to. name="parent" the QObject this meter is parented to.
public Meter ( IQGraphicsItem parent ) : System
parent IQGraphicsItem
return System

Meter() protected method

protected Meter ( Type dummy ) : System
dummy System.Type
return System

SetLabel() public method

Set text label for the meter name="index" label index. name="text" text for the label.
public SetLabel ( int index, string text ) : void
index int
text string
return void

SetLabelAlignment() public method

Set text label alignment for the meter name="index" label index name="alignment" the text alignment to apply to the label
public SetLabelAlignment ( int index, uint alignment ) : void
index int
alignment uint
return void

SetLabelColor() public method

Set text label color for the meter name="index" label index name="color" the color to apply to the label
public SetLabelColor ( int index, QColor color ) : void
index int
color Qyoto.QColor
return void

SetLabelFont() public method

Set text label font for the meter name="index" label index name="font" the font to apply to the label
public SetLabelFont ( int index, QFont font ) : void
index int
font Qyoto.QFont
return void