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
b8c168ac
Commit
b8c168ac
authored
Nov 17, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unstable
parent
d59c34d2
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
135 additions
and
85 deletions
+135
-85
resources.qrc
tests/resources.qrc
+1
-0
CallControls.qml
tests/ui/modules/Linphone/Call/CallControls.qml
+10
-1
ConnectedCallsControl.qml
tests/ui/modules/Linphone/Call/ConnectedCallsControl.qml
+1
-0
IncomingCallControls.qml
tests/ui/modules/Linphone/Call/IncomingCallControls.qml
+1
-0
OutgoingCallControls.qml
tests/ui/modules/Linphone/Call/OutgoingCallControls.qml
+1
-0
PausedCallControls.qml
tests/ui/modules/Linphone/Call/PausedCallControls.qml
+1
-0
Calls.qml
tests/ui/views/App/Calls/Calls.qml
+107
-84
CallsStyle.qml
tests/ui/views/App/Styles/Calls/CallsStyle.qml
+11
-0
qmldir
tests/ui/views/App/Styles/qmldir
+2
-0
No files found.
tests/resources.qrc
View file @
b8c168ac
...
...
@@ -148,6 +148,7 @@
<file>
ui/views/App/ManageAccounts.qml
</file>
<file>
ui/views/App/NewCall.qml
</file>
<file>
ui/views/App/qmldir
</file>
<file>
ui/views/App/Styles/Calls/CallsStyle.qml
</file>
<file>
ui/views/App/Styles/MainWindow/ContactsStyle.qml
</file>
<file>
ui/views/App/Styles/MainWindow/ConversationStyle.qml
</file>
<file>
ui/views/App/Styles/MainWindow/MainWindowStyle.qml
</file>
...
...
tests/ui/modules/Linphone/Call/CallControls.qml
View file @
b8c168ac
...
...
@@ -5,14 +5,23 @@ import QtQuick.Controls 2.0
import
Linphone
1.0
import
Common
1.0
// ===================================================================
RowLayout
{
property
string
sipAddress
// TODO.
property
var
contact
:
ContactsListModel
.
mapSipAddressToContact
(
sipAddress
)
implicitHeight
:
contact
.
height
spacing
:
1
Rectangle
{
Layout.fillWidth
:
true
color
:
'
#434343
'
implicitHeight
:
contact
.
height
implicitHeight
:
_
contact
.
height
Contact
{
id
:
contact
...
...
tests/ui/modules/Linphone/Call/ConnectedCallsControl.qml
0 → 100644
View file @
b8c168ac
tests/ui/modules/Linphone/Call/IncomingCallControls.qml
0 → 100644
View file @
b8c168ac
tests/ui/modules/Linphone/Call/OutgoingCallControls.qml
0 → 100644
View file @
b8c168ac
tests/ui/modules/Linphone/Call/PausedCallControls.qml
0 → 100644
View file @
b8c168ac
tests/ui/views/App/Calls/Calls.qml
View file @
b8c168ac
import
QtQuick
2.7
import
QtQuick
.
Controls
2.0
import
QtQuick
.
Layouts
1.3
import
QtQuick
.
Window
2.2
import
QtQuick
.
Controls
2.0
import
Common
1.0
import
Linphone
1.0
import
App
.
Styles
1.0
// ===================================================================
Window
{
id
:
window
...
...
@@ -18,7 +22,10 @@ Window {
maximumLeftLimit
:
300
minimumLeftLimit
:
150
// ---------------------------------------------------------------
// Calls list.
// ---------------------------------------------------------------
childA
:
ColumnLayout
{
anchors.fill
:
parent
spacing
:
0
...
...
@@ -53,91 +60,14 @@ Window {
width
:
parent
.
width
}
model
:
ListModel
{
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
}
model
:
callsList
}
}
// Call / Chat.
// ---------------------------------------------------------------
// Content.
// ---------------------------------------------------------------
childB
:
Paned
{
anchors.fill
:
parent
closingEdge
:
Qt
.
RightEdge
...
...
@@ -148,7 +78,7 @@ Window {
resizeAInPriority
:
true
// Call.
childA
:
StartingOutgoingCall
{
childA
:
Rectangle
{
anchors.fill
:
parent
}
...
...
@@ -158,4 +88,97 @@ Window {
}
}
}
// -----------------------------------------------------------------
// TMP
// -----------------------------------------------------------------
ListModel
{
id
:
callsList
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
ListElement
{
$presence
:
'
do_not_disturb
'
$sipAddress
:
'
charles.henri.sip.linphone.org
'
}
ListElement
{
$presence
:
'
disconnected
'
$sipAddress
:
'
yesyes.nono.sip.linphone.org
'
}
ListElement
{
$presence
:
'
connected
'
$sipAddress
:
'
nsa.sip.linphone.org
'
}
}
}
tests/ui/views/App/Styles/Calls/CallsStyle.qml
0 → 100644
View file @
b8c168ac
pragma
Singleton
import
QtQuick
2.7
import
Common
1.0
// ===================================================================
QtObject
{
}
tests/ui/views/App/Styles/qmldir
View file @
b8c168ac
...
...
@@ -4,6 +4,8 @@ module App.Styles
# Views styles -------------------------------------------------------
singleton CallsStyle 1.0 Calls/CallsStyle.qml
singleton ContactsStyle 1.0 MainWindow/ContactsStyle.qml
singleton ConversationStyle 1.0 MainWindow/ConversationStyle.qml
singleton MainWindowStyle 1.0 MainWindow/MainWindowStyle.qml
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