mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-19 12:28:08 +00:00
53 lines
1 KiB
QML
53 lines
1 KiB
QML
import QtQuick 2.7
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import Common 1.0
|
|
import Linphone 1.0
|
|
import Linphone.Styles 1.0
|
|
|
|
// =============================================================================
|
|
|
|
Rectangle {
|
|
id: callControls
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
property alias textColor: text.color
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
signal clicked
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
color: ConferenceControlsStyle.color
|
|
height: ConferenceControlsStyle.height
|
|
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
|
|
onClicked: callControls.clicked()
|
|
}
|
|
|
|
RowLayout {
|
|
anchors {
|
|
fill: parent
|
|
leftMargin: ConferenceControlsStyle.leftMargin
|
|
rightMargin: ConferenceControlsStyle.rightMargin
|
|
}
|
|
|
|
spacing: 0
|
|
|
|
Text {
|
|
id: text
|
|
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
|
|
font.bold: true
|
|
text: qsTr('conference')
|
|
|
|
verticalAlignment: Text.AlignVCenter
|
|
}
|
|
}
|
|
}
|