mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-19 04:18:08 +00:00
Delay its execution on startup. Add auto_apply_provisioning_config_uri_handler rc to remove confirmations. Default URL uses https. Fix dialog description with wrapping text and elides. Fix busy color. Fix duplicate connections on restarting App that done multiple CLI commands.
35 lines
1 KiB
QML
35 lines
1 KiB
QML
import QtQuick 2.7
|
|
|
|
import Common.Styles 1.0
|
|
|
|
// =============================================================================
|
|
// Description content used by dialogs.
|
|
// =============================================================================
|
|
|
|
Item {
|
|
property alias text: description.text
|
|
property alias horizontalAlignment: description.horizontalAlignment
|
|
property int marginOffset: 0
|
|
|
|
height: !text ? (DialogStyle.description.verticalMargin + marginOffset) : undefined
|
|
implicitHeight: text
|
|
? description.implicitHeight + (DialogStyle.description.verticalMargin + marginOffset) * 2
|
|
: 0
|
|
|
|
Text {
|
|
id: description
|
|
|
|
anchors {
|
|
fill: parent
|
|
leftMargin: DialogStyle.description.leftMargin
|
|
rightMargin: DialogStyle.description.rightMargin
|
|
}
|
|
|
|
color: DialogStyle.description.colorModel.color
|
|
font.pointSize: DialogStyle.description.pointSize
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
wrapMode: Text.Wrap
|
|
elide: Text.ElideRight
|
|
}
|
|
}
|