mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-22 15:48:25 +00:00
52 lines
881 B
QML
52 lines
881 B
QML
import QtQuick 2.7
|
|
import QtQuick.Layouts 1.3
|
|
import QtQuick.Window 2.2
|
|
import QtQuick.Controls 2.0
|
|
|
|
import Common 1.0
|
|
import Linphone 1.0
|
|
|
|
Window {
|
|
id: window
|
|
|
|
minimumHeight: 480
|
|
minimumWidth: 960
|
|
|
|
Paned {
|
|
anchors.fill: parent
|
|
defaultChildAWidth: 250
|
|
maximumLeftLimit: 300
|
|
minimumLeftLimit: 50
|
|
|
|
// Calls list.
|
|
childA: Rectangle {
|
|
anchors.fill: parent
|
|
color: 'yellow'
|
|
|
|
Text {
|
|
text: 'calls'
|
|
}
|
|
}
|
|
|
|
// Call / Chat.
|
|
childB: Paned {
|
|
anchors.fill: parent
|
|
closingEdge: Qt.RightEdge
|
|
defaultChildAWidth: 300
|
|
defaultClosed: true
|
|
minimumLeftLimit: 250
|
|
minimumRightLimit: 350
|
|
resizeAInPriority: true
|
|
|
|
// Call.
|
|
childA: StartingOutgoingCall {
|
|
anchors.fill: parent
|
|
}
|
|
|
|
// Chat.
|
|
childB: Chat {
|
|
anchors.fill: parent
|
|
}
|
|
}
|
|
}
|
|
}
|