Commit 439e8974 authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent dd8c404e
......@@ -675,6 +675,22 @@ Server url not configured.</translation>
<source>videoRtpStreamFieldLabel</source>
<translation>Video RTP Stream</translation>
</message>
<message>
<source>bandwidthControlTitle</source>
<translation>Bandwidth Control</translation>
</message>
<message>
<source>downloadSpeedLimitLabel</source>
<translation>Dowload speed limit in Kbit/sec</translation>
</message>
<message>
<source>uploadSpeedLimitLabel</source>
<translation>Upload speed limit in Kbit/sec</translation>
</message>
<message>
<source>enableAdaptiveRateControlLabel</source>
<translation>Enable adaptive rate control</translation>
</message>
</context>
<context>
<name>SettingsWindow</name>
......
......@@ -615,7 +615,7 @@ Url du serveur non configurée.</translation>
</message>
<message>
<source>networkProtocolAndPortsTitle</source>
<translation>Protocol réseau et ports</translation>
<translation>Protocole réseau et ports</translation>
</message>
<message>
<source>sipUdpPortLabel</source>
......@@ -685,6 +685,22 @@ Url du serveur non configurée.</translation>
<source>videoRtpStreamFieldLabel</source>
<translation>Flux RTP vidéo</translation>
</message>
<message>
<source>bandwidthControlTitle</source>
<translation>Gestion de la bande passante</translation>
</message>
<message>
<source>downloadSpeedLimitLabel</source>
<translation>Limite de débit descendant en Kbit/sec</translation>
</message>
<message>
<source>uploadSpeedLimitLabel</source>
<translation>Limite de débit montant en Kbit/sec</translation>
</message>
<message>
<source>enableAdaptiveRateControlLabel</source>
<translation>Activer le contrôle de débit adaptif</translation>
</message>
</context>
<context>
<name>SettingsWindow</name>
......
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.1
import Common 1.0
import Common.Styles 1.0
......
......@@ -281,5 +281,42 @@ TabContainer {
}
}
}
// -------------------------------------------------------------------------
// Bandwidth control.
// -------------------------------------------------------------------------
Form {
title: qsTr('bandwidthControlTitle')
width: parent.width
FormLine {
FormGroup {
label: qsTr('downloadSpeedLimitLabel')
NumericField {
minValue: 0
maxValue: 100000
}
}
FormGroup {
label: qsTr('uploadSpeedLimitLabel')
NumericField {
minValue: 0
maxValue: 100000
}
}
}
FormLine {
FormGroup {
label: qsTr('enableAdaptiveRateControlLabel')
Switch {}
}
}
}
}
}
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