Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
452bab8a
Commit
452bab8a
authored
Feb 14, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Settings/SettingsNetwork): view in progress
parent
fca682a1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
126 additions
and
2 deletions
+126
-2
en.ts
linphone-desktop/assets/languages/en.ts
+28
-0
fr.ts
linphone-desktop/assets/languages/fr.ts
+28
-0
FormGroup.qml
linphone-desktop/ui/modules/Common/Form/FormGroup.qml
+2
-2
SettingsNetwork.qml
linphone-desktop/ui/views/App/Settings/SettingsNetwork.qml
+68
-0
No files found.
linphone-desktop/assets/languages/en.ts
View file @
452bab8a
...
...
@@ -579,6 +579,34 @@ Server url not configured.</translation>
<
source
>
transportTitle
<
/source
>
<
translation
>
Transport
<
/translation
>
<
/message
>
<
message
>
<
source
>
natAndFirewallTitle
<
/source
>
<
translation
>
NAT
and
Firewall
<
/translation
>
<
/message
>
<
message
>
<
source
>
enableIceLabel
<
/source
>
<
translation
>
Enable
ICE
<
/translation
>
<
/message
>
<
message
>
<
source
>
stunServerLabel
<
/source
>
<
translation
>
STUN
/
TURN
server
<
/translation
>
<
/message
>
<
message
>
<
source
>
enableTurnLabel
<
/source
>
<
translation
>
Enable
TURN
<
/translation
>
<
/message
>
<
message
>
<
source
>
turnUserLabel
<
/source
>
<
translation
>
TURN
user
<
/translation
>
<
/message
>
<
message
>
<
source
>
turnPasswordLabel
<
/source
>
<
translation
>
TURN
password
<
/translation
>
<
/message
>
<
message
>
<
source
>
networkProtocolAndPortsTitle
<
/source
>
<
translation
>
Network
protocol
and
Ports
<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
SettingsWindow
<
/name
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
452bab8a
...
...
@@ -589,6 +589,34 @@ Url du serveur non configurée.</translation>
<
source
>
transportTitle
<
/source
>
<
translation
>
Transport
<
/translation
>
<
/message
>
<
message
>
<
source
>
natAndFirewallTitle
<
/source
>
<
translation
>
NAT
et
Pare
-
feu
<
/translation
>
<
/message
>
<
message
>
<
source
>
enableIceLabel
<
/source
>
<
translation
>
Activer
ICE
<
/translation
>
<
/message
>
<
message
>
<
source
>
stunServerLabel
<
/source
>
<
translation
>
Serveur
STUN
/
TURN
<
/translation
>
<
/message
>
<
message
>
<
source
>
enableTurnLabel
<
/source
>
<
translation
>
Activer
TURN
<
/translation
>
<
/message
>
<
message
>
<
source
>
turnUserLabel
<
/source
>
<
translation
>
Utilisateur
TURN
<
/translation
>
<
/message
>
<
message
>
<
source
>
turnPasswordLabel
<
/source
>
<
translation
>
Mot
de
passe
TURN
<
/translation
>
<
/message
>
<
message
>
<
source
>
networkProtocolAndPortsTitle
<
/source
>
<
translation
>
Protocol
r
é
seau
et
ports
<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
SettingsWindow
<
/name
>
...
...
linphone-desktop/ui/modules/Common/Form/FormGroup.qml
View file @
452bab8a
...
...
@@ -32,12 +32,12 @@ RowLayout {
id
:
content
Layout.alignment
:
{
var
height
=
_content
[
0
]
.
height
var
height
=
_content
[
0
]
?
_content
[
0
].
height
:
0
return
height
<
label
.
height
?
Qt
.
AlignVCenter
:
Qt
.
AlignTop
}
Layout.maximumWidth
:
FormGroupStyle
.
content
.
width
Layout.preferredHeight
:
_content
[
0
]
.
height
Layout.preferredHeight
:
_content
[
0
]
?
_content
[
0
].
height
:
0
Layout.preferredWidth
:
FormGroupStyle
.
content
.
width
}
}
linphone-desktop/ui/views/App/Settings/SettingsNetwork.qml
View file @
452bab8a
...
...
@@ -54,5 +54,73 @@ TabContainer {
// Network protocol and ports.
// -------------------------------------------------------------------------
Form
{
title
:
qsTr
(
'
networkProtocolAndPortsTitle
'
)
width
:
parent
.
width
FormLine
{
}
}
// -------------------------------------------------------------------------
// NAT and Firewall.
// -------------------------------------------------------------------------
Form
{
title
:
qsTr
(
'
natAndFirewallTitle
'
)
width
:
parent
.
width
FormLine
{
FormGroup
{
label
:
qsTr
(
'
enableIceLabel
'
)
Switch
{
id
:
enableIce
}
}
FormGroup
{
label
:
qsTr
(
'
stunServerLabel
'
)
TextField
{
readOnly
:
!
enableIce
.
checked
}
}
}
FormLine
{
FormGroup
{
label
:
qsTr
(
'
enableTurnLabel
'
)
Switch
{
id
:
enableTurn
}
}
FormGroup
{
label
:
qsTr
(
'
turnUserLabel
'
)
TextField
{
readOnly
:
!
enableTurn
.
checked
}
}
}
FormLine
{
FormGroup
{
label
:
''
}
FormGroup
{
label
:
qsTr
(
'
turnPasswordLabel
'
)
TextField
{
echoMode
:
TextInput
.
Password
readOnly
:
!
enableTurn
.
checked
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment