/*
-@version: 0.4
+@version: 0.5
@author: Sudheer K. <scifi1947 at gmail.com>
@license: GNU General Public License
*/
Item {
id: tickerTab
property int componentWidth
- property int itemHeight
+ property int itemHeight: 75
signal logRequest(string strMessage)
Component.onCompleted: {
logRequest("Removing symbol "+symbol+" at index "+index);
var result = DBUtility.removeSymbol(symbol);
- if (result != "Error"){
+ if (result !== "Error"){
symbolsListModel.remove(index);
}
else{
var result = DBUtility.addSymbol(symbol);
logRequest("Result is "+result);
- if (result != "Error"){
+ if (result !== "Error"){
symbolsListModel.append({"symbol": symbol});
}
else{
verticalAlignment: Text.AlignVCenter
width: parent.width - 120;
height: parent.height
- font.pixelSize: 18;
+ font.pixelSize: 24;
font.bold: true;
elide: Text.ElideRight;
color: "white";
width: componentWidth
height: itemHeight;
anchors.top: parent.top
+ z: 5
color: "#343434"
Item {
anchors.leftMargin: 5
anchors.verticalCenter: parent.verticalCenter
maximumLength:25
- font.pixelSize: 18
+ font.pixelSize: 24
font.bold: true
font.capitalization: Font.AllUppercase
inputMethodHints: Qt.ImhNoPredictiveText
Rectangle{
id: footerTextArea
width: parent.width
- height: itemHeight
- z: 5
+ height: 25
+ //z: 5
color: "#343434"
anchors.bottom: parent.bottom
Text {