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

This commit is contained in:
Ronan Abhamon 2017-02-13 16:32:58 +01:00
parent 9af64709d7
commit a0431801b5
10 changed files with 102 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
import Common.Styles 1.0

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Controls 2.0
// =============================================================================

View file

@ -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

View file

@ -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
}
}

View file

@ -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.
// -------------------------------------------------------------------------
}
}

View file

@ -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