mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
feat(ui/views/App/Settings/SettingsNetwork): view in progress
This commit is contained in:
parent
9af64709d7
commit
a0431801b5
10 changed files with 102 additions and 7 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB |
|
|
@ -557,6 +557,29 @@ Server url not configured.</translation>
|
|||
<translation>Delay (in ms)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsNetwork</name>
|
||||
<message>
|
||||
<source>forceMtuLabel</source>
|
||||
<translation>Forcer MTU</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>mtuLabel</source>
|
||||
<translation>MTU</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>sendDtmfsLabel</source>
|
||||
<translation>Send DTMFs as SIP info</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>allowIpV6Label</source>
|
||||
<translation>Allow IPv6</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>transportTitle</source>
|
||||
<translation>Transport</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsWindow</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -567,6 +567,29 @@ Url du serveur non configurée.</translation>
|
|||
<translation>Délai (en ms)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsNetwork</name>
|
||||
<message>
|
||||
<source>forceMtuLabel</source>
|
||||
<translation>Forcer MTU</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>mtuLabel</source>
|
||||
<translation>MTU</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>sendDtmfsLabel</source>
|
||||
<translation>Envoyer DTMFs en SIP info</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>allowIpV6Label</source>
|
||||
<translation>Autoriser IPv6</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>transportTitle</source>
|
||||
<translation>Transport</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsWindow</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import Common 1.0
|
||||
import Common.Styles 1.0
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
import Common.Styles 1.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
// =============================================================================
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.1 as Controls
|
||||
import QtQuick.Controls 2.0 as Controls
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import Common 1.0
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@ QtObject {
|
|||
|
||||
property QtObject content: QtObject {
|
||||
property int height: 300
|
||||
property int width: 300
|
||||
property int width: 200
|
||||
}
|
||||
|
||||
property QtObject legend: QtObject {
|
||||
property color color: Colors.j
|
||||
property int fontSize: 10
|
||||
property int height: 36
|
||||
property int width: 150
|
||||
property int width: 200
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,57 @@ import QtQuick 2.7
|
|||
|
||||
import Common 1.0
|
||||
|
||||
import App.Styles 1.0
|
||||
|
||||
// =============================================================================
|
||||
|
||||
TabContainer {
|
||||
Column {
|
||||
anchors.fill: parent
|
||||
spacing: SettingsWindowStyle.forms.spacing
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Transport.
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Form {
|
||||
title: qsTr('transportTitle')
|
||||
width: parent.width
|
||||
|
||||
FormLine {
|
||||
FormGroup {
|
||||
label: qsTr('forceMtuLabel')
|
||||
|
||||
Switch {
|
||||
id: forceMtu
|
||||
}
|
||||
}
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('mtuLabel')
|
||||
|
||||
NumericField {
|
||||
readOnly: !forceMtu.checked
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('sendDtmfsLabel')
|
||||
|
||||
Switch {}
|
||||
}
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('allowIpV6Label')
|
||||
|
||||
Switch {}
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Network protocol and ports.
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import Common 1.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue