Warning, /rolisteam/rolisteam/src/libraries/qml_views/InstantMessaging/ErrorMessageDelegate.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.15
0002 import QtQuick.Controls 2.15
0003 import Customization 1.0
0004 
0005 Frame {
0006     id: frame
0007     property QtObject message: model.message
0008     property QtObject styleSheet: Theme.styleSheet("InstantMessaging")
0009 
0010     Label {
0011         anchors.fill: parent
0012         text: frame.message.text
0013         color: "red"
0014         textFormat: Label.RichText
0015         verticalAlignment: Text.AlignVCenter
0016         horizontalAlignment: Text.AlignHCenter
0017         wrapMode: Text.WrapAnywhere
0018         onLinkActivated: _ctrl.openLink(link)
0019     }
0020 
0021     background: Rectangle {
0022         border.width: 1
0023         border.color: "black"
0024         color: "lightgrey"
0025         radius: 10
0026         opacity: 0.5
0027     }
0028 }