Commit a34ca924 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): calls views in progress

parent 9636a21e
linphone @ 7b70508d
Subproject commit 703dc88223b3bb31d0ba13e3c084a39b20317cfe
Subproject commit 7b70508d9591c794ec42a80438a11f067f665994
<?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>new_call_clic</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_call_clic">
<rect fill="#DC4100" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M27.8611356,23.6266924 C26.2272911,20.0061559 21.3641023,17.5087474 17.3132709,17.5087474 L17.2289128,17.5087474 C13.1775336,17.5087474 8.31324924,20.0075093 6.68031774,23.6270791 L7.27611954,28.3148677 L12.4955478,28.3148677 L12.864934,23.6493135 L21.6774323,23.6493135 L22.0459055,28.3148677 L27.2653338,28.3148677 L27.8611356,23.6266924 L27.8611356,23.6266924 Z" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" transform="translate(17.270727, 22.911808) rotate(-135.000000) translate(-17.270727, -22.911808) "></path>
<path d="M25,12 L25,17.5" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M27.75,14.75 L22.25,14.75" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?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>new_call_default</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_call_default">
<rect id="add_call_default" fill="#FF5E00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M27.8611356,23.6266924 C26.2272911,20.0061559 21.3641023,17.5087474 17.3132709,17.5087474 L17.2289128,17.5087474 C13.1775336,17.5087474 8.31324924,20.0075093 6.68031774,23.6270791 L7.27611954,28.3148677 L12.4955478,28.3148677 L12.864934,23.6493135 L21.6774323,23.6493135 L22.0459055,28.3148677 L27.2653338,28.3148677 L27.8611356,23.6266924 L27.8611356,23.6266924 Z" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" transform="translate(17.270727, 22.911808) rotate(-135.000000) translate(-17.270727, -22.911808) "></path>
<path d="M25,12 L25,17.5" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M27.75,14.75 L22.25,14.75" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?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>new_call_default</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_call_default">
<rect id="add_call_default" fill="#FF5E00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M27.8611356,23.6266924 C26.2272911,20.0061559 21.3641023,17.5087474 17.3132709,17.5087474 L17.2289128,17.5087474 C13.1775336,17.5087474 8.31324924,20.0075093 6.68031774,23.6270791 L7.27611954,28.3148677 L12.4955478,28.3148677 L12.864934,23.6493135 L21.6774323,23.6493135 L22.0459055,28.3148677 L27.2653338,28.3148677 L27.8611356,23.6266924 L27.8611356,23.6266924 Z" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" transform="translate(17.270727, 22.911808) rotate(-135.000000) translate(-17.270727, -22.911808) "></path>
<path d="M25,12 L25,17.5" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
<path d="M27.75,14.75 L22.25,14.75" id="add_call_default" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?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>new_conference_clic</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_conference_clic">
<rect fill="#DC4100" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M12.995,18.684375 C14.2175,18.684375 15.20875,19.6775 15.20875,20.90125 C15.20875,21.486875 14.981875,22.02 14.61125,22.41625 C14.55875,22.471875 14.579375,22.4625 14.521875,22.5125 L14.614375,22.575 C17.968125,24.0375 17.10875,26.49625 17.10875,26.49625 C14.948125,27.1825 12.99875,27.07625 12.99875,27.07625 L12.949375,27.07625 C12.949375,27.07625 11,27.1825 8.84,26.49625 C8.84,26.49625 7.98,24.0375 11.334375,22.575 L11.42625,22.5125 C11.36875,22.4625 11.389375,22.471875 11.3375,22.41625 C10.966875,22.02 10.74,21.486875 10.74,20.90125 C10.74,19.6775 11.730625,18.684375 12.953125,18.684375 L12.995,18.684375 L12.995,18.684375 Z M25.949375,18.684375 C27.171875,18.684375 28.1625,19.6775 28.1625,20.90125 C28.1625,21.486875 27.935,22.02 27.565,22.41625 C27.513125,22.471875 27.533125,22.4625 27.475625,22.5125 L27.568125,22.575 C30.9225,24.0375 30.0625,26.49625 30.0625,26.49625 C27.9025,27.1825 25.9525,27.07625 25.9525,27.07625 L25.903125,27.07625 C25.903125,27.07625 23.95375,27.1825 21.794375,26.49625 C21.794375,26.49625 20.93375,24.0375 24.288125,22.575 L24.38,22.5125 C24.3225,22.4625 24.34375,22.471875 24.29125,22.41625 C23.920625,22.02 23.69375,21.486875 23.69375,20.90125 C23.69375,19.6775 24.685,18.684375 25.906875,18.684375 L25.949375,18.684375 L25.949375,18.684375 Z M19.471875,7.5 C20.694375,7.5 21.685,8.4925 21.685,9.716875 C21.685,10.3025 21.458125,10.835625 21.0875,11.231875 C21.035625,11.2875 21.05625,11.27875 20.99875,11.328125 L21.09125,11.39 C24.445,12.8525 23.585,15.311875 23.585,15.311875 C21.425,15.998125 19.475625,15.891875 19.475625,15.891875 L19.425625,15.891875 C19.425625,15.891875 17.47625,15.998125 15.316875,15.311875 C15.316875,15.311875 14.45625,12.8525 17.810625,11.39 L17.903125,11.328125 C17.845,11.27875 17.86625,11.2875 17.81375,11.231875 C17.443125,10.835625 17.21625,10.3025 17.21625,9.716875 C17.21625,8.4925 18.2075,7.5 19.429375,7.5 L19.471875,7.5 L19.471875,7.5 Z M23.01625,30.265 C20.89625,32.37875 17.45875,32.37875 15.33875,30.265 M15.8075,32.5 L15.33875,30.265 L17.58,29.7975 L15.8075,32.5 Z M7.5,16.72 C7.5,13.73 9.93,11.306875 12.92875,11.306875 M11.011875,10.056875 L12.92875,11.306875 L11.675,13.2175 L11.011875,10.056875 Z M25.8175,11.306875 C28.815625,11.306875 31.24625,13.730625 31.24625,16.72 M32.5,14.80875 L31.24625,16.72 L29.33,15.47 L32.5,14.80875 Z" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?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>new_conference_default</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_conference_default">
<rect fill="#FF5E00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M12.995,18.684375 C14.2175,18.684375 15.20875,19.6775 15.20875,20.90125 C15.20875,21.486875 14.981875,22.02 14.61125,22.41625 C14.55875,22.471875 14.579375,22.4625 14.521875,22.5125 L14.614375,22.575 C17.968125,24.0375 17.10875,26.49625 17.10875,26.49625 C14.948125,27.1825 12.99875,27.07625 12.99875,27.07625 L12.949375,27.07625 C12.949375,27.07625 11,27.1825 8.84,26.49625 C8.84,26.49625 7.98,24.0375 11.334375,22.575 L11.42625,22.5125 C11.36875,22.4625 11.389375,22.471875 11.3375,22.41625 C10.966875,22.02 10.74,21.486875 10.74,20.90125 C10.74,19.6775 11.730625,18.684375 12.953125,18.684375 L12.995,18.684375 L12.995,18.684375 Z M25.949375,18.684375 C27.171875,18.684375 28.1625,19.6775 28.1625,20.90125 C28.1625,21.486875 27.935,22.02 27.565,22.41625 C27.513125,22.471875 27.533125,22.4625 27.475625,22.5125 L27.568125,22.575 C30.9225,24.0375 30.0625,26.49625 30.0625,26.49625 C27.9025,27.1825 25.9525,27.07625 25.9525,27.07625 L25.903125,27.07625 C25.903125,27.07625 23.95375,27.1825 21.794375,26.49625 C21.794375,26.49625 20.93375,24.0375 24.288125,22.575 L24.38,22.5125 C24.3225,22.4625 24.34375,22.471875 24.29125,22.41625 C23.920625,22.02 23.69375,21.486875 23.69375,20.90125 C23.69375,19.6775 24.685,18.684375 25.906875,18.684375 L25.949375,18.684375 L25.949375,18.684375 Z M19.471875,7.5 C20.694375,7.5 21.685,8.4925 21.685,9.716875 C21.685,10.3025 21.458125,10.835625 21.0875,11.231875 C21.035625,11.2875 21.05625,11.27875 20.99875,11.328125 L21.09125,11.39 C24.445,12.8525 23.585,15.311875 23.585,15.311875 C21.425,15.998125 19.475625,15.891875 19.475625,15.891875 L19.425625,15.891875 C19.425625,15.891875 17.47625,15.998125 15.316875,15.311875 C15.316875,15.311875 14.45625,12.8525 17.810625,11.39 L17.903125,11.328125 C17.845,11.27875 17.86625,11.2875 17.81375,11.231875 C17.443125,10.835625 17.21625,10.3025 17.21625,9.716875 C17.21625,8.4925 18.2075,7.5 19.429375,7.5 L19.471875,7.5 L19.471875,7.5 Z M23.01625,30.265 C20.89625,32.37875 17.45875,32.37875 15.33875,30.265 M15.8075,32.5 L15.33875,30.265 L17.58,29.7975 L15.8075,32.5 Z M7.5,16.72 C7.5,13.73 9.93,11.306875 12.92875,11.306875 M11.011875,10.056875 L12.92875,11.306875 L11.675,13.2175 L11.011875,10.056875 Z M25.8175,11.306875 C28.815625,11.306875 31.24625,13.730625 31.24625,16.72 M32.5,14.80875 L31.24625,16.72 L29.33,15.47 L32.5,14.80875 Z" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
<?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>new_conference_default</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="new_conference_default">
<rect fill="#FF5E00" transform="translate(20.000000, 20.000000) scale(1, -1) translate(-20.000000, -20.000000) " x="0" y="0" width="40" height="40" rx="5"></rect>
<path d="M12.995,18.684375 C14.2175,18.684375 15.20875,19.6775 15.20875,20.90125 C15.20875,21.486875 14.981875,22.02 14.61125,22.41625 C14.55875,22.471875 14.579375,22.4625 14.521875,22.5125 L14.614375,22.575 C17.968125,24.0375 17.10875,26.49625 17.10875,26.49625 C14.948125,27.1825 12.99875,27.07625 12.99875,27.07625 L12.949375,27.07625 C12.949375,27.07625 11,27.1825 8.84,26.49625 C8.84,26.49625 7.98,24.0375 11.334375,22.575 L11.42625,22.5125 C11.36875,22.4625 11.389375,22.471875 11.3375,22.41625 C10.966875,22.02 10.74,21.486875 10.74,20.90125 C10.74,19.6775 11.730625,18.684375 12.953125,18.684375 L12.995,18.684375 L12.995,18.684375 Z M25.949375,18.684375 C27.171875,18.684375 28.1625,19.6775 28.1625,20.90125 C28.1625,21.486875 27.935,22.02 27.565,22.41625 C27.513125,22.471875 27.533125,22.4625 27.475625,22.5125 L27.568125,22.575 C30.9225,24.0375 30.0625,26.49625 30.0625,26.49625 C27.9025,27.1825 25.9525,27.07625 25.9525,27.07625 L25.903125,27.07625 C25.903125,27.07625 23.95375,27.1825 21.794375,26.49625 C21.794375,26.49625 20.93375,24.0375 24.288125,22.575 L24.38,22.5125 C24.3225,22.4625 24.34375,22.471875 24.29125,22.41625 C23.920625,22.02 23.69375,21.486875 23.69375,20.90125 C23.69375,19.6775 24.685,18.684375 25.906875,18.684375 L25.949375,18.684375 L25.949375,18.684375 Z M19.471875,7.5 C20.694375,7.5 21.685,8.4925 21.685,9.716875 C21.685,10.3025 21.458125,10.835625 21.0875,11.231875 C21.035625,11.2875 21.05625,11.27875 20.99875,11.328125 L21.09125,11.39 C24.445,12.8525 23.585,15.311875 23.585,15.311875 C21.425,15.998125 19.475625,15.891875 19.475625,15.891875 L19.425625,15.891875 C19.425625,15.891875 17.47625,15.998125 15.316875,15.311875 C15.316875,15.311875 14.45625,12.8525 17.810625,11.39 L17.903125,11.328125 C17.845,11.27875 17.86625,11.2875 17.81375,11.231875 C17.443125,10.835625 17.21625,10.3025 17.21625,9.716875 C17.21625,8.4925 18.2075,7.5 19.429375,7.5 L19.471875,7.5 L19.471875,7.5 Z M23.01625,30.265 C20.89625,32.37875 17.45875,32.37875 15.33875,30.265 M15.8075,32.5 L15.33875,30.265 L17.58,29.7975 L15.8075,32.5 Z M7.5,16.72 C7.5,13.73 9.93,11.306875 12.92875,11.306875 M11.011875,10.056875 L12.92875,11.306875 L11.675,13.2175 L11.011875,10.056875 Z M25.8175,11.306875 C28.815625,11.306875 31.24625,13.730625 31.24625,16.72 M32.5,14.80875 L31.24625,16.72 L29.33,15.47 L32.5,14.80875 Z" stroke="#FFFFFF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
</g>
</g>
</svg>
\ No newline at end of file
......@@ -77,6 +77,12 @@
<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/new_call_hovered.svg</file>
<file>assets/images/new_call_normal.svg</file>
<file>assets/images/new_call_pressed.svg</file>
<file>assets/images/new_conference_hovered.svg</file>
<file>assets/images/new_conference_normal.svg</file>
<file>assets/images/new_conference_pressed.svg</file>
<file>assets/images/options_hovered.svg</file>
<file>assets/images/options_normal.svg</file>
<file>assets/images/options_pressed.svg</file>
......
import QtGraphicalEffects 1.0
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
......@@ -28,7 +29,52 @@ Window {
childA: Rectangle {
anchors.fill: parent
color: 'yellow'
color: '#FFFFFF'
ColumnLayout {
anchors.fill: parent
Item {
Layout.fillWidth: true
Layout.preferredHeight: 60
LinearGradient {
anchors.fill: parent
start: Qt.point(0, 0)
end: Qt.point(0, height)
gradient: Gradient {
GradientStop { position: 0.0; color: '#FFFFFF' }
GradientStop { position: 1.0; color: '#E3E3E3' }
}
}
ActionBar {
anchors {
left: parent.left
leftMargin: 10
verticalCenter: parent.verticalCenter
}
iconSize: 40
ActionButton {
icon: 'new_call'
}
ActionButton {
icon: 'new_conference'
}
}
}
ListView {
Layout.fillWidth: true
Layout.fillHeight: true
spacing: 0
}
}
}
/* childA: ColumnLayout { */
......
......@@ -198,7 +198,12 @@ ColumnLayout {
Layout.preferredWidth: ContactsStyle.contact.username.width
color: ContactsStyle.contact.username.color
elide: Text.ElideRight
font.bold: true
font {
bold: true
pointSize: ContactsStyle.contact.username.fontSize
}
text: $contact.username
MouseArea {
......
......@@ -43,6 +43,7 @@ QtObject {
property QtObject username: QtObject {
property color color: Colors.j
property int fontSize: 9
property int width: 220
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment