mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
- List conferences - Call conference (only from conference list) - Prepare Mozaic layout (not yet link to conference)
55 lines
1.4 KiB
QML
55 lines
1.4 KiB
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
|
|
import Common 1.0
|
|
import Common.Styles 1.0
|
|
|
|
// =============================================================================
|
|
|
|
Rectangle {
|
|
|
|
property alias text: textArea.text
|
|
readonly property alias length: textArea.length
|
|
property alias boundsBehavior: flickable.boundsBehavior
|
|
|
|
height: TextAreaFieldStyle.background.height
|
|
width: TextAreaFieldStyle.background.width
|
|
border {
|
|
color: TextAreaFieldStyle.background.border.color
|
|
width: TextAreaFieldStyle.background.border.width
|
|
}
|
|
|
|
color: textArea.readOnly
|
|
? TextAreaFieldStyle.background.color.readOnly
|
|
: TextAreaFieldStyle.background.color.normal
|
|
|
|
radius: TextAreaFieldStyle.background.radius
|
|
|
|
Flickable {
|
|
id: flickable
|
|
anchors.fill: parent
|
|
|
|
boundsBehavior: Flickable.StopAtBounds
|
|
|
|
ScrollBar.vertical: ForceScrollBar {
|
|
id: scrollBar
|
|
}
|
|
|
|
TextArea.flickable: TextArea {
|
|
id: textArea
|
|
|
|
background: Item{}
|
|
|
|
color: TextAreaFieldStyle.text.color
|
|
font.pointSize: TextAreaFieldStyle.text.pointSize
|
|
selectByMouse: true
|
|
wrapMode: TextArea.Wrap
|
|
height: flickable.height
|
|
|
|
bottomPadding: TextAreaFieldStyle.text.padding
|
|
leftPadding: TextAreaFieldStyle.text.padding
|
|
rightPadding: TextAreaFieldStyle.text.padding + Number(scrollBar.visible) * scrollBar.width
|
|
topPadding: TextAreaFieldStyle.text.padding
|
|
}
|
|
}
|
|
}
|