2 import com.nokia.meego 1.0
3 import "Library/js/DBUtility.js" as DBUtility
4 import "Library/js/CoreLogic.js" as Core
10 Component.onCompleted: {
11 DBUtility.initialize();
21 anchors.top:parent.top
22 width: parent.width ; height: parent.height/10
28 anchors.centerIn: parent //#cccccc
29 font.pointSize: 16; horizontalAlignment: Text.AlignLeft; elide: Text.ElideLeft; color: "black"; style: Text.Raised; styleColor: "black"
31 text: qsTr("VICaR - Rules")
38 anchors {top: headerRect.bottom; bottom: parent.bottom}
66 font.pointSize: 16; horizontalAlignment: Text.AlignLeft; elide: Text.ElideLeft; color: "black"; style: Text.Raised; styleColor: "black"
67 text: "For #s starting with "+numberpattern+ ", use "+gatewaynumber;
72 ruleContextMenu.ruleID = id;
73 console.log("Setting Rule ID as "+id);
74 ruleContextMenu.open();
88 Core.editRule(ruleContextMenu.ruleID);
94 DBUtility.removeRule(ruleContextMenu.ruleID);
106 anchors.centerIn: parent
107 text: qsTr("Add rules for call routing.")