C# Класс Plasma.Meter

Наследование: Qyoto.QGraphicsWidget, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DataUpdated void
Paint void
Paint void
SetMaximum void
SetMinimum void
SetValue void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
CreateProxy ( ) : void
Meter ( Type dummy ) : System

Приватные методы

Метод Описание
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

Описание методов

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Label() публичный Метод

name="index" label index
public Label ( int index ) : string
index int
Результат string

LabelAlignment() публичный Метод

name="index" label index
public LabelAlignment ( int index ) : uint
index int
Результат uint

LabelColor() публичный Метод

name="index" label index
public LabelColor ( int index ) : QColor
index int
Результат Qyoto.QColor

LabelFont() публичный Метод

name="index" label index
public LabelFont ( int index ) : QFont
index int
Результат Qyoto.QFont

LabelRect() публичный Метод

name="index" label index
public LabelRect ( int index ) : Qyoto.QRectF
index int
Результат Qyoto.QRectF

Meter() публичный Метод

public Meter ( ) : System
Результат System

Meter() публичный Метод

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
Результат System

Meter() защищенный Метод

protected Meter ( Type dummy ) : System
dummy System.Type
Результат System

SetLabel() публичный Метод

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
Результат void

SetLabelAlignment() публичный Метод

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
Результат void

SetLabelColor() публичный Метод

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
Результат void

SetLabelFont() публичный Метод

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
Результат void