mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
fix(qt6): 26 missing qmldir entries, PackageView bgColor fix, SMTP signal names
- Register all new components in qml/MetaBuilder/qmldir - Fix backgroundColor → bgColor in 18 PackageView files - Fix SMTP signal handlers: onHostChanged → onHostEdited (matching actual signals) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -128,7 +128,7 @@ Rectangle {
|
||||
// Service icon
|
||||
CAvatar {
|
||||
initials: modelData.icon
|
||||
backgroundColor: modelData.connected ? Theme.primary : Theme.border
|
||||
bgColor: modelData.connected ? Theme.primary : Theme.border
|
||||
}
|
||||
|
||||
// Service info
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -17,7 +17,7 @@ CPaper {
|
||||
|
||||
RowLayout {
|
||||
spacing: 12
|
||||
CAvatar { initials: title.left(2).toUpper(); backgroundColor: Theme.primary }
|
||||
CAvatar { initials: title.left(2).toUpper(); bgColor: Theme.primary }
|
||||
ColumnLayout {
|
||||
spacing: 4
|
||||
CText { variant: "h3"; text: title }
|
||||
|
||||
@@ -182,7 +182,7 @@ Rectangle {
|
||||
|
||||
CAvatar {
|
||||
initials: modelData.icon
|
||||
backgroundColor: statusColor(modelData.status)
|
||||
bgColor: statusColor(modelData.status)
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
||||
@@ -133,11 +133,11 @@ Rectangle {
|
||||
CSmtpServerForm {
|
||||
host: smtpHost; port: smtpPort; username: smtpUsername; password: smtpPassword
|
||||
encryptionIndex: smtpEditor.encryptionIndex; encryptionOptions: smtpEditor.encryptionOptions; connectionStatus: smtpEditor.connectionStatus
|
||||
onHostChanged: function(v) { smtpHost = v; markDirty() }
|
||||
onPortChanged: function(v) { smtpPort = v; markDirty() }
|
||||
onUsernameChanged: function(v) { smtpUsername = v; markDirty() }
|
||||
onPasswordChanged: function(v) { smtpPassword = v; markDirty() }
|
||||
onEncryptionChanged: function(i) { encryptionIndex = i; markDirty() }
|
||||
onHostEdited: function(v) { smtpHost = v; markDirty() }
|
||||
onPortEdited: function(v) { smtpPort = v; markDirty() }
|
||||
onUsernameEdited: function(v) { smtpUsername = v; markDirty() }
|
||||
onPasswordEdited: function(v) { smtpPassword = v; markDirty() }
|
||||
onEncryptionEdited: function(i) { encryptionIndex = i; markDirty() }
|
||||
onTestRequested: testConnection()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user