Warning, /maui/communicator/src/views/contacts/ContactDelegate.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.14
0002 import QtQuick.Controls 2.14
0003 import QtQuick.Layouts 1.3
0004 
0005 import org.mauikit.controls 1.2 as Maui
0006 
0007 Maui.SwipeBrowserDelegate
0008 {
0009     id: control
0010     hoverEnabled: true
0011     clip: true
0012 
0013     draggable: true
0014 
0015     signal favClicked(int index)
0016 
0017     iconSizeHint: Maui.Style.iconSizes.huge
0018 
0019     label1.text: model.n
0020     label1.font.pointSize: Maui.Style.fontSizes.big
0021     label1.font.bold: true
0022     label1.font.weight: Font.Bold
0023     label1.elide: Text.ElideMiddle
0024 
0025     label2.text: model.tel
0026     label2.font.pointSize: Maui.Style.fontSizes.small
0027     label2.font.weight: Font.Light
0028 //    label2.wrapMode: Text.WrapAnywhere
0029     label2.elide: Text.ElideMiddle
0030 
0031     label3.text: model.email
0032     label3.font.pointSize: Maui.Style.fontSizes.small
0033     label3.font.weight: Font.Light
0034 //    label3.wrapMode: Text.WrapAnywhere
0035     label3.elide: Text.ElideMiddle
0036 
0037     label4.text: model.title
0038     label4.font.pointSize: Maui.Style.fontSizes.small
0039     label4.font.weight: Font.Light
0040 //    label4.wrapMode: Text.WrapAnywhere
0041     label4.elide: Text.ElideMiddle
0042     iconVisible:  control.width > Maui.Style.units.gridUnit * 15
0043 }