forked from brmlab/brmbar-github
Brmbar v3: Support for simple GUI
All the CLI functionality implemented in the GUI.
This commit is contained in:
parent
049271118d
commit
e428d28e20
15 changed files with 973 additions and 2 deletions
38
brmbar3/brmbar-gui-qt4/BarTextHint.qml
Normal file
38
brmbar3/brmbar-gui-qt4/BarTextHint.qml
Normal file
|
@ -0,0 +1,38 @@
|
|||
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
|
||||
import QtQuick 1.1
|
||||
|
||||
Item {
|
||||
id: main_hint
|
||||
width: 894
|
||||
height: 80
|
||||
|
||||
property variant hint_goal: ""
|
||||
property variant hint_action: ""
|
||||
|
||||
Text {
|
||||
id: text1
|
||||
x: 0
|
||||
y: 0
|
||||
color: "#ffffff"
|
||||
text: parent.hint_goal
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 0
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 0
|
||||
font.pointSize: 44
|
||||
}
|
||||
|
||||
Text {
|
||||
id: text2
|
||||
x: 11
|
||||
color: "#40ff5d";
|
||||
text: parent.hint_action;
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 0
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 0
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 0
|
||||
transformOrigin: Item.Center; smooth: true; font.bold: false; wrapMode: Text.NoWrap; font.pointSize: 44;horizontalAlignment: Text.AlignHCenter
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue