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
b5ad7eb5
Commit
b5ad7eb5
authored
Feb 10, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Settings/SettingsWindow): fill tab bar
parent
ece8e32f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
30 deletions
+46
-30
SettingsWindow.qml
linphone-desktop/ui/views/App/Settings/SettingsWindow.qml
+46
-30
No files found.
linphone-desktop/ui/views/App/Settings/SettingsWindow.qml
View file @
b5ad7eb5
...
@@ -3,12 +3,15 @@ import QtQuick.Controls 2.1
...
@@ -3,12 +3,15 @@ import QtQuick.Controls 2.1
import
QtQuick
.
Layouts
1.3
import
QtQuick
.
Layouts
1.3
import
Common
1.0
import
Common
1.0
import
Common
.
Styles
1.0
import
App
.
Styles
1.0
import
App
.
Styles
1.0
// =============================================================================
// =============================================================================
ApplicationWindow
{
ApplicationWindow
{
id
:
window
height
:
SettingsWindowStyle
.
height
height
:
SettingsWindowStyle
.
height
width
:
SettingsWindowStyle
.
width
width
:
SettingsWindowStyle
.
width
...
@@ -29,39 +32,49 @@ ApplicationWindow {
...
@@ -29,39 +32,49 @@ ApplicationWindow {
// Navigation bar.
// Navigation bar.
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
TabBar
{
RowLayout
{
id
:
navigationBar
Layout.fillWidth
:
true
Layout.fillWidth
:
true
spacing
:
0
TabButton
{
text
:
qsTr
(
'
sipAccountsTab
'
)
TabBar
{
width
:
implicitWidth
id
:
tabBar
}
TabButton
{
TabButton
{
text
:
qsTr
(
'
sipAccountsTab
'
)
text
:
qsTr
(
'
audioTab
'
)
width
:
implicitWidth
width
:
implicitWidth
}
}
TabButton
{
TabButton
{
text
:
qsTr
(
'
audioTab
'
)
text
:
qsTr
(
'
videoTab
'
)
width
:
implicitWidth
width
:
implicitWidth
}
}
TabButton
{
TabButton
{
text
:
qsTr
(
'
videoTab
'
)
text
:
qsTr
(
'
callsAndChatTab
'
)
width
:
implicitWidth
width
:
implicitWidth
}
TabButton
{
text
:
qsTr
(
'
callsAndChatTab
'
)
width
:
implicitWidth
}
TabButton
{
text
:
qsTr
(
'
networkTab
'
)
width
:
implicitWidth
}
TabButton
{
text
:
qsTr
(
'
uiTab
'
)
width
:
implicitWidth
}
}
}
TabButton
{
Rectangle
{
text
:
qsTr
(
'
networkTab
'
)
Layout.fillWidth
:
true
width
:
implicitWidth
Layout.preferredHeight
:
TabButtonStyle
.
text
.
height
}
TabButton
{
color
:
TabButtonStyle
.
backgroundColor
.
normal
text
:
qsTr
(
'
uiTab
'
)
width
:
implicitWidth
}
}
}
}
...
@@ -72,7 +85,8 @@ ApplicationWindow {
...
@@ -72,7 +85,8 @@ ApplicationWindow {
StackLayout
{
StackLayout
{
Layout.fillHeight
:
true
Layout.fillHeight
:
true
Layout.fillWidth
:
true
Layout.fillWidth
:
true
currentIndex
:
navigationBar
.
currentIndex
currentIndex
:
tabBar
.
currentIndex
SettingsSipAccounts
{}
SettingsSipAccounts
{}
SettingsAudio
{}
SettingsAudio
{}
...
@@ -92,6 +106,8 @@ ApplicationWindow {
...
@@ -92,6 +106,8 @@ ApplicationWindow {
Layout.rightMargin
:
SettingsWindowStyle
.
validButton
.
rightMargin
Layout.rightMargin
:
SettingsWindowStyle
.
validButton
.
rightMargin
text
:
qsTr
(
'
validButton
'
)
text
:
qsTr
(
'
validButton
'
)
onClicked
:
window
.
hide
()
}
}
}
}
}
}
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