Add qml item StateLabel
This commit is contained in:
parent
3b137c0326
commit
13cd76e8ac
3 changed files with 12 additions and 0 deletions
|
@ -38,6 +38,7 @@ SET( Plugin_EXTRA
|
|||
main.qml
|
||||
qmldir
|
||||
row_bg.png
|
||||
StateLabel.qml
|
||||
tellstick.png
|
||||
tellstick_duo.png
|
||||
)
|
||||
|
|
10
telldus-gui/Plugins/Controllers/StateLabel.qml
Normal file
10
telldus-gui/Plugins/Controllers/StateLabel.qml
Normal file
|
@ -0,0 +1,10 @@
|
|||
import QtQuick 1.1
|
||||
import QtDesktop 0.1
|
||||
|
||||
Text {
|
||||
property int currentState: -1
|
||||
property int state: 0
|
||||
id: stateLabel;
|
||||
text: ""
|
||||
font.bold: state == currentState
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
HeaderTitle 1.0 HeaderTitle.qml
|
||||
ControllerView 1.0 ControllerView.qml
|
||||
StateLabel 1.0 StateLabel.qml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue