COnfiguration and systray

This commit is contained in:
2025-03-07 11:58:19 +01:00
parent fb81b764f1
commit 821da47f98
11 changed files with 248 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ GridLayout
ComboBox
{
property string name: "contacttype"
//property string name: "contacttype"
id: contacttype
Layout.fillWidth: true
editable: false
@@ -150,6 +150,7 @@ GridLayout
{
contacts[num_contacts] = {}
contacts[num_contacts]["title"] = title.currentText
contacts[num_contacts]["ctype"] = contacttype.currentText
contacts[num_contacts]["fname"] = firstname.text.trim()
contacts[num_contacts]["lname"] = lastname.text.trim()
contacts[num_contacts]["phone"] = phonenumber.text.trim()
@@ -261,7 +262,7 @@ GridLayout
id: mainRect
Layout.fillWidth: true
implicitHeight: 100
color: "salmon" // firstname.palette.base
color: firstname.palette.base
border.color: firstname.activeFocus? firstname.palette.highlight: firstname.palette.base
clip: true
@@ -310,32 +311,32 @@ GridLayout
//spacing: 3
Text
{
text: qsTr('Name: ') + model.name
text: '<b>' + qsTr('Name: ') + '</b>' + model.name
horizontalAlignment: Text.AlignLeft
color: "white"
}
Text
{
text: qsTr('Telefon: ') + model.phone
text: '<b>' + qsTr('Telefon: ') + '</b>' + model.phone
horizontalAlignment: Text.AlignLeft
color: "white"
}
Text
{
text: qsTr('Handy: ') + model.mobile
text: '<b>' + qsTr('Handy: ') + '</b>' + model.mobile
horizontalAlignment: Text.AlignLeft
color: "white"
}
Text
{
text: qsTr('Position: ') + model.posizion
text: '<b>' + qsTr('Position: ') + '</b>' + model.posizion
horizontalAlignment: Text.AlignLeft
color: "white"
}
Text
{
text: qsTr('Typ: ') + model.cdata
text: '<b>' + qsTr('Typ: ') + '</b>' + model.cdata
horizontalAlignment: Text.AlignLeft
color: "white"
}