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
e84c5e2e
Commit
e84c5e2e
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
4404cca2
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
84 additions
and
47 deletions
+84
-47
en.ts
linphone-desktop/assets/languages/en.ts
+4
-4
fr.ts
linphone-desktop/assets/languages/fr.ts
+4
-4
resources.qrc
linphone-desktop/resources.qrc
+7
-6
Form.qml
linphone-desktop/ui/modules/Common/Form/Placements/Form.qml
+0
-0
FormEntry.qml
...e-desktop/ui/modules/Common/Form/Placements/FormEntry.qml
+30
-0
FormGroup.qml
...e-desktop/ui/modules/Common/Form/Placements/FormGroup.qml
+6
-5
FormLine.qml
...ne-desktop/ui/modules/Common/Form/Placements/FormLine.qml
+0
-0
FormGroupStyle.qml
.../modules/Common/Styles/Form/Placements/FormGroupStyle.qml
+0
-0
FormLineStyle.qml
...i/modules/Common/Styles/Form/Placements/FormLineStyle.qml
+0
-0
FormStyle.qml
...op/ui/modules/Common/Styles/Form/Placements/FormStyle.qml
+0
-0
qmldir
linphone-desktop/ui/modules/Common/Styles/qmldir
+4
-3
qmldir
linphone-desktop/ui/modules/Common/qmldir
+5
-3
SettingsNetwork.qml
linphone-desktop/ui/views/App/Settings/SettingsNetwork.qml
+24
-22
No files found.
linphone-desktop/assets/languages/en.ts
View file @
e84c5e2e
...
...
@@ -613,7 +613,7 @@ Server url not configured.</translation>
<
/message
>
<
message
>
<
source
>
randomSipUdpPortLabel
<
/source
>
<
translation
>
Random
<
/translation
>
<
translation
type
=
"
vanished
"
>
Random
<
/translation
>
<
/message
>
<
message
>
<
source
>
sipTcpPortLabel
<
/source
>
...
...
@@ -621,7 +621,7 @@ Server url not configured.</translation>
<
/message
>
<
message
>
<
source
>
randomSipTcpPortLabel
<
/source
>
<
translation
>
Random
<
/translation
>
<
translation
type
=
"
vanished
"
>
Random
<
/translation
>
<
/message
>
<
message
>
<
source
>
audioRtpUdpPortLabel
<
/source
>
...
...
@@ -629,11 +629,11 @@ Server url not configured.</translation>
<
/message
>
<
message
>
<
source
>
randomAudioRtpUdpPortLabel
<
/source
>
<
translation
>
Random
<
/translation
>
<
translation
type
=
"
vanished
"
>
Random
<
/translation
>
<
/message
>
<
message
>
<
source
>
randomVideoRtpUdpPortLabel
<
/source
>
<
translation
>
Random
<
/translation
>
<
translation
type
=
"
vanished
"
>
Random
<
/translation
>
<
/message
>
<
message
>
<
source
>
videoRtpUdpPortLabel
<
/source
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
e84c5e2e
...
...
@@ -623,7 +623,7 @@ Url du serveur non configurée.</translation>
<
/message
>
<
message
>
<
source
>
randomSipUdpPortLabel
<
/source
>
<
translation
>
Al
é
atoire
<
/translation
>
<
translation
type
=
"
vanished
"
>
Al
é
atoire
<
/translation
>
<
/message
>
<
message
>
<
source
>
sipTcpPortLabel
<
/source
>
...
...
@@ -631,7 +631,7 @@ Url du serveur non configurée.</translation>
<
/message
>
<
message
>
<
source
>
randomSipTcpPortLabel
<
/source
>
<
translation
>
Al
é
atoire
<
/translation
>
<
translation
type
=
"
vanished
"
>
Al
é
atoire
<
/translation
>
<
/message
>
<
message
>
<
source
>
audioRtpUdpPortLabel
<
/source
>
...
...
@@ -639,11 +639,11 @@ Url du serveur non configurée.</translation>
<
/message
>
<
message
>
<
source
>
randomAudioRtpUdpPortLabel
<
/source
>
<
translation
>
Al
é
atoire
<
/translation
>
<
translation
type
=
"
vanished
"
>
Al
é
atoire
<
/translation
>
<
/message
>
<
message
>
<
source
>
randomVideoRtpUdpPortLabel
<
/source
>
<
translation
>
Al
é
atoire
<
/translation
>
<
translation
type
=
"
vanished
"
>
Al
é
atoire
<
/translation
>
<
/message
>
<
message
>
<
source
>
videoRtpUdpPortLabel
<
/source
>
...
...
linphone-desktop/resources.qrc
View file @
e84c5e2e
...
...
@@ -181,10 +181,11 @@
<file>
ui/modules/Common/Form/ExclusiveButtons.qml
</file>
<file>
ui/modules/Common/Form/Fields/NumericField.qml
</file>
<file>
ui/modules/Common/Form/Fields/TextField.qml
</file>
<file>
ui/modules/Common/Form/FormGroup.qml
</file>
<file>
ui/modules/Common/Form/FormLine.qml
</file>
<file>
ui/modules/Common/Form/Form.qml
</file>
<file>
ui/modules/Common/Form/ListForm.qml
</file>
<file>
ui/modules/Common/Form/Placements/FormEntry.qml
</file>
<file>
ui/modules/Common/Form/Placements/FormGroup.qml
</file>
<file>
ui/modules/Common/Form/Placements/FormLine.qml
</file>
<file>
ui/modules/Common/Form/Placements/Form.qml
</file>
<file>
ui/modules/Common/Form/SmallButton.qml
</file>
<file>
ui/modules/Common/Form/StaticListForm.qml
</file>
<file>
ui/modules/Common/Form/Switch.qml
</file>
...
...
@@ -221,10 +222,10 @@
<file>
ui/modules/Common/Styles/Form/ExclusiveButtonsStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Fields/NumericFieldStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Fields/TextFieldStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/FormGroupStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/FormLineStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/FormStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/ListFormStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Placements/FormGroupStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Placements/FormLineStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Placements/FormStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/SmallButtonStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/SwitchStyle.qml
</file>
<file>
ui/modules/Common/Styles/Form/Tab/TabButtonStyle.qml
</file>
...
...
linphone-desktop/ui/modules/Common/Form/Form.qml
→
linphone-desktop/ui/modules/Common/Form/
Placements/
Form.qml
View file @
e84c5e2e
File moved
linphone-desktop/ui/modules/Common/Form/Placements/FormEntry.qml
0 → 100644
View file @
e84c5e2e
import
QtQuick
2.7
import
QtQuick
.
Layouts
1.3
import
Common
.
Styles
1.0
// =============================================================================
// Like a `FormGroup` but without label.
// =============================================================================
RowLayout
{
default
property
alias
_content
:
content
.
data
// ---------------------------------------------------------------------------
spacing
:
0
width
:
FormGroupStyle
.
content
.
width
Item
{
id
:
content
readonly
property
int
currentHeight
:
_content
[
0
]
?
_content
[
0
].
height
:
0
Layout.alignment
:
(
currentHeight
<
FormGroupStyle
.
legend
.
height
?
Qt
.
AlignVCenter
:
Qt
.
AlignTop
)
|
Qt
.
AlignHCenter
Layout.preferredHeight
:
currentHeight
Layout.maximumWidth
:
FormGroupStyle
.
content
.
width
}
}
linphone-desktop/ui/modules/Common/Form/FormGroup.qml
→
linphone-desktop/ui/modules/Common/Form/
Placements/
FormGroup.qml
View file @
e84c5e2e
...
...
@@ -31,13 +31,14 @@ RowLayout {
Item
{
id
:
content
Layout.alignment
:
{
var
height
=
_content
[
0
]
?
_content
[
0
].
height
:
0
return
height
<
label
.
height
?
Qt
.
AlignVCenter
:
Qt
.
AlignTop
}
readonly
property
int
currentHeight
:
_content
[
0
]
?
_content
[
0
].
height
:
0
Layout.alignment
:
currentHeight
<
FormGroupStyle
.
legend
.
height
?
Qt
.
AlignVCenter
:
Qt
.
AlignTop
Layout.maximumWidth
:
FormGroupStyle
.
content
.
width
Layout.preferredHeight
:
_content
[
0
]
?
_content
[
0
].
height
:
0
Layout.preferredHeight
:
currentHeight
Layout.preferredWidth
:
FormGroupStyle
.
content
.
width
}
}
linphone-desktop/ui/modules/Common/Form/FormLine.qml
→
linphone-desktop/ui/modules/Common/Form/
Placements/
FormLine.qml
View file @
e84c5e2e
File moved
linphone-desktop/ui/modules/Common/Styles/Form/FormGroupStyle.qml
→
linphone-desktop/ui/modules/Common/Styles/Form/
Placements/
FormGroupStyle.qml
View file @
e84c5e2e
File moved
linphone-desktop/ui/modules/Common/Styles/Form/FormLineStyle.qml
→
linphone-desktop/ui/modules/Common/Styles/Form/
Placements/
FormLineStyle.qml
View file @
e84c5e2e
File moved
linphone-desktop/ui/modules/Common/Styles/Form/FormStyle.qml
→
linphone-desktop/ui/modules/Common/Styles/Form/
Placements/
FormStyle.qml
View file @
e84c5e2e
File moved
linphone-desktop/ui/modules/Common/Styles/qmldir
View file @
e84c5e2e
...
...
@@ -17,6 +17,10 @@ singleton ForceScrollBarStyle 1.0 ForceScrollBarStyle.qml
singleton NumericFieldStyle 1.0 Form/Fields/NumericFieldStyle.qml
singleton TextFieldStyle 1.0 Form/Fields/TextFieldStyle.qml
singleton FormGroupStyle 1.0 Form/Placements/FormGroupStyle.qml
singleton FormLineStyle 1.0 Form/Placements/FormLineStyle.qml
singleton FormStyle 1.0 Form/Placements/FormStyle.qml
singleton TabButtonStyle 1.0 Form/Tab/TabButtonStyle.qml
singleton TabContainerStyle 1.0 Form/Tab/TabContainerStyle.qml
...
...
@@ -24,9 +28,6 @@ singleton AbstractTextButtonStyle 1.0 Form/AbstractTextButtonStyle.qml
singleton ActionBarStyle 1.0 Form/ActionBarStyle.qml
singleton CheckBoxTextStyle 1.0 Form/CheckBoxTextStyle.qml
singleton ExclusiveButtonsStyle 1.0 Form/ExclusiveButtonsStyle.qml
singleton FormGroupStyle 1.0 Form/FormGroupStyle.qml
singleton FormLineStyle 1.0 Form/FormLineStyle.qml
singleton FormStyle 1.0 Form/FormStyle.qml
singleton ListFormStyle 1.0 Form/ListFormStyle.qml
singleton SmallButtonStyle 1.0 Form/SmallButtonStyle.qml
singleton SwitchStyle 1.0 Form/SwitchStyle.qml
...
...
linphone-desktop/ui/modules/Common/qmldir
View file @
e84c5e2e
...
...
@@ -34,6 +34,11 @@ ForceScrollBar 1.0 ForceScrollBar.qml
NumericField 1.0 Form/Fields/NumericField.qml
TextField 1.0 Form/Fields/TextField.qml
Form 1.0 Form/Placements/Form.qml
FormEntry 1.0 Form/Placements/FormEntry.qml
FormGroup 1.0 Form/Placements/FormGroup.qml
FormLine 1.0 Form/Placements/FormLine.qml
TabBar 1.0 Form/Tab/TabBar.qml
TabButton 1.0 Form/Tab/TabButton.qml
TabContainer 1.0 Form/Tab/TabContainer.qml
...
...
@@ -43,9 +48,6 @@ ActionButton 1.0 Form/ActionButton.qml
ActionSwitch 1.0 Form/ActionSwitch.qml
CheckBoxText 1.0 Form/CheckBoxText.qml
ExclusiveButtons 1.0 Form/ExclusiveButtons.qml
Form 1.0 Form/Form.qml
FormGroup 1.0 Form/FormGroup.qml
FormLine 1.0 Form/FormLine.qml
LightButton 1.0 Form/LightButton.qml
ListForm 1.0 Form/ListForm.qml
StaticListForm 1.0 Form/StaticListForm.qml
...
...
linphone-desktop/ui/views/App/Settings/SettingsNetwork.qml
View file @
e84c5e2e
...
...
@@ -67,9 +67,7 @@ TabContainer {
}
}
FormGroup
{
label
:
qsTr
(
'
randomSipUdpPortLabel
'
)
FormEntry
{
Switch
{
id
:
randomSipUdpPort
...
...
@@ -77,8 +75,10 @@ TabContainer {
}
}
Switch
{
id
:
enableSipUdpPort
FormEntry
{
Switch
{
id
:
enableSipUdpPort
}
}
}
...
...
@@ -91,9 +91,7 @@ TabContainer {
}
}
FormGroup
{
label
:
qsTr
(
'
randomSipTcpPortLabel
'
)
FormEntry
{
Switch
{
id
:
randomSipTcpPort
...
...
@@ -101,8 +99,10 @@ TabContainer {
}
}
Switch
{
id
:
enableSipTcpPort
FormEntry
{
Switch
{
id
:
enableSipTcpPort
}
}
}
...
...
@@ -115,9 +115,7 @@ TabContainer {
}
}
FormGroup
{
label
:
qsTr
(
'
randomAudioRtpUdpPortLabel
'
)
FormEntry
{
Switch
{
id
:
randomAudioRtpUdpPort
...
...
@@ -125,8 +123,10 @@ TabContainer {
}
}
Switch
{
id
:
enableAudioRtpUdpPort
FormEntry
{
Switch
{
id
:
enableAudioRtpUdpPort
}
}
}
...
...
@@ -139,9 +139,7 @@ TabContainer {
}
}
FormGroup
{
label
:
qsTr
(
'
randomVideoRtpUdpPortLabel
'
)
FormEntry
{
Switch
{
id
:
randomVideoRtpUdpPort
...
...
@@ -149,8 +147,10 @@ TabContainer {
}
}
Switch
{
id
:
enableVideoRtpUdpPort
FormEntry
{
Switch
{
id
:
enableVideoRtpUdpPort
}
}
}
}
...
...
@@ -187,6 +187,8 @@ TabContainer {
Switch
{
id
:
enableTurn
enabled
:
enableIce
.
checked
}
}
...
...
@@ -194,7 +196,7 @@ TabContainer {
label
:
qsTr
(
'
turnUserLabel
'
)
TextField
{
readOnly
:
!
enableTurn
.
checked
readOnly
:
!
enableTurn
.
checked
||
!
enableTurn
.
enabled
}
}
}
...
...
@@ -209,7 +211,7 @@ TabContainer {
TextField
{
echoMode
:
TextInput
.
Password
readOnly
:
!
enableTurn
.
checked
readOnly
:
!
enableTurn
.
checked
||
!
enableTurn
.
enabled
}
}
}
...
...
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