Commit a0431801 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Settings/SettingsNetwork): view in progress

parent 9af64709
......@@ -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>
......
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
import Common 1.0
import Common.Styles 1.0
......
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
import Common.Styles 1.0
......
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
// =============================================================================
......
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.
// -------------------------------------------------------------------------
}
}
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import Common 1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment