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
9461ba26
Commit
9461ba26
authored
Nov 04, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(Chat): in progress, use the final style
parent
22449228
Changes
50
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
50 changed files
with
616 additions
and
539 deletions
+616
-539
attachment_hovered.svg
tests/assets/images/attachment_hovered.svg
+12
-0
attachment_normal.svg
tests/assets/images/attachment_normal.svg
+12
-0
attachment_pressed.svg
tests/assets/images/attachment_pressed.svg
+12
-0
chat_error.svg
tests/assets/images/chat_error.svg
+14
-0
chat_send.svg
tests/assets/images/chat_send.svg
+12
-0
end_call.svg
tests/assets/images/end_call.svg
+14
-0
incoming_call.svg
tests/assets/images/incoming_call.svg
+12
-0
lost_incoming_call.svg
tests/assets/images/lost_incoming_call.svg
+13
-0
lost_outgoing_call.svg
tests/assets/images/lost_outgoing_call.svg
+13
-0
outgoing_call.svg
tests/assets/images/outgoing_call.svg
+12
-0
en.ts
tests/assets/languages/en.ts
+5
-1
fr.ts
tests/assets/languages/fr.ts
+5
-1
add_field.svg
tests/assets/old_images/add_field.svg
+0
-19
cat_contact.jpg
tests/assets/old_images/cat_contact.jpg
+0
-0
chat_attachment.svg
tests/assets/old_images/chat_attachment.svg
+0
-22
collapse.svg
tests/assets/old_images/collapse.svg
+0
-12
conference.svg
tests/assets/old_images/conference.svg
+0
-15
contact.svg
tests/assets/old_images/contact.svg
+0
-12
contacts_list.svg
tests/assets/old_images/contacts_list.svg
+0
-15
hangup.svg
tests/assets/old_images/hangup.svg
+0
-14
home.svg
tests/assets/old_images/home.svg
+0
-17
incoming_call.svg
tests/assets/old_images/incoming_call.svg
+0
-17
lost_incoming_call.svg
tests/assets/old_images/lost_incoming_call.svg
+0
-18
lost_outgoing_call.svg
tests/assets/old_images/lost_outgoing_call.svg
+0
-18
micro.svg
tests/assets/old_images/micro.svg
+0
-15
right_arrow.svg
tests/assets/old_images/right_arrow.svg
+0
-15
speaker.svg
tests/assets/old_images/speaker.svg
+0
-15
valid.svg
tests/assets/old_images/valid.svg
+0
-17
avatar_L.svg
tests/assets/ressources_svg/avatar_L.svg
+0
-23
avatar_s.svg
tests/assets/ressources_svg/avatar_s.svg
+0
-23
avatar_xs.svg
tests/assets/ressources_svg/avatar_xs.svg
+0
-23
resources.qrc
tests/resources.qrc
+11
-19
DroppableTextArea.qml
tests/ui/modules/Common/DroppableTextArea.qml
+5
-11
ActionButton.qml
tests/ui/modules/Common/Form/ActionButton.qml
+5
-2
SmallButton.qml
tests/ui/modules/Common/Form/SmallButton.qml
+2
-0
Icon.qml
tests/ui/modules/Common/Image/Icon.qml
+42
-10
Menu.qml
tests/ui/modules/Common/Menu/Menu.qml
+2
-2
DroppableTextAreaStyle.qml
tests/ui/modules/Common/Styles/DroppableTextAreaStyle.qml
+3
-1
SmallButtonStyle.qml
tests/ui/modules/Common/Styles/Form/SmallButtonStyle.qml
+3
-0
Chat.qml
tests/ui/modules/Linphone/Chat/Chat.qml
+152
-94
Event.qml
tests/ui/modules/Linphone/Chat/Event.qml
+33
-15
IncomingMessage.qml
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
+26
-5
Message.qml
tests/ui/modules/Linphone/Chat/Message.qml
+13
-4
OutgoingMessage.qml
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
+34
-7
PresenceLevel.qml
tests/ui/modules/Linphone/Presence/PresenceLevel.qml
+4
-1
ChatStyle.qml
tests/ui/modules/Linphone/Styles/ChatStyle.qml
+85
-0
qmldir
tests/ui/modules/Linphone/Styles/qmldir
+2
-0
Contacts.qml
tests/ui/views/App/MainWindow/Contacts.qml
+53
-51
Conversation.qml
tests/ui/views/App/MainWindow/Conversation.qml
+4
-3
ConversationStyle.qml
tests/ui/views/App/Styles/MainWindow/ConversationStyle.qml
+1
-2
No files found.
tests/assets/images/attachment_hovered.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"10px"
height=
"20px"
viewBox=
"0 0 10 20"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
attachment_over
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"attachment_over"
fill=
"#4B5964"
>
<path
d=
"M8.76252348,14.9551548 C8.76095805,17.0249882 7.07341891,18.7247345 4.99686913,18.7489385 C2.91953663,18.7692387 1.23747652,17.1061888 1.23982467,15.0371361 L1.23982467,3.7807088 C1.23982467,2.39873777 2.36693801,1.26505306 3.75234815,1.25099912 C5.13619286,1.23538363 6.25469631,2.342522 6.25469631,3.7252738 L6.25469631,14.9824819 C6.25469631,15.6734674 5.6895742,16.2379674 4.99765185,16.2465559 C4.30572949,16.2543637 3.74843456,15.7007945 3.74686913,15.0082474 L3.74686913,5.00418259 L2.49295554,5.01667498 L2.49295554,15.0215206 C2.49295554,16.4034916 3.61380714,17.5114108 5,17.4973568 C6.38306199,17.4817414 7.50704446,16.350399 7.50860989,14.9699895 L7.50860989,3.71200064 C7.51095805,1.64216719 5.82889793,-0.0208826913 3.75078272,0.000198222717 C1.67501565,0.0236214605 0.00313087038,1.72102542 0,3.79163964 L0,15.6742482 C0.304477145,18.137592 2.43973075,20.025505 4.99452098,19.9997394 C7.55244208,19.9708508 9.69082655,18.0392144 10,15.567282 L10,2.4440227 L8.76252348,2.4440227 L8.76252348,14.9551548 Z"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/attachment_normal.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"10px"
height=
"20px"
viewBox=
"0 0 10 20"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
attachment_default
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"attachment_default"
fill=
"#96A6B1"
>
<path
d=
"M8.76252348,14.9551548 C8.76095805,17.0249882 7.07341891,18.7247345 4.99686913,18.7489385 C2.91953663,18.7692387 1.23747652,17.1061888 1.23982467,15.0371361 L1.23982467,3.7807088 C1.23982467,2.39873777 2.36693801,1.26505306 3.75234815,1.25099912 C5.13619286,1.23538363 6.25469631,2.342522 6.25469631,3.7252738 L6.25469631,14.9824819 C6.25469631,15.6734674 5.6895742,16.2379674 4.99765185,16.2465559 C4.30572949,16.2543637 3.74843456,15.7007945 3.74686913,15.0082474 L3.74686913,5.00418259 L2.49295554,5.01667498 L2.49295554,15.0215206 C2.49295554,16.4034916 3.61380714,17.5114108 5,17.4973568 C6.38306199,17.4817414 7.50704446,16.350399 7.50860989,14.9699895 L7.50860989,3.71200064 C7.51095805,1.64216719 5.82889793,-0.0208826913 3.75078272,0.000198222717 C1.67501565,0.0236214605 0.00313087038,1.72102542 0,3.79163964 L0,15.6742482 C0.304477145,18.137592 2.43973075,20.025505 4.99452098,19.9997394 C7.55244208,19.9708508 9.69082655,18.0392144 10,15.567282 L10,2.4440227 L8.76252348,2.4440227 L8.76252348,14.9551548 Z"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/attachment_pressed.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"10px"
height=
"20px"
viewBox=
"0 0 10 20"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
attachment_clic
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"attachment_clic"
fill=
"#FF5E00"
>
<path
d=
"M8.76252348,14.9551548 C8.76095805,17.0249882 7.07341891,18.7247345 4.99686913,18.7489385 C2.91953663,18.7692387 1.23747652,17.1061888 1.23982467,15.0371361 L1.23982467,3.7807088 C1.23982467,2.39873777 2.36693801,1.26505306 3.75234815,1.25099912 C5.13619286,1.23538363 6.25469631,2.342522 6.25469631,3.7252738 L6.25469631,14.9824819 C6.25469631,15.6734674 5.6895742,16.2379674 4.99765185,16.2465559 C4.30572949,16.2543637 3.74843456,15.7007945 3.74686913,15.0082474 L3.74686913,5.00418259 L2.49295554,5.01667498 L2.49295554,15.0215206 C2.49295554,16.4034916 3.61380714,17.5114108 5,17.4973568 C6.38306199,17.4817414 7.50704446,16.350399 7.50860989,14.9699895 L7.50860989,3.71200064 C7.51095805,1.64216719 5.82889793,-0.0208826913 3.75078272,0.000198222717 C1.67501565,0.0236214605 0.00313087038,1.72102542 0,3.79163964 L0,15.6742482 C0.304477145,18.137592 2.43973075,20.025505 4.99452098,19.9997394 C7.55244208,19.9708508 9.69082655,18.0392144 10,15.567282 L10,2.4440227 L8.76252348,2.4440227 L8.76252348,14.9551548 Z"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/chat_error.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"10px"
viewBox=
"0 0 12 10"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
chat_error
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"chat_error"
>
<polygon
id=
"Path-1067"
fill=
"#FF0000"
points=
"6.05012213 3.64153152e-14 0 10 12 10"
></polygon>
<path
d=
"M6,6 L6,3.5"
id=
"chat_message_delivered-copy-4"
stroke=
"#FFFFFF"
stroke-width=
"1.4"
stroke-linecap=
"round"
stroke-linejoin=
"round"
></path>
<ellipse
id=
"Oval-24"
fill=
"#FFFFFF"
cx=
"6.03499979"
cy=
"8.13500017"
rx=
"0.834999979"
ry=
"0.834999979"
></ellipse>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/chat_send.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"10px"
viewBox=
"0 0 12 10"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
chat_send
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<g
id=
"chat_send"
stroke-width=
"2"
stroke=
"#96C11F"
>
<polyline
id=
"chat_message_delivered"
points=
"1 4.16033709 5.24416844 8.99280009 10.9266196 1"
></polyline>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/end_call.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"18px"
height=
"17px"
viewBox=
"0 0 18 17"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
call_end
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<g
id=
"call_end"
stroke=
"#424242"
stroke-width=
"1.5"
>
<g
id=
"Group-2"
transform=
"translate(0.800000, 1.000000)"
>
<path
d=
"M16.3820942,4.75302199 C15.1184133,1.94023275 11.357028,0 8.22395251,0 L8.15870659,0 C5.0252074,0 1.26297473,1.94128421 0,4.7533224 L0.460817012,8.39525809 L4.49773221,8.39525809 L4.78343028,4.77059629 L11.59937,4.77059629 L11.884362,8.39525809 L15.9212772,8.39525809 L16.3820942,4.75302199 L16.3820942,4.75302199 Z M5.33674964,11.9856725 L8.00533629,14.8233963 L8.19132955,15.0207692 L5.33674964,11.9856725 Z M11.0457682,11.9885265 L8.19132955,15.0207692 L11.0457682,11.9885265 Z M8.19132955,14.7090882 L8.19132955,8.69927846 L8.19132955,14.7090882 Z"
id=
"Page-1"
></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/incoming_call.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"12px"
viewBox=
"0 0 12 12"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
call_incoming
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<g
id=
"call_incoming"
stroke=
"#96C11F"
stroke-width=
"2"
>
<path
d=
"M1,1.15453401 L1,10.3194854 L1.0008376,10.9583483 L1,1.15453401 Z M10.8038143,11 L1.6388629,11 L1,11.0008376 L10.8038143,11 Z M1.53271089,10.4548579 L10.8038143,1.15453401 L1.53271089,10.4548579 Z"
id=
"Imported-Layers"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/lost_incoming_call.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"12px"
viewBox=
"0 0 12 12"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
call_lost
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
>
<g
id=
"call_lost"
stroke=
"#FF0000"
stroke-width=
"2"
>
<path
d=
"M12.9852814,5.74407768 L-1.15685425,5.74407768"
id=
"Line"
transform=
"translate(6.266032, 5.768485) rotate(-45.000000) translate(-6.266032, -5.768485) "
></path>
<path
d=
"M11,11 L1,1"
id=
"Line"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/lost_outgoing_call.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"12px"
viewBox=
"0 0 12 12"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
call_lost
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
>
<g
id=
"call_lost"
stroke=
"#FF0000"
stroke-width=
"2"
>
<path
d=
"M12.9852814,5.74407768 L-1.15685425,5.74407768"
id=
"Line"
transform=
"translate(6.266032, 5.768485) rotate(-45.000000) translate(-6.266032, -5.768485) "
></path>
<path
d=
"M11,11 L1,1"
id=
"Line"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/images/outgoing_call.svg
0 → 100644
View file @
9461ba26
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"12px"
height=
"12px"
viewBox=
"0 0 12 12"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
call_outgoing
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<g
id=
"call_outgoing"
stroke=
"#18A7AF"
stroke-width=
"2"
>
<path
d=
"M1.14999998,1 L1.14999998,10.1613858 L1.15083725,10.8000002 L1.14999998,1 Z M10.9500002,10.8416357 L1.78861433,10.8416357 L1.14999998,10.8424729 L10.9500002,10.8416357 Z M1.68250362,10.2967056 L10.9500002,1 L1.68250362,10.2967056 Z"
id=
"Imported-Layers"
transform=
"translate(6.050000, 5.921236) rotate(-180.000000) translate(-6.050000, -5.921236) "
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/languages/en.ts
View file @
9461ba26
...
...
@@ -168,7 +168,7 @@
<
/message
>
<
message
>
<
source
>
hangup
<
/source
>
<
translation
>
End
call
<
/translation
>
<
translation
type
=
"
vanished
"
>
End
call
<
/translation
>
<
/message
>
<
message
>
<
source
>
lostIncomingCall
<
/source
>
...
...
@@ -178,6 +178,10 @@
<
source
>
lostOutgoingCall
<
/source
>
<
translation
>
Lost
outgoing
call
<
/translation
>
<
/message
>
<
message
>
<
source
>
endCall
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
Home
<
/name
>
...
...
tests/assets/languages/fr.ts
View file @
9461ba26
...
...
@@ -168,7 +168,7 @@
<
/message
>
<
message
>
<
source
>
hangup
<
/source
>
<
translation
>
Fin
d
&
apos
;
appel
<
/translation
>
<
translation
type
=
"
vanished
"
>
Fin
d
&
apos
;
appel
<
/translation
>
<
/message
>
<
message
>
<
source
>
lostIncomingCall
<
/source
>
...
...
@@ -178,6 +178,10 @@
<
source
>
lostOutgoingCall
<
/source
>
<
translation
>
Appel
sortant
manqu
é
<
/translation
>
<
/message
>
<
message
>
<
source
>
endCall
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
Home
<
/name
>
...
...
tests/assets/old_images/add_field.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"80px"
height=
"80px"
viewBox=
"0 0 80 80"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
add_field_over copy
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-6981.000000, -12382.000000)"
>
<g
id=
"add_field_over-copy"
sketch:type=
"MSLayerGroup"
transform=
"translate(6981.045368, 12382.656515)"
>
<g
id=
"Oval-1-Copy-2-+-Imported-Layers-Copy-2"
sketch:type=
"MSShapeGroup"
>
<ellipse
id=
"Oval-1-Copy-2"
fill=
"#444444"
cx=
"39.8422909"
cy=
"39.5061728"
rx=
"39.8422909"
ry=
"39.5061728"
></ellipse>
<g
id=
"Imported-Layers-Copy-2"
transform=
"translate(18.593069, 19.423868)"
stroke=
"#FFFFFF"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M35.4786114,34.191652 L7.01983221,5.97295708 M7.02457534,34.191652 L35.4738683,5.97295708"
transform=
"translate(21.249222, 20.082305) rotate(-315.000000) translate(-21.249222, -20.082305) "
></path>
</g>
</g>
</g>
</g>
</g>
</svg>
tests/assets/old_images/cat_contact.jpg
deleted
100644 → 0
View file @
22449228
43.4 KB
tests/assets/old_images/chat_attachment.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"120px"
height=
"120px"
viewBox=
"0 0 120 120"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
chat_attachment
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-3019.000000, -26419.000000)"
>
<g
id=
"chat_attachment"
sketch:type=
"MSLayerGroup"
transform=
"translate(3019.325879, 26419.202726)"
>
<g
id=
"chat_picture_over"
fill=
"#E1E1E1"
sketch:type=
"MSShapeGroup"
>
<ellipse
id=
"Oval-17-Copy-2"
cx=
"60.0304079"
cy=
"60.1705649"
rx=
"59.5041322"
ry=
"59.5041322"
></ellipse>
</g>
<g
id=
"chat_picture_default-copy"
sketch:type=
"MSShapeGroup"
>
<g
id=
"chat_picture_default"
>
<ellipse
id=
"Oval-17-Copy-4"
cx=
"59.9096471"
cy=
"60.3716158"
rx=
"59.5041322"
ry=
"59.5041322"
></ellipse>
</g>
<path
d=
"M73.3846429,28.6226323 L73.3846429,77.8815953 C73.3785,86.0309656 66.7565,92.7232249 58.608,92.8185212 C50.4564286,92.8984471 43.8559286,86.3506693 43.8651429,78.204373 L43.8651429,33.8854471 C43.8651429,28.444336 48.288,23.9807804 53.7244286,23.9254471 C59.1547143,23.8639656 63.5437857,28.2230027 63.5437857,33.6671879 L63.5437857,77.9891879 C63.5437857,80.7097434 61.3262143,82.932299 58.6110714,82.9661138 C55.8959286,82.9968545 53.7090714,80.817336 53.7029286,78.0906323 L53.7029286,38.7025212 L48.7825,38.7517064 L48.7825,78.1428916 C48.7825,83.5840027 53.1807857,87.9461138 58.6202857,87.8907804 C64.0475,87.829299 68.4580714,83.3749656 68.4642143,77.9400027 L68.4642143,33.6149286 C68.4734286,25.4655582 61.8729286,18.9177804 53.7182857,19.0007804 C45.5728571,19.0930027 39.0122857,25.7760397 39,33.9284841 L39,80.7128175 C40.1947857,90.4115212 48.5736429,97.8446323 58.5987857,97.7431879 C68.6362143,97.6294471 77.0273571,90.0241879 78.2405714,80.2916693 L78.2405714,28.6226323 L73.3846429,28.6226323 L73.3846429,28.6226323 Z"
id=
"Imported-Layers-Copy-5"
fill=
"#444444"
></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/collapse.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="windows-1252"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"24px"
height=
"24px"
viewBox=
"0 0 24 24"
style=
"enable-background:new 0 0 24 24;"
xml:space=
"preserve"
>
<g
id=
"Icons"
style=
"opacity:0.75;"
>
<g
id=
"collapse"
>
<polygon
id=
"arrow_1_"
style=
"fill-rule:evenodd;clip-rule:evenodd;"
points=
"6.697,15.714 12,10.412 17.303,15.714 18.717,14.3 12,7.583 5.283,14.3 "
/>
</g>
</g>
<g
id=
"Guides"
style=
"display:none;"
>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/conference.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"98px"
height=
"98px"
viewBox=
"0 0 98 98"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
options_start_conference + Rectangle 250 Copy 4
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1988.000000, -22533.000000)"
>
<g
id=
"options_start_conference-+-Rectangle-250-Copy-4"
sketch:type=
"MSLayerGroup"
transform=
"translate(1982.000000, 22527.000000)"
>
<path
d=
"M29.1812277,50.1602766 C33.6890844,50.1602766 37.3442279,53.822334 37.3442279,58.3347999 C37.3442279,60.4942384 36.5076472,62.460088 35.1410015,63.9212235 C34.9474125,64.1263356 35.0234653,64.0917662 34.8114393,64.2761366 L35.1525246,64.5065996 C47.5191703,69.8994343 44.3503038,78.9658496 44.3503038,78.9658496 C36.3831972,81.4963335 29.1950555,81.1045464 29.1950555,81.1045464 L29.0129897,81.1045464 C29.0129897,81.1045464 21.8248481,81.4963335 13.8600461,78.9658496 C13.8600461,78.9658496 10.6888749,69.8994343 23.0578253,64.5065996 L23.3966059,64.2761366 C23.1845799,64.0917662 23.2606327,64.1263356 23.0693484,63.9212235 C21.7027027,62.460088 20.8661219,60.4942384 20.8661219,58.3347999 C20.8661219,53.822334 24.5189608,50.1602766 29.0268175,50.1602766 L29.1812277,50.1602766 L29.1812277,50.1602766 Z M76.9492981,50.1602766 C81.4571548,50.1602766 85.1099937,53.822334 85.1099937,58.3347999 C85.1099937,60.4942384 84.2711083,62.460088 82.9067672,63.9212235 C82.7154829,64.1263356 82.7892311,64.0917662 82.5772051,64.2761366 L82.9182904,64.5065996 C95.2872407,69.8994343 92.1160696,78.9658496 92.1160696,78.9658496 C84.1512675,81.4963335 76.9608213,81.1045464 76.9608213,81.1045464 L76.7787555,81.1045464 C76.7787555,81.1045464 69.5906139,81.4963335 61.6281165,78.9658496 C61.6281165,78.9658496 58.4546407,69.8994343 70.823591,64.5065996 L71.1623717,64.2761366 C70.9503457,64.0917662 71.0287031,64.1263356 70.8351142,63.9212235 C69.4684685,62.460088 68.6318877,60.4942384 68.6318877,58.3347999 C68.6318877,53.822334 72.2870312,50.1602766 76.7925833,50.1602766 L76.9492981,50.1602766 L76.9492981,50.1602766 Z M53.0641106,8.91891892 C57.5719673,8.91891892 61.2248062,12.5786717 61.2248062,17.0934423 C61.2248062,19.2528808 60.3882254,21.2187304 59.0215797,22.6798659 C58.8302954,22.884978 58.9063482,22.8527132 58.6943222,23.034779 L59.0354075,23.2629374 C71.4020532,28.6557721 68.230882,37.7244919 68.230882,37.7244919 C60.26608,40.2549759 53.0779384,39.8631888 53.0779384,39.8631888 L52.893568,39.8631888 C52.893568,39.8631888 45.7054264,40.2549759 37.742929,37.7244919 C37.742929,37.7244919 34.5694532,28.6557721 46.9384035,23.2629374 L47.2794888,23.034779 C47.0651582,22.8527132 47.1435156,22.884978 46.9499267,22.6798659 C45.583281,21.2187304 44.7467002,19.2528808 44.7467002,17.0934423 C44.7467002,12.5786717 48.4018437,8.91891892 52.9073958,8.91891892 L53.0641106,8.91891892 L53.0641106,8.91891892 Z M66.1336686,92.8627697 C58.3163629,100.657029 45.6408967,100.657029 37.823591,92.8627697 M39.5520637,101.104127 L37.823591,92.8627697 L46.087995,91.1389063 L39.5520637,101.104127 Z M8.91891892,42.9168238 C8.91891892,31.8914729 17.8793212,22.9564215 28.9369369,22.9564215 M21.8686361,18.3471611 L28.9369369,22.9564215 L24.3138487,30.0016761 L21.8686361,18.3471611 Z M76.4630212,22.9564215 C87.5183323,22.9564215 96.4810392,31.8937775 96.4810392,42.9168238 M101.104127,35.8692646 L96.4810392,42.9168238 L89.4150429,38.3075634 L101.104127,35.8692646 Z"
id=
"options_start_conference"
stroke=
"#444444"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
sketch:type=
"MSShapeGroup"
></path>
<rect
id=
"Rectangle-250-Copy-4"
fill-opacity=
"0"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"109.14064"
height=
"109.14064"
></rect>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/contact.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"751px"
height=
"751px"
viewBox=
"0 0 751 751"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
avatar
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1872.000000, -13712.000000)"
fill=
"#444444"
>
<path
d=
"M2247.17514,13712.0693 C2040.06889,13712.0693 1872.17514,13879.9568 1872.17514,14087.0693 C1872.17514,14294.1693 2040.06889,14462.0693 2247.17514,14462.0693 C2454.27514,14462.0693 2622.17514,14294.1693 2622.17514,14087.0693 C2622.17514,13879.9568 2454.27514,13712.0693 2247.17514,13712.0693 L2247.17514,13712.0693 Z M2466.91889,14251.4755 C2352.10014,14288.2443 2248.48764,14282.588 2248.48764,14282.588 L2245.85639,14282.588 C2245.85639,14282.588 2142.23764,14288.2443 2027.43139,14251.4755 C2027.43139,14251.4755 1981.71264,14119.7255 2159.98764,14041.363 L2164.90639,14038.0255 C2161.84389,14035.338 2162.93139,14035.8568 2160.17514,14032.8755 C2140.47514,14011.6255 2128.41889,13983.0755 2128.41889,13951.6818 C2128.41889,13886.0755 2181.08139,13832.8943 2246.03764,13832.8943 L2248.30014,13832.8943 C2313.27514,13832.8943 2365.93139,13886.0755 2365.93139,13951.6818 C2365.93139,13983.0755 2353.88139,14011.6255 2334.18139,14032.8755 C2331.40639,14035.8568 2332.49389,14035.338 2329.45014,14038.0255 L2334.35014,14041.363 C2512.63764,14119.7255 2466.91889,14251.4755 2466.91889,14251.4755 L2466.91889,14251.4755 Z"
id=
"avatar"
sketch:type=
"MSShapeGroup"
></path>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/contacts_list.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"86px"
height=
"86px"
viewBox=
"0 0 86 86"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
footer_contacts
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1888.000000, -17134.000000)"
>
<g
id=
"footer_contacts"
sketch:type=
"MSLayerGroup"
transform=
"translate(1886.000000, 17132.000000)"
>
<path
d=
"M45.2014578,5 C56.7508248,5 66.113294,14.455 66.113294,26.118 C66.113294,31.7 63.9701741,36.775 60.4679539,40.552 C59.9764491,41.083 60.1704642,40.99 59.6262271,41.467 L60.4987973,42.061 C92.192895,55.993 84.0661522,79.413 84.0661522,79.413 C63.6547753,85.951 45.2342911,84.945 45.2342911,84.945 L44.7666651,84.945 C44.7666651,84.944 26.344191,85.951 5.93380901,79.413 C5.93380901,79.413 -2.19293371,55.993 29.5021589,42.061 L30.3747291,41.467 C29.830492,40.99 30.0245071,41.083 29.5330023,40.552 C26.0317771,36.775 23.8876622,31.7 23.8876622,26.118 C23.8876622,14.455 33.2501314,5 44.7994984,5 L45.2014578,5 L45.2014578,5 Z"
stroke=
"#FFFFFF"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
sketch:type=
"MSShapeGroup"
></path>
<rect
id=
"Rectangle-250-Copy-9"
fill-opacity=
"0"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"90"
height=
"90"
></rect>
</g>
</g>
</g>
</svg>
tests/assets/old_images/hangup.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"122px"
height=
"106px"
viewBox=
"0 0 122 106"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
call_hangup
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-5908.000000, -17026.000000)"
stroke=
"#000000"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<g
id=
"call_hangup"
sketch:type=
"MSLayerGroup"
transform=
"translate(5911.293554, 17028.843763)"
>
<path
d=
"M116,31.643 C107.052,12.917 80.418,0 58.233,0 L57.771,0 C35.583,0 8.943,12.924 0,31.645 L3.263,55.891 L31.848,55.891 L33.871,31.76 L82.134,31.76 L84.152,55.891 L112.737,55.891 L116,31.643 L116,31.643 Z M37.789,79.794 L56.685,98.686 L58.002,100 L37.789,79.794 Z M78.214,79.813 L58.002,100 L78.214,79.813 Z M58.002,97.925 L58.002,57.915 L58.002,97.925 Z"
id=
"Page-1"
sketch:type=
"MSShapeGroup"
></path>
</g>
</g>
</g>
</svg>
tests/assets/old_images/home.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"56px"
height=
"55px"
viewBox=
"0 0 56 55"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
menu
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-7027.000000, -2873.000000)"
>
<g
id=
"menu"
sketch:type=
"MSLayerGroup"
transform=
"translate(7010.000000, 2856.000000)"
>
<rect
id=
"Rectangle-232-Copy"
fill-opacity=
"0"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"90"
height=
"90"
></rect>
<g
id=
"menu-copy"
transform=
"translate(19.000000, 20.000000)"
stroke=
"#FFFFFF"
stroke-width=
"5"
sketch:type=
"MSShapeGroup"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M1,0 L51,0 M1,16.4781511 L51,16.4781511 M1,32.445549 L51,32.445549 M1,48.9237001 L51,48.9237001"
id=
"menu-icon-copy"
></path>
</g>
</g>
</g>
</g>
</svg>
tests/assets/old_images/incoming_call.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"32px"
height=
"33px"
viewBox=
"0 0 32 33"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
call_incoming
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-5720.000000, -22563.000000)"
>
<g
id=
"call_incoming"
sketch:type=
"MSLayerGroup"
transform=
"translate(5716.000000, 22560.000000)"
>
<rect
id=
"Rectangle-1479"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"40"
height=
"40"
></rect>
<g
id=
"Imported-Layers-+-Path-Copy-3"
transform=
"translate(6.000000, 6.000000)"
stroke=
"#96C11F"
stroke-width=
"5"
sketch:type=
"MSShapeGroup"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M0.927462627,1.05262793 L0.927462627,24.9005215 L0.929496815,26.5628908 L0.927462627,1.05262793 Z M26.1025737,26.5711306 L0.929496815,26.5628908 L26.1025737,26.5711306 Z M2.22120622,25.2527707 L27.1603515,0 L2.22120622,25.2527707 Z"
id=
"Imported-Layers"
></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/lost_incoming_call.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"32px"
height=
"32px"
viewBox=
"0 0 32 32"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
call_missed
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-5721.000000, -22957.000000)"
>
<g
id=
"call_missed"
sketch:type=
"MSLayerGroup"
transform=
"translate(5716.000000, 22953.000000)"
>
<rect
id=
"Rectangle-1479-Copy-2"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"40"
height=
"40"
></rect>
<g
id=
"Imported-Layers-+-Path-Copy-8"
transform=
"translate(7.000000, 6.000000)"
stroke=
"#FF0000"
stroke-width=
"5"
sketch:type=
"MSShapeGroup"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M0.976884746,27.068466 L26.5554953,0.818875394 L0.976884746,27.068466 Z"
id=
"Imported-Layers"
transform=
"translate(13.766190, 13.943671) rotate(-180.000000) translate(-13.766190, -13.943671) "
></path>
<path
d=
"M0.976884746,27.068466 L26.5554953,0.818875394 L0.976884746,27.068466 Z"
id=
"Imported-Layers-Copy"
transform=
"translate(13.766190, 13.943671) rotate(-90.000000) translate(-13.766190, -13.943671) "
></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/lost_outgoing_call.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"32px"
height=
"32px"
viewBox=
"0 0 32 32"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
call_missed
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-5721.000000, -22957.000000)"
>
<g
id=
"call_missed"
sketch:type=
"MSLayerGroup"
transform=
"translate(5716.000000, 22953.000000)"
>
<rect
id=
"Rectangle-1479-Copy-2"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"40"
height=
"40"
></rect>
<g
id=
"Imported-Layers-+-Path-Copy-8"
transform=
"translate(7.000000, 6.000000)"
stroke=
"#FF0000"
stroke-width=
"5"
sketch:type=
"MSShapeGroup"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M0.976884746,27.068466 L26.5554953,0.818875394 L0.976884746,27.068466 Z"
id=
"Imported-Layers"
transform=
"translate(13.766190, 13.943671) rotate(-180.000000) translate(-13.766190, -13.943671) "
></path>
<path
d=
"M0.976884746,27.068466 L26.5554953,0.818875394 L0.976884746,27.068466 Z"
id=
"Imported-Layers-Copy"
transform=
"translate(13.766190, 13.943671) rotate(-90.000000) translate(-13.766190, -13.943671) "
></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/micro.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"86px"
height=
"110px"
viewBox=
"0 0 86 110"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
micro_default
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1684.000000, -19406.000000)"
>
<g
id=
"micro_default"
sketch:type=
"MSLayerGroup"
transform=
"translate(1650.000000, 19384.000000)"
>
<path
d=
"M60.7415676,80.266982 C60.7415676,88.9543413 67.8156399,96.000931 76.537898,96.000931 C85.2628081,96.000931 92.3368803,88.9543413 92.3368803,80.266982 L92.3368803,40.7392333 C92.3368803,32.0465898 85.2628081,25 76.537898,25 C67.8156399,25 60.7415676,32.0465898 60.7415676,40.7392333 L60.7415676,80.266982 L60.7415676,80.266982 Z M106.449223,61.0784338 L106.449223,78.2510285 C106.449223,94.7102452 93.0568843,108.047772 76.537898,108.047772 M76.537898,108.047772 L76.537898,126.604849 L76.537898,108.047772 Z M67.2308853,128.67893 L85.8488887,128.67893 L67.2308853,128.67893 Z M46.6278985,61.0784338 L46.6278985,78.2510285 C46.6278985,94.7102452 60.0202377,108.047772 76.539224,108.047772 M37,116.691536 L117,36.9873932 L37,116.691536 Z"
id=
"micro_off"
stroke=
"#444444"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
sketch:type=
"MSShapeGroup"
></path>
<rect
id=
"Rectangle-250-Copy-6"
fill-opacity=
"0"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"154"
height=
"154"
></rect>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/right_arrow.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"56px"
height=
"106px"
viewBox=
"0 0 56 106"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
arrow_hangup
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"SMARTPHONE-PORTRAIT"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"6-call-incoming-04-background-mode-hangup"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-924.000000, -1773.000000)"
stroke-linecap=
"round"
stroke=
"#FFFFFF"
stroke-width=
"5"
>
<g
id=
"arrow_hangup"
sketch:type=
"MSLayerGroup"
transform=
"translate(928.500000, 1825.500000) rotate(-45.000000) translate(-928.500000, -1825.500000) translate(892.000000, 1790.000000)"
>
<path
d=
"M70.5,0 L70.5,70"
id=
"Line"
sketch:type=
"MSShapeGroup"
></path>
<path
d=
"M70,70 L0,70"
id=
"Line-Copy"
sketch:type=
"MSShapeGroup"
></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/speaker.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"81px"
height=
"76px"
viewBox=
"0 0 81 76"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
speaker_default
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1687.000000, -19654.000000)"
>
<g
id=
"speaker_default"
sketch:type=
"MSLayerGroup"
transform=
"translate(1650.000000, 19615.000000)"
>
<path
d=
"M40.6037277,91.6756079 L62.7723729,91.6756079 L87.7430251,112 L87.7430251,42 L62.7723729,62.3232222 L40,62.3232222 L40,91.6756079 L40.6037277,91.6756079 L40.6037277,91.6756079 Z M100.025925,83.8736525 C104.044857,79.900727 104.044857,73.4605164 100.025925,69.4899306 M109.562455,89.6552185 C116.811923,82.4908498 116.813107,70.8715635 109.562455,63.7071948"
id=
"speaker_on"
stroke=
"#444444"
stroke-width=
"5"
stroke-linecap=
"round"
stroke-linejoin=
"round"
sketch:type=
"MSShapeGroup"
></path>
<rect
id=
"Rectangle-250-Copy-7"
fill-opacity=
"0"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"154"
height=
"154"
></rect>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/old_images/valid.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"82px"
height=
"56px"
viewBox=
"0 0 82 56"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.3.3 (12081) - http://www.bohemiancoding.com/sketch -->
<title>
valid
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"OUTILS"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"linphone_v2.0_icones_buttons"
sketch:type=
"MSArtboardGroup"
transform=
"translate(-1444.000000, -7601.000000)"
>
<g
id=
"valid"
sketch:type=
"MSLayerGroup"
transform=
"translate(1426.000000, 7569.000000)"
>
<g
transform=
"translate(21.000000, 35.000000)"
stroke=
"#444444"
id=
"Stroke-3"
stroke-width=
"5"
sketch:type=
"MSShapeGroup"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
d=
"M0.4395,19.6931204 L32.8369959,49.7658833 L76.2135,0.0261166985"
></path>
</g>
<rect
id=
"Rectangle-232-Copy-29"
opacity=
"0"
fill-opacity=
"0.7"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"120"
height=
"120"
></rect>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/ressources_svg/avatar_L.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"70px"
height=
"70px"
viewBox=
"0 0 70 70"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
avatar_L
</title>
<desc>
Created with Sketch.
</desc>
<defs>
<path
d=
"M5,35 C5,51.568 18.4315,65 35,65 C51.568,65 65,51.568 65,35 C65,18.431 51.568,5 35,5 C18.4315,5 5,18.431 5,35 Z"
id=
"path-1"
></path>
<filter
x=
"-50%"
y=
"-50%"
width=
"200%"
height=
"200%"
filterUnits=
"objectBoundingBox"
id=
"filter-2"
>
<feOffset
dx=
"1"
dy=
"-1"
in=
"SourceAlpha"
result=
"shadowOffsetOuter1"
></feOffset>
<feGaussianBlur
stdDeviation=
"1.5"
in=
"shadowOffsetOuter1"
result=
"shadowBlurOuter1"
></feGaussianBlur>
<feComposite
in=
"shadowBlurOuter1"
in2=
"SourceAlpha"
operator=
"out"
result=
"shadowBlurOuter1"
></feComposite>
<feColorMatrix
values=
"0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 1 0"
type=
"matrix"
in=
"shadowBlurOuter1"
></feColorMatrix>
</filter>
</defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"avatar_L"
>
<g>
<use
fill=
"black"
fill-opacity=
"1"
filter=
"url(#filter-2)"
xlink:href=
"#path-1"
></use>
<use
fill-opacity=
"0"
fill=
"#FFFFFF"
fill-rule=
"evenodd"
xlink:href=
"#path-1"
></use>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/ressources_svg/avatar_s.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"40px"
height=
"40px"
viewBox=
"0 0 40 40"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
avatar_s
</title>
<desc>
Created with Sketch.
</desc>
<defs>
<path
d=
"M5,20 C5,28.284 11.71575,35 20,35 C28.284,35 35,28.284 35,20 C35,11.7155 28.284,5 20,5 C11.71575,5 5,11.7155 5,20 Z"
id=
"path-1"
></path>
<filter
x=
"-50%"
y=
"-50%"
width=
"200%"
height=
"200%"
filterUnits=
"objectBoundingBox"
id=
"filter-2"
>
<feOffset
dx=
"1"
dy=
"-1"
in=
"SourceAlpha"
result=
"shadowOffsetOuter1"
></feOffset>
<feGaussianBlur
stdDeviation=
"1.5"
in=
"shadowOffsetOuter1"
result=
"shadowBlurOuter1"
></feGaussianBlur>
<feComposite
in=
"shadowBlurOuter1"
in2=
"SourceAlpha"
operator=
"out"
result=
"shadowBlurOuter1"
></feComposite>
<feColorMatrix
values=
"0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 1 0"
type=
"matrix"
in=
"shadowBlurOuter1"
></feColorMatrix>
</filter>
</defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"avatar_s"
>
<g>
<use
fill=
"black"
fill-opacity=
"1"
filter=
"url(#filter-2)"
xlink:href=
"#path-1"
></use>
<use
fill-opacity=
"0"
fill=
"#FFFFFF"
fill-rule=
"evenodd"
xlink:href=
"#path-1"
></use>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/assets/ressources_svg/avatar_xs.svg
deleted
100644 → 0
View file @
22449228
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"30px"
height=
"30px"
viewBox=
"0 0 30 30"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
<title>
avatar_xs
</title>
<desc>
Created with Sketch.
</desc>
<defs>
<path
d=
"M5,15 C5,20.5226667 9.47716667,25 15,25 C20.5226667,25 25,20.5226667 25,15 C25,9.477 20.5226667,5 15,5 C9.47716667,5 5,9.477 5,15 Z"
id=
"path-1"
></path>
<filter
x=
"-50%"
y=
"-50%"
width=
"200%"
height=
"200%"
filterUnits=
"objectBoundingBox"
id=
"filter-2"
>
<feOffset
dx=
"1"
dy=
"-1"
in=
"SourceAlpha"
result=
"shadowOffsetOuter1"
></feOffset>
<feGaussianBlur
stdDeviation=
"1.5"
in=
"shadowOffsetOuter1"
result=
"shadowBlurOuter1"
></feGaussianBlur>
<feComposite
in=
"shadowBlurOuter1"
in2=
"SourceAlpha"
operator=
"out"
result=
"shadowBlurOuter1"
></feComposite>
<feColorMatrix
values=
"0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 0 0.795413478 0 0 0 1 0"
type=
"matrix"
in=
"shadowBlurOuter1"
></feColorMatrix>
</filter>
</defs>
<g
id=
"Symbols"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"avatar_xs"
>
<g>
<use
fill=
"black"
fill-opacity=
"1"
filter=
"url(#filter-2)"
xlink:href=
"#path-1"
></use>
<use
fill-opacity=
"0"
fill=
"#FFFFFF"
fill-rule=
"evenodd"
xlink:href=
"#path-1"
></use>
</g>
</g>
</g>
</svg>
\ No newline at end of file
tests/resources.qrc
View file @
9461ba26
<!DOCTYPE RCC>
<RCC
version=
"1.0"
>
<qresource
prefix=
"/"
>
<file>
assets/images/attachment_hovered.svg
</file>
<file>
assets/images/attachment_normal.svg
</file>
<file>
assets/images/attachment_pressed.svg
</file>
<file>
assets/images/auto_answer.svg
</file>
<file>
assets/images/call_hovered.svg
</file>
<file>
assets/images/call_normal.svg
</file>
<file>
assets/images/call_pressed.svg
</file>
<file>
assets/images/chat_error.svg
</file>
<file>
assets/images/chat_hovered.svg
</file>
<file>
assets/images/chat_normal.svg
</file>
<file>
assets/images/chat_pressed.svg
</file>
<file>
assets/images/chat_send.svg
</file>
<file>
assets/images/chevron_green.svg
</file>
<file>
assets/images/chevron_orange.svg
</file>
<file>
assets/images/chevron_red.svg
</file>
...
...
@@ -20,38 +25,24 @@
<file>
assets/images/delete_hovered.svg
</file>
<file>
assets/images/delete_normal.svg
</file>
<file>
assets/images/delete_pressed.svg
</file>
<file>
assets/images/end_call.svg
</file>
<file>
assets/images/filter.svg
</file>
<file>
assets/images/history.svg
</file>
<file>
assets/images/home_normal.svg
</file>
<file>
assets/images/home_selected.svg
</file>
<file>
assets/images/incoming_call.svg
</file>
<file>
assets/images/led_green.svg
</file>
<file>
assets/images/led_orange.svg
</file>
<file>
assets/images/led_red.svg
</file>
<file>
assets/images/led_white.svg
</file>
<file>
assets/images/linphone.png
</file>
<file>
assets/images/lost_incoming_call.svg
</file>
<file>
assets/images/lost_outgoing_call.svg
</file>
<file>
assets/images/outgoing_call.svg
</file>
<file>
assets/images/search.svg
</file>
<file>
assets/images/video_call_hovered.svg
</file>
<file>
assets/images/video_call_normal.svg
</file>
<file>
assets/images/video_call_pressed.svg
</file>
<file>
assets/old_images/add_field.svg
</file>
<file>
assets/old_images/cat_contact.jpg
</file>
<file>
assets/old_images/chat_attachment.svg
</file>
<file>
assets/old_images/collapse.svg
</file>
<file>
assets/old_images/conference.svg
</file>
<file>
assets/old_images/contacts_list.svg
</file>
<file>
assets/old_images/contact.svg
</file>
<file>
assets/old_images/hangup.svg
</file>
<file>
assets/old_images/home.svg
</file>
<file>
assets/old_images/incoming_call.svg
</file>
<file>
assets/old_images/lost_incoming_call.svg
</file>
<file>
assets/old_images/lost_outgoing_call.svg
</file>
<file>
assets/old_images/micro.svg
</file>
<file>
assets/old_images/right_arrow.svg
</file>
<file>
assets/old_images/speaker.svg
</file>
<file>
assets/old_images/valid.svg
</file>
<file>
assets/ressources_svg/avatar_L.svg
</file>
<file>
assets/ressources_svg/avatar_s.svg
</file>
<file>
assets/ressources_svg/avatar_xs.svg
</file>
<file>
ui/modules/Common/Animations/CaterpillarAnimation.qml
</file>
<file>
ui/modules/Common/Borders.qml
</file>
<file>
ui/modules/Common/Collapse.qml
</file>
...
...
@@ -124,6 +115,7 @@
<file>
ui/modules/Linphone/qmldir
</file>
<file>
ui/modules/Linphone/Select/SelectContact.qml
</file>
<file>
ui/modules/Linphone/Styles/Account/AccountStatusStyle.qml
</file>
<file>
ui/modules/Linphone/Styles/ChatStyle.qml
</file>
<file>
ui/modules/Linphone/Styles/Contact/AvatarStyle.qml
</file>
<file>
ui/modules/Linphone/Styles/Contact/ContactDescriptionStyle.qml
</file>
<file>
ui/modules/Linphone/Styles/Contact/ContactStyle.qml
</file>
...
...
tests/ui/modules/Common/DroppableTextArea.qml
View file @
9461ba26
...
...
@@ -37,8 +37,7 @@ Item {
id
:
textArea
background
:
Rectangle
{
color
:
'
#FFFFFF
'
border.color
:
'
#D0D8DE
'
color
:
DroppableTextAreaStyle
.
backgroundColor
}
rightPadding
:
fileChooserButton
.
width
+
...
...
@@ -53,17 +52,17 @@ Item {
}
// Handle click to select files.
MouseArea
{
ActionButton
{
id
:
fileChooserButton
anchors
{
right
:
parent
.
right
rightMargin
:
scrollBar
.
width
+
DroppableTextAreaStyle
.
fileChooserButton
.
margins
verticalCenter
:
parent
.
verticalCenter
}
height
:
parent
.
height
width
:
DroppableTextAreaStyle
.
fileChooserButton
.
width
icon
:
'
attachment
'
iconSize
:
DroppableTextAreaStyle
.
fileChooserButton
.
size
onClicked
:
fileDialog
.
open
()
...
...
@@ -75,11 +74,6 @@ Item {
onAccepted
:
_emitFiles
(
fileDialog
.
fileUrls
)
}
Icon
{
anchors.fill
:
parent
icon
:
'
chat_attachment
'
}
}
// Hover style.
...
...
tests/ui/modules/Common/Form/ActionButton.qml
View file @
9461ba26
...
...
@@ -11,7 +11,7 @@ Button {
id
:
button
property
bool
useStates
:
true
property
int
iconSize
property
int
iconSize
// Optionnal.
// If `useStates` = true, the used icons are:
// `icon`_pressed, `icon`_hovered and `icon`_normal.
...
...
@@ -42,7 +42,10 @@ Button {
Icon
{
id
:
icon
anchors.
fill
:
parent
anchors.
centerIn
:
parent
icon
:
_getIcon
()
iconSize
:
parent
.
iconSize
||
(
parent
.
width
>
parent
.
height
?
parent
.
height
:
parent
.
width
)
}
}
tests/ui/modules/Common/Form/SmallButton.qml
View file @
9461ba26
...
...
@@ -28,6 +28,8 @@ Button {
horizontalAlignment
:
Text
.
AlignHCenter
text
:
button
.
text
verticalAlignment
:
Text
.
AlignVCenter
leftPadding
:
SmallButtonStyle
.
leftPadding
rightPadding
:
SmallButtonStyle
.
rightPadding
}
hoverEnabled
:
true
}
tests/ui/modules/Common/Image/Icon.qml
View file @
9461ba26
import
QtQuick
2.7
import
Common
1.0
import
Utils
1.0
// ===================================================================
// An icon image properly resized.
// ===================================================================
I
mage
{
property
int
iconSize
I
tem
{
property
var
iconSize
// Required.
property
string
icon
height
:
iconSize
width
:
iconSize
Component.onCompleted
:
{
if
(
width
==
null
)
{
width
=
iconSize
}
fillMode
:
Image
.
PreserveAspectFit
source
:
icon
?
Constants
.
imagesPath
+
icon
+
Constants
.
imagesFormat
:
''
if
(
height
==
null
)
{
height
=
iconSize
}
}
// Warning: Perfomance cost.
mipmap
:
true
Image
{
function
_checkIconSize
()
{
Utils
.
assert
(
iconSize
!=
null
&&
iconSize
>
0
,
'
`iconSize` must be defined and must be positive. (icon=`
'
+
icon
+
'
`)
'
)
}
anchors.centerIn
:
parent
height
:
{
_checkIconSize
()
return
iconSize
>
sourceSize
.
height
?
sourceSize
.
height
:
iconSize
}
width
:
{
_checkIconSize
()
return
iconSize
>
sourceSize
.
width
?
sourceSize
.
width
:
iconSize
}
fillMode
:
Image
.
PreserveAspectFit
source
:
icon
?
Constants
.
imagesPath
+
icon
+
Constants
.
imagesFormat
:
''
// Warning: Perfomance cost.
mipmap
:
true
}
}
tests/ui/modules/Common/Menu/Menu.qml
View file @
9461ba26
...
...
@@ -65,13 +65,13 @@ Rectangle {
spacing
:
MenuStyle
.
entry
.
spacing
Icon
{
Layout.preferredHeight
:
MenuStyle
.
entry
.
iconSize
Layout.preferredWidth
:
MenuStyle
.
entry
.
iconSize
icon
:
modelData
.
icon
+
(
_selectedEntry
===
index
?
'
_selected
'
:
'
_normal
'
)
iconSize
:
MenuStyle
.
entry
.
iconSize
Layout.preferredWidth
:
iconSize
}
Text
{
...
...
tests/ui/modules/Common/Styles/DroppableTextAreaStyle.qml
View file @
9461ba26
...
...
@@ -6,9 +6,11 @@ import Common 1.0
// ===================================================================
QtObject
{
property
color
backgroundColor
:
Colors
.
k
property
QtObject
fileChooserButton
:
QtObject
{
property
int
margins
:
6
property
int
width
:
4
0
property
int
size
:
2
0
}
property
QtObject
hoverContent
:
QtObject
{
...
...
tests/ui/modules/Common/Styles/Form/SmallButtonStyle.qml
View file @
9461ba26
...
...
@@ -6,6 +6,9 @@ import Common 1.0
// ===================================================================
QtObject
{
property
int
leftPadding
:
5
property
int
rightPadding
:
5
property
QtObject
background
:
QtObject
{
property
int
height
:
22
property
int
radius
:
10
...
...
tests/ui/modules/Linphone/Chat/Chat.qml
View file @
9461ba26
This diff is collapsed.
Click to expand it.
tests/ui/modules/Linphone/Chat/Event.qml
View file @
9461ba26
import
QtQuick
2.7
import
Common
1.0
import
Linphone
.
Styles
1.0
import
Utils
1.0
// ===================================================================
Text
{
Component
{
// Never created.
// Private data for `lupdate`.
Item
{
property
var
i18n
:
[
QT_TR_NOOP
(
'
hangup
'
),
QT_TR_NOOP
(
'
incomingCall
'
),
QT_TR_NOOP
(
'
lostIncomingCall
'
),
QT_TR_NOOP
(
'
lostOutgoingCall
'
)
]
}
Row
{
height
:
ChatStyle
.
entry
.
lineHeight
Icon
{
height
:
parent
.
height
icon
:
$content
iconSize
:
ChatStyle
.
entry
.
event
.
iconSize
width
:
ChatStyle
.
entry
.
metaWidth
}
color
:
'
#898989
'
font.bold
:
true
text
:
qsTr
(
Utils
.
snakeToCamel
(
$content
))
Text
{
Component
{
// Never created.
// Private data for `lupdate`.
Item
{
property
var
i18n
:
[
QT_TR_NOOP
(
'
endCall
'
),
QT_TR_NOOP
(
'
incomingCall
'
),
QT_TR_NOOP
(
'
lostIncomingCall
'
),
QT_TR_NOOP
(
'
lostOutgoingCall
'
)
]
}
}
color
:
ChatStyle
.
entry
.
event
.
text
.
color
font
{
bold
:
true
pointSize
:
ChatStyle
.
entry
.
event
.
text
.
fontSize
}
height
:
parent
.
height
text
:
qsTr
(
Utils
.
snakeToCamel
(
$content
))
verticalAlignment
:
Text
.
AlignVCenter
}
}
tests/ui/modules/Linphone/Chat/IncomingMessage.qml
View file @
9461ba26
import
QtQuick
2.7
import
QtQuick
.
Layouts
1.3
import
Common
1.0
import
Linphone
1.0
import
Linphone
.
Styles
1.0
// ===================================================================
RowLayout
{
implicitHeight
:
message
.
height
spacing
:
1
0
spacing
:
0
Avatar
{
Item
{
Layout.alignment
:
Qt
.
AlignTop
Layout.preferredHeight
:
30
Layout.preferredWidth
:
30
Layout.preferredHeight
:
ChatStyle
.
entry
.
lineHeight
Layout.preferredWidth
:
ChatStyle
.
entry
.
metaWidth
Avatar
{
anchors.centerIn
:
parent
username
:
contact
.
username
width
:
ChatStyle
.
entry
.
lineHeight
height
:
ChatStyle
.
entry
.
lineHeight
}
}
Message
{
...
...
@@ -21,8 +30,20 @@ RowLayout {
Layout.fillWidth
:
true
// Not a style. Workaround to avoid a 0 width.
// Arbitrary value.
Layout.minimumWidth
:
20
backgroundColor
:
'
#BFBFBF
'
backgroundColor
:
ChatStyle
.
entry
.
message
.
incoming
.
backgroundColor
color
:
ChatStyle
.
entry
.
message
.
incoming
.
text
.
color
fontSize
:
ChatStyle
.
entry
.
message
.
incoming
.
text
.
fontSize
ActionButton
{
height
:
ChatStyle
.
entry
.
lineHeight
icon
:
'
delete
'
iconSize
:
ChatStyle
.
entry
.
deleteIconSize
visible
:
isHoverEntry
()
onClicked
:
deleteEntry
()
}
}
}
tests/ui/modules/Linphone/Chat/Message.qml
View file @
9461ba26
import
QtQuick
2.7
import
Linphone
.
Styles
1.0
// ===================================================================
Item
{
id
:
container
property
alias
backgroundColor
:
rectangle
.
color
property
alias
color
:
text
.
color
property
alias
fontSize
:
text
.
font
.
pointSize
default
property
alias
_content
:
content
.
data
// -----------------------------------------------------------------
implicitHeight
:
text
.
contentHeight
+
text
.
padding
*
2
Rectangle
{
id
:
rectangle
height
:
parent
.
height
radius
:
4
radius
:
ChatStyle
.
entry
.
message
.
radius
width
:
(
text
.
contentWidth
<
parent
.
width
?
text
.
contentWidth
...
...
@@ -31,7 +36,7 @@ Item {
right
:
container
.
right
}
padding
:
8
padding
:
ChatStyle
.
entry
.
message
.
padding
text
:
$content
wrapMode
:
Text
.
Wrap
...
...
@@ -41,6 +46,10 @@ Item {
Item
{
id
:
content
anchors.left
:
rectangle
.
right
anchors
{
left
:
rectangle
.
right
leftMargin
:
ChatStyle
.
entry
.
message
.
extraContent
.
leftMargin
}
}
}
tests/ui/modules/Linphone/Chat/OutgoingMessage.qml
View file @
9461ba26
import
QtQuick
2.7
import
QtQuick
.
Layouts
1.3
import
Common
1.0
import
Linphone
1.0
import
Linphone
.
Styles
1.0
// ===================================================================
RowLayout
{
implicitHeight
:
message
.
height
spacing
:
0
Message
{
id
:
message
Layout.fillWidth
:
true
backgroundColor
:
ChatStyle
.
entry
.
message
.
outgoing
.
backgroundColor
color
:
ChatStyle
.
entry
.
message
.
outgoing
.
text
.
color
fontSize
:
ChatStyle
.
entry
.
message
.
outgoing
.
text
.
fontSize
Row
{
spacing
:
ChatStyle
.
entry
.
message
.
extraContent
.
spacing
Message
{
id
:
message
Icon
{
height
:
ChatStyle
.
entry
.
lineHeight
icon
:
'
chat_send
'
iconSize
:
ChatStyle
.
entry
.
message
.
outgoing
.
sendIconSize
}
backgroundColor
:
'
#E4E4E4
'
ActionButton
{
height
:
ChatStyle
.
entry
.
lineHeight
icon
:
'
delete
'
iconSize
:
ChatStyle
.
entry
.
deleteIconSize
visible
:
isHoverEntry
()
// TODO: Success and re-send icon.
Icon
{
iconSize
:
16
icon
:
'
valid
'
onClicked
:
deleteEntry
()
}
}
}
}
tests/ui/modules/Linphone/Presence/PresenceLevel.qml
View file @
9461ba26
...
...
@@ -11,7 +11,7 @@ Item {
property
string
icon
:
'
led
'
Icon
{
anchors.
fill
:
parent
anchors.
centerIn
:
parent
function
_getColorString
()
{
if
(
level
===
Presence
.
Green
)
{
...
...
@@ -34,5 +34,8 @@ Item {
?
parent
.
icon
+
'
_
'
+
level
:
''
}
iconSize
:
parent
.
height
>
parent
.
width
?
parent
.
width
:
parent
.
height
}
}
tests/ui/modules/Linphone/Styles/ChatStyle.qml
0 → 100644
View file @
9461ba26
pragma
Singleton
import
QtQuick
2.7
import
Common
1.0
// ===================================================================
QtObject
{
property
QtObject
sectionHeading
:
QtObject
{
property
int
padding
:
5
property
int
bottomMargin
:
20
property
QtObject
border
:
QtObject
{
property
color
color
:
'
#E2E9EF
'
property
int
width
:
1
}
property
QtObject
text
:
QtObject
{
property
int
fontSize
:
10
property
color
color
:
'
#6B7A86
'
}
}
property
QtObject
sendArea
:
QtObject
{
property
int
height
:
80
property
QtObject
border
:
QtObject
{
property
color
color
:
'
#B1B1B1
'
property
int
width
:
1
}
}
property
QtObject
entry
:
QtObject
{
property
int
bottomMargin
:
10
property
int
deleteIconSize
:
17
property
int
leftMargin
:
18
property
int
lineHeight
:
30
property
int
metaWidth
:
40
property
QtObject
event
:
QtObject
{
property
int
iconSize
:
18
property
QtObject
text
:
QtObject
{
property
color
color
:
'
#595759
'
property
int
fontSize
:
10
}
}
property
QtObject
message
:
QtObject
{
property
int
padding
:
8
property
int
radius
:
4
property
QtObject
extraContent
:
QtObject
{
property
int
leftMargin
:
10
property
int
spacing
:
5
property
int
rightMargin
:
5
}
property
QtObject
incoming
:
QtObject
{
property
color
backgroundColor
:
'
#D0D8DE
'
property
QtObject
text
:
QtObject
{
property
color
color
:
'
#595759
'
property
int
fontSize
:
10
}
}
property
QtObject
outgoing
:
QtObject
{
property
color
backgroundColor
:
'
#F3F3F3
'
property
int
sendIconSize
:
12
property
QtObject
text
:
QtObject
{
property
color
color
:
'
#595759
'
property
int
fontSize
:
10
}
}
}
property
QtObject
time
:
QtObject
{
property
color
color
:
'
#96A5B1
'
property
int
fontSize
:
10
property
int
width
:
44
}
}
}
tests/ui/modules/Linphone/Styles/qmldir
View file @
9461ba26
...
...
@@ -6,6 +6,8 @@ module Linphone.Style
singleton AccountStatusStyle 1.0 Account/AccountStatusStyle.qml
singleton ChatStyle 1.0 ChatStyle.qml
singleton AvatarStyle 1.0 Contact/AvatarStyle.qml
singleton ContactDescriptionStyle 1.0 Contact/ContactDescriptionStyle.qml
singleton ContactStyle 1.0 Contact/ContactStyle.qml
...
...
tests/ui/views/App/MainWindow/Contacts.qml
View file @
9461ba26
...
...
@@ -111,57 +111,6 @@ ColumnLayout {
anchors.fill
:
parent
color
:
ContactsStyle
.
contact
.
backgroundColor
.
normal
Rectangle
{
id
:
indicator
anchors.left
:
parent
.
left
color
:
'
transparent
'
height
:
parent
.
height
width
:
ContactsStyle
.
contact
.
indicator
.
width
}
MouseArea
{
id
:
mouseArea
anchors.fill
:
parent
hoverEnabled
:
true
RowLayout
{
anchors
{
fill
:
parent
leftMargin
:
ContactsStyle
.
contact
.
leftMargin
rightMargin
:
ContactsStyle
.
contact
.
rightMargin
}
spacing
:
ContactsStyle
.
contact
.
spacing
// Avatar.
Avatar
{
Layout.preferredHeight
:
ContactsStyle
.
contact
.
avatarSize
Layout.preferredWidth
:
ContactsStyle
.
contact
.
avatarSize
image
:
$contact
.
avatar
username
:
$contact
.
username
}
// Username.
Text
{
Layout.preferredWidth
:
ContactsStyle
.
contact
.
username
.
width
color
:
ContactsStyle
.
contact
.
username
.
color
elide
:
Text
.
ElideRight
font.bold
:
true
text
:
$contact
.
username
}
// Container.
Loader
{
id
:
loader
Layout.fillWidth
:
true
Layout.fillHeight
:
true
sourceComponent
:
container1
}
}
}
// ---------------------------------------------------------
Component
{
...
...
@@ -225,6 +174,59 @@ ColumnLayout {
// ---------------------------------------------------------
Rectangle
{
id
:
indicator
anchors.left
:
parent
.
left
color
:
'
transparent
'
height
:
parent
.
height
width
:
ContactsStyle
.
contact
.
indicator
.
width
}
MouseArea
{
id
:
mouseArea
anchors.fill
:
parent
hoverEnabled
:
true
RowLayout
{
anchors
{
fill
:
parent
leftMargin
:
ContactsStyle
.
contact
.
leftMargin
rightMargin
:
ContactsStyle
.
contact
.
rightMargin
}
spacing
:
ContactsStyle
.
contact
.
spacing
// Avatar.
Avatar
{
Layout.preferredHeight
:
ContactsStyle
.
contact
.
avatarSize
Layout.preferredWidth
:
ContactsStyle
.
contact
.
avatarSize
image
:
$contact
.
avatar
username
:
$contact
.
username
}
// Username.
Text
{
Layout.preferredWidth
:
ContactsStyle
.
contact
.
username
.
width
color
:
ContactsStyle
.
contact
.
username
.
color
elide
:
Text
.
ElideRight
font.bold
:
true
text
:
$contact
.
username
}
// Container.
Loader
{
id
:
loader
Layout.fillWidth
:
true
Layout.fillHeight
:
true
sourceComponent
:
container1
}
}
}
// ---------------------------------------------------------
states
:
State
{
when
:
mouseArea
.
containsMouse
...
...
tests/ui/views/App/MainWindow/Conversation.qml
View file @
9461ba26
...
...
@@ -70,14 +70,14 @@ ColumnLayout {
ActionButton
{
icon
:
'
contact_edit
'
iconSize
:
ConversationStyle
.
bar
.
actions
.
edit
.
contactI
conSize
iconSize
:
ConversationStyle
.
bar
.
actions
.
edit
.
i
conSize
onClicked
:
console
.
log
(
'
clicked!!!
'
)
// TODO.
}
ActionButton
{
icon
:
'
delete
'
iconSize
:
ConversationStyle
.
bar
.
actions
.
edit
.
deleteI
conSize
iconSize
:
ConversationStyle
.
bar
.
actions
.
edit
.
i
conSize
onClicked
:
window
.
setView
(
'
Contact
'
)
// TODO.
}
...
...
@@ -117,7 +117,8 @@ ColumnLayout {
// -----------------------------------------------------------------
Chat
{
Layout.fillWidth
:
true
Layout.fillHeight
:
true
Layout.fillWidth
:
true
contact
:
parent
.
contact
}
}
tests/ui/views/App/Styles/MainWindow/ConversationStyle.qml
View file @
9461ba26
...
...
@@ -22,8 +22,7 @@ QtObject {
}
property
QtObject
edit
:
QtObject
{
property
int
contactIconSize
:
22
property
int
deleteIconSize
:
17
property
int
iconSize
:
22
}
}
...
...
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