C# Class Plasma.Meter

Inheritance: Qyoto.QGraphicsWidget, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross Class Usage Examples

Private Properties

Свойство Type Description
DataUpdated void
Paint void
Paint void
SetMaximum void
SetMinimum void
SetValue void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
Meter ( Type dummy ) : System

Private Methods

Méthode 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 méthode

protected CreateProxy ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Label() public méthode

name="index" label index
public Label ( int index ) : string
index int
Résultat string

LabelAlignment() public méthode

name="index" label index
public LabelAlignment ( int index ) : uint
index int
Résultat uint

LabelColor() public méthode

name="index" label index
public LabelColor ( int index ) : QColor
index int
Résultat Qyoto.QColor

LabelFont() public méthode

name="index" label index
public LabelFont ( int index ) : QFont
index int
Résultat Qyoto.QFont

LabelRect() public méthode

name="index" label index
public LabelRect ( int index ) : Qyoto.QRectF
index int
Résultat Qyoto.QRectF

Meter() public méthode

public Meter ( ) : System
Résultat System

Meter() public méthode

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
Résultat System

Meter() protected méthode

protected Meter ( Type dummy ) : System
dummy System.Type
Résultat System

SetLabel() public méthode

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
Résultat void

SetLabelAlignment() public méthode

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
Résultat void

SetLabelColor() public méthode

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
Résultat void

SetLabelFont() public méthode

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
Résultat void