메소드 |
설명 |
|
ConnectVisualization ( QObject visualization, uint pollingInterval, Plasma alignment ) : void |
Connects an object to this DataContainer. May be called repeatedly for the same visualization without side effects name="visualization" the object to connect to this DataContainer name="pollingInterval" the time in milliseconds between updates name="alignment" the clock position to align updates to |
|
Data ( ) : QVariant>.Dictionary |
Returns the data for this DataContainer |
|
DataContainer ( ) : System |
|
|
DataContainer ( QObject parent ) : System |
Constructs a default DataContainer that has no name or data associated with it |
|
Dispose ( ) : void |
|
|
RemoveAllData ( ) : void |
Removes all data currently associated with this source If you call removeAllData() on a DataContainer, you need to either trigger the scheduleSourcesUpdated() slot for the data engine it belongs to or call checkForUpdate() on the DataContainer. |
|
SetData ( string key, Qyoto.QVariant value ) : void |
Set a value for a key. This also marks this source as needing to signal an update. If you call setData() directly on a DataContainer, you need to either trigger the scheduleSourcesUpdated() slot for the data engine it belongs to or call checkForUpdate() on the DataContainer. name="key" a string used as the key for the data name="value" a QVariant holding the actual data. If a null or invalid QVariant is passed in and the key currently exists in the data, then the data entry is removed |
|
VisualizationIsConnected ( QObject visualization ) : bool |
|
|