mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 00:08:13 +00:00
26 lines
731 B
QML
26 lines
731 B
QML
import QtQuick
|
|
import QtQuick.Effects
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls.Basic as Control
|
|
import Linphone
|
|
import UtilsCpp
|
|
import SettingsCpp
|
|
|
|
AbstractSettingsMenu {
|
|
layoutsPath: "qrc:/qt/qml/Linphone/view/Page/Layout/Settings"
|
|
titleText: qsTr("Mon compte")
|
|
property AccountProxy accounts: AccountProxy {
|
|
id: accountProxy
|
|
sourceModel: AppCpp.accounts
|
|
}
|
|
property AccountGui account: accountProxy.defaultAccount
|
|
signal accountRemoved()
|
|
families: [
|
|
{title: qsTr("Général"), layout: "AccountSettingsGeneralLayout", model: account},
|
|
{title: qsTr("Paramètres de compte"), layout: "AccountSettingsParametersLayout", model: account}
|
|
]
|
|
Connections {
|
|
target: account.core
|
|
onRemoved: accountRemoved()
|
|
}
|
|
}
|