mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-27 08:49:19 +00:00
46 lines
1.2 KiB
QML
46 lines
1.2 KiB
QML
import QtQuick 2.7
|
|
|
|
import Common 1.0
|
|
import ConstantsCpp 1.0
|
|
import Linphone 1.0
|
|
|
|
import App.Styles 1.0
|
|
|
|
// =============================================================================
|
|
|
|
|
|
AssistantAbstractView {
|
|
description: qsTr('createAppSipAccountDescription')
|
|
title: qsTr('createAppSipAccountTitle').replace('%1', Qt.application.name.toUpperCase())
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// Menu.
|
|
// ---------------------------------------------------------------------------
|
|
|
|
Column {
|
|
anchors.centerIn: parent
|
|
spacing: CreateAppSipAccountStyle.buttons.spacing
|
|
width: CreateAppSipAccountStyle.buttons.button.width
|
|
|
|
TextButtonA {
|
|
visible: SettingsModel.assistantSupportsPhoneNumbers
|
|
text: qsTr('withPhoneNumber')
|
|
|
|
height: CreateAppSipAccountStyle.buttons.button.height
|
|
width: parent.width
|
|
|
|
onClicked: assistant.pushView('CreateAppSipAccountWithPhoneNumber')
|
|
}
|
|
|
|
TextButtonA {
|
|
text: qsTr('withEmailAddress')
|
|
|
|
height: CreateAppSipAccountStyle.buttons.button.height
|
|
width: parent.width
|
|
|
|
onClicked: assistant.pushView('CreateAppSipAccountWithEmail')
|
|
}
|
|
}
|
|
}
|
|
|