feat(app): calls views in progress
|
|
@ -12,7 +12,6 @@ set(CMAKE_CXX_STANDARD 11)
|
|||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
#
|
||||
set(CUSTOM_FLAGS "\
|
||||
-Wcast-align \
|
||||
-Wconversion \
|
||||
|
|
@ -166,6 +165,6 @@ add_executable(${LINPHONE_EXEC} ${SOURCES} ${HEADERS} ${RESOURCES})
|
|||
add_dependencies(${LINPHONE_EXEC} update_translations)
|
||||
add_dependencies(update_translations check_qml)
|
||||
|
||||
target_include_directories(${LINPHONE_EXEC} PRIVATE "${CMAKE_SOURCE_DIR}/../OUTPUT/desktop/include/")
|
||||
target_include_directories(${LINPHONE_EXEC} SYSTEM PRIVATE "${CMAKE_SOURCE_DIR}/../OUTPUT/desktop/include/")
|
||||
|
||||
target_link_libraries(${LINPHONE_EXEC} ${LIBS})
|
||||
|
|
|
|||
14
tests/assets/images/call_quality_0.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="10px" height="13px" viewBox="0 0 10 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>call_quality_0</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_quality_0" stroke-width="2" stroke="#96A6B1">
|
||||
<path d="M1,11.7417619 L1,5.10313788"></path>
|
||||
<path d="M5,11.7417619 L5,3.50906913"></path>
|
||||
<path d="M9,11.7417619 L9,0.95355314"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 730 B |
14
tests/assets/images/call_quality_1.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="10px" height="13px" viewBox="0 0 10 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>call_quality_1</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_quality_1" stroke-width="2">
|
||||
<path d="M1,11.7417619 L1,5.10313788" stroke="#6B7A86"></path>
|
||||
<path d="M5,11.7417619 L5,3.50906913" stroke="#96A6B1"></path>
|
||||
<path d="M9,11.7417619 L9,0.95355314" stroke="#96A6B1"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 764 B |
14
tests/assets/images/call_quality_2.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="10px" height="13px" viewBox="0 0 10 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>call_quality_2</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_quality_2" stroke-width="2">
|
||||
<path d="M1,11.7417619 L1,5.10313788" stroke="#6B7A86"></path>
|
||||
<path d="M5,11.7417619 L5,3.50906913" stroke="#6B7A86"></path>
|
||||
<path d="M9,11.7417619 L9,0.95355314" stroke="#96A6B1"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 764 B |
14
tests/assets/images/call_quality_3.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="10px" height="13px" viewBox="0 0 10 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>call_quality_3</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_quality_3" stroke-width="2" stroke="#6B7A86">
|
||||
<path d="M1,11.7417619 L1,5.10313788"></path>
|
||||
<path d="M5,11.7417619 L5,3.50906913"></path>
|
||||
<path d="M9,11.7417619 L9,0.95355314"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 730 B |
13
tests/assets/images/camera_off_hovered.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_on</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_on">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26 24.8941594 21.3142449 30.7045152 25.6765037 30.7045152 14.3231669 24.8941594 18.6860845 24.8941594 14 9 14 9 25.8534054 9.17456154 26"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 937 B |
14
tests/assets/images/camera_off_normal.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="40px" height="41px" viewBox="0 0 40 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_off">
|
||||
<path d="M20,40.3145406 C31.045695,40.3145406 40,31.3602356 40,20.3145406 C40,9.26884559 31.045695,0.314540582 20,0.314540582 C8.954305,0.314540582 0,9.26884559 0,20.3145406 C0,31.3602356 8.954305,40.3145406 20,40.3145406 Z" fill="#D0D8DE"></path>
|
||||
<path d="M9,30.2917175 L28.1397841,11.3145406 L9,30.2917175 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26.3145406 24.8941594 21.6287855 30.7045152 25.9910443 30.7045152 14.6377075 24.8941594 19.0006251 24.8941594 14.3145406 9 14.3145406 9 26.167946 9.17456154 26.3145406"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
13
tests/assets/images/camera_off_pressed.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_on_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_on_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#FF5E00"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26 24.8941594 21.3142449 30.7045152 25.6765037 30.7045152 14.3231669 24.8941594 18.6860845 24.8941594 14 9 14 9 25.8534054 9.17456154 26"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 947 B |
14
tests/assets/images/camera_on_hovered.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="40px" height="41px" viewBox="0 0 40 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_off">
|
||||
<path d="M20,40.3145406 C31.045695,40.3145406 40,31.3602356 40,20.3145406 C40,9.26884559 31.045695,0.314540582 20,0.314540582 C8.954305,0.314540582 0,9.26884559 0,20.3145406 C0,31.3602356 8.954305,40.3145406 20,40.3145406 Z" fill="#D0D8DE"></path>
|
||||
<path d="M9,30.2917175 L28.1397841,11.3145406 L9,30.2917175 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26.3145406 24.8941594 21.6287855 30.7045152 25.9910443 30.7045152 14.6377075 24.8941594 19.0006251 24.8941594 14.3145406 9 14.3145406 9 26.167946 9.17456154 26.3145406"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
13
tests/assets/images/camera_on_normal.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_on</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_on">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26 24.8941594 21.3142449 30.7045152 25.6765037 30.7045152 14.3231669 24.8941594 18.6860845 24.8941594 14 9 14 9 25.8534054 9.17456154 26"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 937 B |
14
tests/assets/images/camera_on_pressed.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="40px" height="41px" viewBox="0 0 40 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>camera_off_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="camera_off_clic">
|
||||
<path d="M20,40.3145406 C31.045695,40.3145406 40,31.3602356 40,20.3145406 C40,9.26884559 31.045695,0.314540582 20,0.314540582 C8.954305,0.314540582 0,9.26884559 0,20.3145406 C0,31.3602356 8.954305,40.3145406 20,40.3145406 Z" fill="#FF5E00"></path>
|
||||
<path d="M9,30.2917175 L28.1397841,11.3145406 L9,30.2917175 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="24.8941594 26.3145406 24.8941594 21.6287855 30.7045152 25.9910443 30.7045152 14.6377075 24.8941594 19.0006251 24.8941594 14.3145406 9 14.3145406 9 26.167946 9.17456154 26.3145406"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
15
tests/assets/images/chat_off_hovered.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_on</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_on">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
tests/assets/images/chat_off_normal.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_off">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#96A6B1"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
tests/assets/images/chat_off_pressed.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_on_off_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_on_off_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" id="chat_clic" fill="#FF5E00"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
tests/assets/images/chat_on_hovered.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_off</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_off">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#96A6B1"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
tests/assets/images/chat_on_normal.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_on</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_on">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
15
tests/assets/images/chat_on_pressed.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>chat_on_off_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="chat_on_off_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" id="chat_clic" fill="#FF5E00"></path>
|
||||
<g id="chat_icon" transform="translate(11.000000, 11.000000)" stroke-width="1.5" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.45514411,16.6653354 C6.45490676,16.6653354 3.61717822,19.6701782 0,18.8619676 C0,18.8619676 3.54193902,17.8269451 2.73827987,14.6957526 L2.71240897,14.5508779 C1.03459842,13.0064191 0,10.8924366 0,8.55995464 C0,3.83252839 4.25137115,0 9.49414345,0 C14.7371531,0 18.9880496,3.83252839 18.9880496,8.55995464 C18.9880496,13.2873809 14.7371531,17.1196718 9.49414345,17.1196718 C8.43082597,17.1196718 7.40904432,16.9626847 6.45466941,16.6719854 L6.45514411,16.6653354 L6.45514411,16.6653354 Z M5.07378077,7.04494575 L13.889822,7.04494575 L5.07378077,7.04494575 Z M5.07378077,10.0749635 L13.889822,10.0749635 L5.07378077,10.0749635 Z"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
14
tests/assets/images/fullscreen_hovered.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>fullscreen_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="fullscreen_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M24.1451842,19.6252119 L27.839042,15.779058 M24.1482844,11.9329042 L27.839042,15.779058 M27.4600456,15.779058 L20.1467343,15.779058" stroke="#FF5E00" stroke-linecap="round" stroke-linejoin="round" transform="translate(23.992888, 15.779058) rotate(-45.000000) translate(-23.992888, -15.779058) "></path>
|
||||
<path d="M15.7839802,27.8085179 L19.4778379,23.9623641 M15.7870803,20.1162102 L19.4778379,23.9623641 M19.0988416,23.9623641 L11.7855303,23.9623641" stroke="#FF5E00" stroke-linecap="round" stroke-linejoin="round" transform="translate(15.631684, 23.962364) rotate(-225.000000) translate(-15.631684, -23.962364) "></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
14
tests/assets/images/fullscreen_normal.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>fullscreen_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="fullscreen_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M24.1451842,19.6252119 L27.839042,15.779058 M24.1482844,11.9329042 L27.839042,15.779058 M27.4600456,15.779058 L20.1467343,15.779058" stroke="#6B7A86" stroke-linecap="round" stroke-linejoin="round" transform="translate(23.992888, 15.779058) rotate(-45.000000) translate(-23.992888, -15.779058) "></path>
|
||||
<path d="M15.7839802,27.8085179 L19.4778379,23.9623641 M15.7870803,20.1162102 L19.4778379,23.9623641 M19.0988416,23.9623641 L11.7855303,23.9623641" stroke="#6B7A86" stroke-linecap="round" stroke-linejoin="round" transform="translate(15.631684, 23.962364) rotate(-225.000000) translate(-15.631684, -23.962364) "></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
14
tests/assets/images/fullscreen_pressed.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>fullscreen_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="fullscreen_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M24.1451842,19.6252119 L27.839042,15.779058 M24.1482844,11.9329042 L27.839042,15.779058 M27.4600456,15.779058 L20.1467343,15.779058" stroke="#FF5E00" stroke-linecap="round" stroke-linejoin="round" transform="translate(23.992888, 15.779058) rotate(-45.000000) translate(-23.992888, -15.779058) "></path>
|
||||
<path d="M15.7839802,27.8085179 L19.4778379,23.9623641 M15.7870803,20.1162102 L19.4778379,23.9623641 M19.0988416,23.9623641 L11.7855303,23.9623641" stroke="#FF5E00" stroke-linecap="round" stroke-linejoin="round" transform="translate(15.631684, 23.962364) rotate(-225.000000) translate(-15.631684, -23.962364) "></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
13
tests/assets/images/options_hovered.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>options_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="options_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<path d="M29.0873544,21.9006986 L29.0873544,18.0990443 L27.457167,18.0990443 C27.276035,17.3980628 26.9959394,16.7371962 26.6347091,16.1290447 L27.7891991,14.9803711 L25.0877236,12.2919042 L23.933492,13.441092 C23.3229145,13.0816012 22.6583335,12.8028543 21.9537018,12.6225946 L21.9537018,11 L18.133911,11 L18.133911,12.6225946 C17.4292793,12.8028543 16.765215,13.0816012 16.1538624,13.441092 L14.9993724,12.2919042 L12.298672,14.9803711 L13.453162,16.1290447 C13.0916733,16.7369391 12.8115777,17.3980628 12.6301874,18.0990443 L11,18.0990443 L11,21.9006986 L12.6301874,21.9006986 C12.8115777,22.6019372 13.0916733,23.2630609 13.4523869,23.8712124 L12.298672,25.0196289 L14.9998892,27.7078387 L16.1538624,26.5591651 C16.765215,26.9183988 17.4292793,27.1974028 18.133911,27.3774054 L18.133911,29 L21.9537018,29 L21.9537018,27.3774054 C22.6585919,27.1974028 23.3229145,26.9183988 23.9337503,26.5591651 L25.0877236,27.7078387 L27.7891991,25.0196289 L26.6347091,23.8712124 C26.9959394,23.2630609 27.2762934,22.6019372 27.457167,21.9006986 L29.0873544,21.9006986 L29.0873544,21.9006986 Z M15.9908179,20.0001286 C15.9908179,22.227789 17.8054963,24.0334719 20.0439356,24.0334719 C22.2818581,24.0334719 24.0965365,22.227789 24.0965365,20.0001286 C24.0965365,17.7729825 22.2818581,15.9667852 20.0439356,15.9667852 C17.8054963,15.9667852 15.9908179,17.7729825 15.9908179,20.0001286 L15.9908179,20.0001286 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
13
tests/assets/images/options_normal.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>options_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="options_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#96A6B1"></path>
|
||||
<path d="M29.0873544,21.9006986 L29.0873544,18.0990443 L27.457167,18.0990443 C27.276035,17.3980628 26.9959394,16.7371962 26.6347091,16.1290447 L27.7891991,14.9803711 L25.0877236,12.2919042 L23.933492,13.441092 C23.3229145,13.0816012 22.6583335,12.8028543 21.9537018,12.6225946 L21.9537018,11 L18.133911,11 L18.133911,12.6225946 C17.4292793,12.8028543 16.765215,13.0816012 16.1538624,13.441092 L14.9993724,12.2919042 L12.298672,14.9803711 L13.453162,16.1290447 C13.0916733,16.7369391 12.8115777,17.3980628 12.6301874,18.0990443 L11,18.0990443 L11,21.9006986 L12.6301874,21.9006986 C12.8115777,22.6019372 13.0916733,23.2630609 13.4523869,23.8712124 L12.298672,25.0196289 L14.9998892,27.7078387 L16.1538624,26.5591651 C16.765215,26.9183988 17.4292793,27.1974028 18.133911,27.3774054 L18.133911,29 L21.9537018,29 L21.9537018,27.3774054 C22.6585919,27.1974028 23.3229145,26.9183988 23.9337503,26.5591651 L25.0877236,27.7078387 L27.7891991,25.0196289 L26.6347091,23.8712124 C26.9959394,23.2630609 27.2762934,22.6019372 27.457167,21.9006986 L29.0873544,21.9006986 L29.0873544,21.9006986 Z M15.9908179,20.0001286 C15.9908179,22.227789 17.8054963,24.0334719 20.0439356,24.0334719 C22.2818581,24.0334719 24.0965365,22.227789 24.0965365,20.0001286 C24.0965365,17.7729825 22.2818581,15.9667852 20.0439356,15.9667852 C17.8054963,15.9667852 15.9908179,17.7729825 15.9908179,20.0001286 L15.9908179,20.0001286 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
13
tests/assets/images/options_pressed.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>options_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="options_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#FF5E00"></path>
|
||||
<path d="M29.0873544,21.9006986 L29.0873544,18.0990443 L27.457167,18.0990443 C27.276035,17.3980628 26.9959394,16.7371962 26.6347091,16.1290447 L27.7891991,14.9803711 L25.0877236,12.2919042 L23.933492,13.441092 C23.3229145,13.0816012 22.6583335,12.8028543 21.9537018,12.6225946 L21.9537018,11 L18.133911,11 L18.133911,12.6225946 C17.4292793,12.8028543 16.765215,13.0816012 16.1538624,13.441092 L14.9993724,12.2919042 L12.298672,14.9803711 L13.453162,16.1290447 C13.0916733,16.7369391 12.8115777,17.3980628 12.6301874,18.0990443 L11,18.0990443 L11,21.9006986 L12.6301874,21.9006986 C12.8115777,22.6019372 13.0916733,23.2630609 13.4523869,23.8712124 L12.298672,25.0196289 L14.9998892,27.7078387 L16.1538624,26.5591651 C16.765215,26.9183988 17.4292793,27.1974028 18.133911,27.3774054 L18.133911,29 L21.9537018,29 L21.9537018,27.3774054 C22.6585919,27.1974028 23.3229145,26.9183988 23.9337503,26.5591651 L25.0877236,27.7078387 L27.7891991,25.0196289 L26.6347091,23.8712124 C26.9959394,23.2630609 27.2762934,22.6019372 27.457167,21.9006986 L29.0873544,21.9006986 L29.0873544,21.9006986 Z M15.9908179,20.0001286 C15.9908179,22.227789 17.8054963,24.0334719 20.0439356,24.0334719 C22.2818581,24.0334719 24.0965365,22.227789 24.0965365,20.0001286 C24.0965365,17.7729825 22.2818581,15.9667852 20.0439356,15.9667852 C17.8054963,15.9667852 15.9908179,17.7729825 15.9908179,20.0001286 L15.9908179,20.0001286 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
13
tests/assets/images/pause_off_hovered.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>play_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="play_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="16 11 16 29 28.5805664 20"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 815 B |
13
tests/assets/images/pause_off_normal.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>play_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="play_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#96A6B1"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="16 11 16 29 28.5805664 20"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 821 B |
13
tests/assets/images/pause_off_pressed.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>play_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="play_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#FF5E00"></path>
|
||||
<polygon stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" points="16 11 16 29 28.5805664 20"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 815 B |
13
tests/assets/images/pause_on_hovered.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>pause_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="pause_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#4B5964"></path>
|
||||
<path d="M17,13 L17,26.9571245 M22.6,13 L22.6,26.9571245" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 826 B |
13
tests/assets/images/pause_on_normal.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>pause_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="pause_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#96A6B1"></path>
|
||||
<path d="M17,13 L17,26.9571245 M22.6,13 L22.6,26.9571245" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 832 B |
13
tests/assets/images/pause_on_pressed.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>pause_clic</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="pause_clic">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#FF5E00"></path>
|
||||
<path d="M17,13 L17,26.9571245 M22.6,13 L22.6,26.9571245" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 826 B |
17
tests/assets/images/record_hovered.svg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>record_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="record_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<circle stroke="#FF5E00" cx="19.5" cy="15.5" r="5"></circle>
|
||||
<circle fill="#FF5E00" cx="19.5" cy="15.5" r="3"></circle>
|
||||
<text font-family="Arial-BoldMT, Arial" font-size="8" font-weight="bold" fill="#FF5E00">
|
||||
<tspan x="11.5546875" y="29.5">REC</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1,008 B |
17
tests/assets/images/record_normal.svg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>record_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="record_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<circle stroke="#6B7A86" cx="19.5" cy="15.5" r="5"></circle>
|
||||
<circle fill="#6B7A86" cx="19.5" cy="15.5" r="3"></circle>
|
||||
<text font-family="Arial-BoldMT, Arial" font-size="8" font-weight="bold" fill="#6B7A86">
|
||||
<tspan x="11.5546875" y="29.5">REC</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1,014 B |
17
tests/assets/images/record_pressed.svg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>record_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="record_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<circle stroke="#FF5E00" cx="19.5" cy="15.5" r="5"></circle>
|
||||
<circle fill="#FF5E00" cx="19.5" cy="15.5" r="3"></circle>
|
||||
<text font-family="Arial-BoldMT, Arial" font-size="8" font-weight="bold" fill="#FF5E00">
|
||||
<tspan x="11.5546875" y="29.5">REC</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1,008 B |
24
tests/assets/images/screenshot_hovered.svg
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>screenshot_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<rect id="path-1" x="8.5" y="12" width="23" height="16" rx="1"></rect>
|
||||
<mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="23" height="16" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
</defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="screenshot_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M9.5,14.5 L30.523796,14.5" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<use stroke="#FF5E00" mask="url(#mask-2)" stroke-width="2" xlink:href="#path-1"></use>
|
||||
<path d="M20,16.3333333 L20,18.3333333" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<path d="M20,23.6666667 L20,25.6666667" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<path d="M23.6666667,20 L23.6666667,22" stroke="#FF5E00" stroke-linecap="square" transform="translate(23.666667, 21.000000) rotate(-270.000000) translate(-23.666667, -21.000000) "></path>
|
||||
<path d="M16.3333333,20 L16.3333333,22" stroke="#FF5E00" stroke-linecap="square" transform="translate(16.333333, 21.000000) rotate(-270.000000) translate(-16.333333, -21.000000) "></path>
|
||||
<circle stroke="#FF5E00" cx="20" cy="21" r="3.66666667"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
24
tests/assets/images/screenshot_normal.svg
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>screenshot_default</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<rect id="path-1" x="8.5" y="12" width="23" height="16" rx="1"></rect>
|
||||
<mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="23" height="16" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
</defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="screenshot_default">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M9.5,14.5 L30.523796,14.5" stroke="#6B7A86" stroke-linecap="square"></path>
|
||||
<use stroke="#6B7A86" mask="url(#mask-2)" stroke-width="2" xlink:href="#path-1"></use>
|
||||
<path d="M20,16.3333333 L20,18.3333333" stroke="#6B7A86" stroke-linecap="square"></path>
|
||||
<path d="M20,23.6666667 L20,25.6666667" stroke="#6B7A86" stroke-linecap="square"></path>
|
||||
<path d="M23.6666667,20 L23.6666667,22" stroke="#6B7A86" stroke-linecap="square" transform="translate(23.666667, 21.000000) rotate(-270.000000) translate(-23.666667, -21.000000) "></path>
|
||||
<path d="M16.3333333,20 L16.3333333,22" stroke="#6B7A86" stroke-linecap="square" transform="translate(16.333333, 21.000000) rotate(-270.000000) translate(-16.333333, -21.000000) "></path>
|
||||
<circle stroke="#6B7A86" cx="20" cy="21" r="3.66666667"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
24
tests/assets/images/screenshot_pressed.svg
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?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 41 (35326) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>screenshot_over</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<rect id="path-1" x="8.5" y="12" width="23" height="16" rx="1"></rect>
|
||||
<mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="23" height="16" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
</defs>
|
||||
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="screenshot_over">
|
||||
<path d="M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z" fill="#E8E8E8" opacity="0.85"></path>
|
||||
<path d="M9.5,14.5 L30.523796,14.5" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<use stroke="#FF5E00" mask="url(#mask-2)" stroke-width="2" xlink:href="#path-1"></use>
|
||||
<path d="M20,16.3333333 L20,18.3333333" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<path d="M20,23.6666667 L20,25.6666667" stroke="#FF5E00" stroke-linecap="square"></path>
|
||||
<path d="M23.6666667,20 L23.6666667,22" stroke="#FF5E00" stroke-linecap="square" transform="translate(23.666667, 21.000000) rotate(-270.000000) translate(-23.666667, -21.000000) "></path>
|
||||
<path d="M16.3333333,20 L16.3333333,22" stroke="#FF5E00" stroke-linecap="square" transform="translate(16.333333, 21.000000) rotate(-270.000000) translate(-16.333333, -21.000000) "></path>
|
||||
<circle stroke="#FF5E00" cx="20" cy="21" r="3.66666667"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
|
@ -226,6 +226,17 @@
|
|||
<translation>Display tooltips to discover Linphone Desktop</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IncomingCall</name>
|
||||
<message>
|
||||
<source>incomingVideoCall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>incomingAudioCall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
|
|
@ -311,6 +322,17 @@
|
|||
<translation>CANCEL</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>OutgoingCall</name>
|
||||
<message>
|
||||
<source>outgoingVideoCall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>outgoingAudioCall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PresenceString</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -218,6 +218,17 @@
|
|||
<translation>Afficher les tooltips pour découvrir Linphone Desktop</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>IncomingCall</name>
|
||||
<message>
|
||||
<source>incomingVideoCall</source>
|
||||
<translation>APPEL VIDEO ENTRANT</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>incomingAudioCall</source>
|
||||
<translation>APPEL AUDIO ENTRANT</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
|
|
@ -303,6 +314,17 @@
|
|||
<translation>ANNULER</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>OutgoingCall</name>
|
||||
<message>
|
||||
<source>outgoingVideoCall</source>
|
||||
<translation>APPEL VIDEO SORTANT</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>outgoingAudioCall</source>
|
||||
<translation>APPEL AUDIO SORTANT</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PresenceString</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -10,9 +10,25 @@
|
|||
<file>assets/images/call_hovered.svg</file>
|
||||
<file>assets/images/call_normal.svg</file>
|
||||
<file>assets/images/call_pressed.svg</file>
|
||||
<file>assets/images/call_quality_0.svg</file>
|
||||
<file>assets/images/call_quality_1.svg</file>
|
||||
<file>assets/images/call_quality_2.svg</file>
|
||||
<file>assets/images/call_quality_3.svg</file>
|
||||
<file>assets/images/camera_off_hovered.svg</file>
|
||||
<file>assets/images/camera_off_normal.svg</file>
|
||||
<file>assets/images/camera_off_pressed.svg</file>
|
||||
<file>assets/images/camera_on_hovered.svg</file>
|
||||
<file>assets/images/camera_on_normal.svg</file>
|
||||
<file>assets/images/camera_on_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_off_hovered.svg</file>
|
||||
<file>assets/images/chat_off_normal.svg</file>
|
||||
<file>assets/images/chat_off_pressed.svg</file>
|
||||
<file>assets/images/chat_on_hovered.svg</file>
|
||||
<file>assets/images/chat_on_normal.svg</file>
|
||||
<file>assets/images/chat_on_pressed.svg</file>
|
||||
<file>assets/images/chat_pressed.svg</file>
|
||||
<file>assets/images/chat_send.svg</file>
|
||||
<file>assets/images/chevron_green.svg</file>
|
||||
|
|
@ -32,6 +48,9 @@
|
|||
<file>assets/images/delete_pressed.svg</file>
|
||||
<file>assets/images/ended_call.svg</file>
|
||||
<file>assets/images/filter.svg</file>
|
||||
<file>assets/images/fullscreen_hovered.svg</file>
|
||||
<file>assets/images/fullscreen_normal.svg</file>
|
||||
<file>assets/images/fullscreen_pressed.svg</file>
|
||||
<file>assets/images/hangup_hovered.svg</file>
|
||||
<file>assets/images/hangup_normal.svg</file>
|
||||
<file>assets/images/hangup_pressed.svg</file>
|
||||
|
|
@ -52,7 +71,22 @@
|
|||
<file>assets/images/micro_on_pressed.svg</file>
|
||||
<file>assets/images/missed_incoming_call.svg</file>
|
||||
<file>assets/images/missed_outgoing_call.svg</file>
|
||||
<file>assets/images/options_hovered.svg</file>
|
||||
<file>assets/images/options_normal.svg</file>
|
||||
<file>assets/images/options_pressed.svg</file>
|
||||
<file>assets/images/outgoing_call.svg</file>
|
||||
<file>assets/images/pause_off_hovered.svg</file>
|
||||
<file>assets/images/pause_off_normal.svg</file>
|
||||
<file>assets/images/pause_off_pressed.svg</file>
|
||||
<file>assets/images/pause_on_hovered.svg</file>
|
||||
<file>assets/images/pause_on_normal.svg</file>
|
||||
<file>assets/images/pause_on_pressed.svg</file>
|
||||
<file>assets/images/record_hovered.svg</file>
|
||||
<file>assets/images/record_normal.svg</file>
|
||||
<file>assets/images/record_pressed.svg</file>
|
||||
<file>assets/images/screenshot_hovered.svg</file>
|
||||
<file>assets/images/screenshot_normal.svg</file>
|
||||
<file>assets/images/screenshot_pressed.svg</file>
|
||||
<file>assets/images/search.svg</file>
|
||||
<file>assets/images/speaker_off_hovered.svg</file>
|
||||
<file>assets/images/speaker_off_normal.svg</file>
|
||||
|
|
@ -167,8 +201,9 @@
|
|||
<file>ui/scripts/Utils/qmldir</file>
|
||||
<file>ui/scripts/Utils/uri-tools.js</file>
|
||||
<file>ui/scripts/Utils/utils.js</file>
|
||||
<file>ui/views/App/Calls/AbstractCall.qml</file>
|
||||
<file>ui/views/App/Calls/AbstractStartingCall.qml</file>
|
||||
<file>ui/views/App/Calls/Calls.qml</file>
|
||||
<file>ui/views/App/Calls/Incall.qml</file>
|
||||
<file>ui/views/App/Calls/IncomingCall.qml</file>
|
||||
<file>ui/views/App/Calls/OutgoingCall.qml</file>
|
||||
<file>ui/views/App/MainWindow/Contact.qml</file>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ protected:
|
|||
|
||||
private:
|
||||
QString getSipAddress () const {
|
||||
static_cast<ChatModel *>(m_chat_model_filter.sourceModel())->getSipAddress();
|
||||
return static_cast<ChatModel *>(m_chat_model_filter.sourceModel())->getSipAddress();
|
||||
}
|
||||
|
||||
void setSipAddress (const QString &sip_address) {
|
||||
|
|
|
|||
|
|
@ -11,15 +11,8 @@ Item {
|
|||
property var iconSize // Required.
|
||||
property string icon
|
||||
|
||||
Component.onCompleted: {
|
||||
if (width == null) {
|
||||
width = iconSize
|
||||
}
|
||||
|
||||
if (height == null) {
|
||||
height = iconSize
|
||||
}
|
||||
}
|
||||
height: iconSize
|
||||
width: iconSize
|
||||
|
||||
Image {
|
||||
function _checkIconSize () {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ Rectangle {
|
|||
: '_normal'
|
||||
)
|
||||
iconSize: MenuStyle.entry.iconSize
|
||||
Layout.preferredWidth: iconSize
|
||||
}
|
||||
|
||||
Text {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ Item {
|
|||
property var minimumRightLimit: 0
|
||||
|
||||
property bool _isClosed
|
||||
property int _savedContentAWidth
|
||||
|
||||
// Internal limits.
|
||||
property var _maximumLeftLimit
|
||||
|
|
@ -47,6 +46,28 @@ Item {
|
|||
property var _minimumLeftLimit
|
||||
property var _minimumRightLimit
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Public functions.
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
function isClosed () {
|
||||
return _isClosed
|
||||
}
|
||||
|
||||
function open () {
|
||||
if (_isClosed) {
|
||||
openingTransition.running = true
|
||||
}
|
||||
}
|
||||
|
||||
function close () {
|
||||
if (!_isClosed) {
|
||||
_close()
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Private functions.
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
function _getLimitValue (limit) {
|
||||
|
|
@ -188,7 +209,6 @@ Item {
|
|||
|
||||
function _close () {
|
||||
_isClosed = true
|
||||
_savedContentAWidth = contentA.width
|
||||
closingTransition.running = true
|
||||
}
|
||||
|
||||
|
|
@ -227,7 +247,6 @@ Item {
|
|||
: defaultChildAWidth
|
||||
|
||||
_isClosed = defaultClosed
|
||||
_savedContentAWidth = contentA.width
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
@ -279,7 +298,9 @@ Item {
|
|||
duration: PanedStyle.transitionDuration
|
||||
property: 'width'
|
||||
target: contentA
|
||||
to: _savedContentAWidth
|
||||
to: closingEdge === Qt.LeftEdge
|
||||
? minimumLeftLimit
|
||||
: container.width - minimumRightLimit - handle.width
|
||||
|
||||
onRunningChanged: !running && _open()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,11 +10,12 @@ import Utils 1.0
|
|||
// ===================================================================
|
||||
|
||||
ColumnLayout {
|
||||
property var contact
|
||||
|
||||
// Can be a model or a proxy chat model.
|
||||
property alias proxyModel: chat.model
|
||||
|
||||
property var _contact: ContactsListModel.mapSipAddressToContact(
|
||||
proxyModel.sipAddress
|
||||
) || proxyModel.sipAddress
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
spacing: 0
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import QtQuick.Layouts 1.3
|
|||
import Common 1.0
|
||||
import Linphone 1.0
|
||||
import Linphone.Styles 1.0
|
||||
import LinphoneUtils 1.0
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ RowLayout {
|
|||
Avatar {
|
||||
anchors.centerIn: parent
|
||||
height: ChatStyle.entry.message.incoming.avatarSize
|
||||
username: contact.username
|
||||
username: LinphoneUtils.getContactUsername(_contact)
|
||||
width: ChatStyle.entry.message.incoming.avatarSize
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@ Rectangle {
|
|||
ContactDescription {
|
||||
id: contactDescription
|
||||
|
||||
username: LinphoneUtils.getContactUsername(_contact)
|
||||
sipAddress: abstractCall.sipAddress
|
||||
height: StartingCallStyle.contactDescriptionHeight
|
||||
horizontalTextAlignment: Text.AlignHCenter
|
||||
sipAddress: abstractCall.sipAddress
|
||||
username: LinphoneUtils.getContactUsername(_contact)
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
|
|
@ -79,8 +79,8 @@ Rectangle {
|
|||
Item {
|
||||
id: container
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.margins: StartingCallStyle.containerMargins
|
||||
|
||||
Avatar {
|
||||
|
|
@ -19,8 +19,8 @@ Window {
|
|||
Paned {
|
||||
anchors.fill: parent
|
||||
defaultChildAWidth: 250
|
||||
maximumLeftLimit: 300
|
||||
minimumLeftLimit: 150
|
||||
maximumLeftLimit: 250
|
||||
minimumLeftLimit: 110
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Calls list.
|
||||
|
|
@ -76,120 +76,26 @@ Window {
|
|||
childB: Paned {
|
||||
anchors.fill: parent
|
||||
closingEdge: Qt.RightEdge
|
||||
defaultChildAWidth: 300
|
||||
defaultClosed: true
|
||||
minimumLeftLimit: 350
|
||||
minimumRightLimit: 250
|
||||
minimumLeftLimit: 380
|
||||
minimumRightLimit: 300
|
||||
resizeAInPriority: true
|
||||
|
||||
// Call.
|
||||
childA: OutgoingCall {
|
||||
childA: Incall {
|
||||
anchors.fill: parent
|
||||
sipAddress: 'sip:erwan.croze@sip.linphone.org'
|
||||
}
|
||||
|
||||
childB: Rectangle {
|
||||
anchors.fill: parent
|
||||
color: 'green'
|
||||
}
|
||||
|
||||
// Chat.
|
||||
//childB: Chat {
|
||||
// anchors.fill: parent
|
||||
//}
|
||||
}
|
||||
}
|
||||
childB: Chat {
|
||||
anchors.fill: parent
|
||||
proxyModel: ChatProxyModel {
|
||||
id: chatProxyModel
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// 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'
|
||||
sipAddress: 'sip:erwan.croze@sip.linphone.org'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
192
tests/ui/views/App/Calls/Incall.qml
Normal file
|
|
@ -0,0 +1,192 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
import Common 1.0
|
||||
import Linphone 1.0
|
||||
import LinphoneUtils 1.0
|
||||
|
||||
import App.Styles 1.0
|
||||
|
||||
// ===================================================================
|
||||
|
||||
Rectangle {
|
||||
id: call
|
||||
|
||||
property bool isVideoCall: false
|
||||
property string sipAddress
|
||||
|
||||
property var _contact: ContactsListModel.mapSipAddressToContact(
|
||||
sipAddress
|
||||
) || sipAddress
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
color: StartingCallStyle.backgroundColor
|
||||
|
||||
ColumnLayout {
|
||||
anchors {
|
||||
fill: parent
|
||||
topMargin: StartingCallStyle.header.topMargin
|
||||
}
|
||||
|
||||
spacing: 0
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Call info.
|
||||
// ---------------------------------------------------------------
|
||||
|
||||
RowLayout {
|
||||
id: info
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.leftMargin: 20
|
||||
Layout.rightMargin: 20
|
||||
Layout.preferredHeight: StartingCallStyle.contactDescriptionHeight
|
||||
|
||||
Icon {
|
||||
iconSize: 40
|
||||
icon: 'call_quality_' + 2
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
ActionBar {
|
||||
iconSize: 40
|
||||
|
||||
ActionButton {
|
||||
icon: 'screenshot'
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
icon: 'record'
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
icon: 'fullscreen'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ContactDescription {
|
||||
id: contactDescription
|
||||
|
||||
anchors.fill: info
|
||||
username: LinphoneUtils.getContactUsername(_contact)
|
||||
sipAddress: call.sipAddress
|
||||
horizontalTextAlignment: Text.AlignHCenter
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Contact visual.
|
||||
// ---------------------------------------------------------------
|
||||
|
||||
Item {
|
||||
id: container
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.margins: StartingCallStyle.containerMargins
|
||||
|
||||
Avatar {
|
||||
id: avatar
|
||||
|
||||
function _computeAvatarSize () {
|
||||
var height = container.height
|
||||
var width = container.width
|
||||
|
||||
var size = height < StartingCallStyle.avatar.maxSize && height > 0
|
||||
? height
|
||||
: StartingCallStyle.avatar.maxSize
|
||||
return size < width ? size : width
|
||||
}
|
||||
|
||||
anchors.centerIn: parent
|
||||
backgroundColor: StartingCallStyle.avatar.backgroundColor
|
||||
image: _contact.avatar
|
||||
username: contactDescription.username
|
||||
|
||||
height: _computeAvatarSize()
|
||||
width: height
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Buttons.
|
||||
// ---------------------------------------------------------------
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: StartingCallStyle.actionAreaHeight + 10
|
||||
|
||||
ActionBar {
|
||||
anchors {
|
||||
left: parent.left
|
||||
leftMargin: StartingCallStyle.leftButtonsGroupMargin
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'micro'
|
||||
onClicked: enabled = !enabled
|
||||
}
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'speaker'
|
||||
onClicked: enabled = !enabled
|
||||
}
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'camera'
|
||||
onClicked: enabled = !enabled
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
icon: 'options'
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
color: 'red'
|
||||
height: StartingCallStyle.userVideo.height
|
||||
visible: true
|
||||
width: StartingCallStyle.userVideo.width
|
||||
}
|
||||
|
||||
ActionBar {
|
||||
anchors {
|
||||
right: parent.right
|
||||
rightMargin: StartingCallStyle.rightButtonsGroupMargin
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'pause'
|
||||
onClicked: enabled = !enabled
|
||||
}
|
||||
|
||||
ActionButton {
|
||||
icon: 'hangup'
|
||||
}
|
||||
|
||||
ActionSwitch {
|
||||
enabled: !call.parent.parent.isClosed()
|
||||
icon: 'chat'
|
||||
onClicked: {
|
||||
var parent = call.parent.parent
|
||||
|
||||
if (enabled) {
|
||||
parent.close()
|
||||
} else {
|
||||
parent.open()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,15 +1,17 @@
|
|||
import Common 1.0
|
||||
|
||||
import App.Styles 1.0
|
||||
|
||||
// ===================================================================
|
||||
|
||||
AbstractCall {
|
||||
AbstractStartingCall {
|
||||
callTypeLabel: isVideoCall
|
||||
? 'INCOMING VIDEO CALL'
|
||||
: 'INCOMING AUDIO CALL'
|
||||
? qsTr('incomingVideoCall')
|
||||
: qsTr('incomingAudioCall')
|
||||
|
||||
ActionBar {
|
||||
anchors.centerIn: parent
|
||||
iconSize: 40
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionButton {
|
||||
icon: 'video_call_accept'
|
||||
|
|
@ -24,9 +26,9 @@ AbstractCall {
|
|||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
right: parent.right
|
||||
rightMargin: 85
|
||||
rightMargin: StartingCallStyle.rightButtonsGroupMargin
|
||||
}
|
||||
iconSize: 40
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionButton {
|
||||
icon: 'hangup'
|
||||
|
|
|
|||
|
|
@ -2,21 +2,23 @@ import QtQuick 2.7
|
|||
|
||||
import Common 1.0
|
||||
|
||||
import App.Styles 1.0
|
||||
|
||||
// ===================================================================
|
||||
|
||||
AbstractCall {
|
||||
AbstractStartingCall {
|
||||
isOutgoing: true
|
||||
callTypeLabel: isVideoCall
|
||||
? 'OUTGOING VIDEO CALL'
|
||||
: 'OUTGOING AUDIO CALL'
|
||||
? qsTr('outgoingVideoCall')
|
||||
: qsTr('outgoingAudioCall')
|
||||
|
||||
ActionBar {
|
||||
anchors {
|
||||
left: parent.left
|
||||
leftMargin: 50
|
||||
leftMargin: StartingCallStyle.leftButtonsGroupMargin
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
iconSize: 40
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionSwitch {
|
||||
icon: 'micro'
|
||||
|
|
@ -32,18 +34,18 @@ AbstractCall {
|
|||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
color: 'red'
|
||||
width: 130
|
||||
height: 80
|
||||
height: StartingCallStyle.userVideo.height
|
||||
visible: isVideoCall
|
||||
width: StartingCallStyle.userVideo.width
|
||||
}
|
||||
|
||||
ActionBar {
|
||||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
right: parent.right
|
||||
rightMargin: 85
|
||||
rightMargin: StartingCallStyle.rightButtonsGroupMargin
|
||||
}
|
||||
iconSize: 40
|
||||
iconSize: StartingCallStyle.iconSize
|
||||
|
||||
ActionButton {
|
||||
icon: 'hangup'
|
||||
|
|
|
|||
|
|
@ -153,7 +153,6 @@ ColumnLayout {
|
|||
Chat {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
contact: parent._contact
|
||||
proxyModel: ChatProxyModel {
|
||||
id: chatProxyModel
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ DialogPlus {
|
|||
|
||||
// Presence.
|
||||
Icon {
|
||||
Layout.preferredHeight: 20
|
||||
Layout.preferredWidth: 20
|
||||
Layout.preferredHeight: 20 // TMP
|
||||
Layout.preferredWidth: 20 // TMP
|
||||
icon: 'led_' + $presence
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,23 +6,31 @@ import Common 1.0
|
|||
// ===================================================================
|
||||
|
||||
QtObject {
|
||||
property color backgroundColor: '#E8E8E8'
|
||||
property color backgroundColor: Colors.f
|
||||
property int actionAreaHeight: 100
|
||||
property int contactDescriptionHeight: 60
|
||||
property int containerMargins: 20
|
||||
property int iconSize: 40
|
||||
property int leftButtonsGroupMargin: 50
|
||||
property int rightButtonsGroupMargin: 85
|
||||
|
||||
property QtObject avatar: QtObject {
|
||||
property color backgroundColor: Colors.w
|
||||
property int maxSize: 300
|
||||
}
|
||||
|
||||
property QtObject callType: QtObject {
|
||||
property color color: Colors.x
|
||||
property int fontSize: 17
|
||||
}
|
||||
|
||||
property QtObject header: QtObject {
|
||||
property int spacing: 10
|
||||
property int topMargin: 26
|
||||
}
|
||||
|
||||
property QtObject avatar: QtObject {
|
||||
property color backgroundColor: '#A1A1A1'
|
||||
property int maxSize: 300
|
||||
}
|
||||
|
||||
property QtObject callType: QtObject {
|
||||
property color color: '#96A5B1'
|
||||
property int fontSize: 17
|
||||
property QtObject userVideo: QtObject {
|
||||
property int width: 130
|
||||
property int height: 90
|
||||
}
|
||||
}
|
||||
|
|
|
|||