Warning, /maui/mauikit/src/controls.5/GalleryRollItem.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.14
0002 import QtQuick.Controls 2.14
0003 
0004 import org.mauikit.controls 1.3 as Maui
0005 import QtGraphicalEffects 1.0
0006 
0007 /*!
0008   \since org.mauikit.controls.labs 1.0
0009   \inqmlmodule org.mauikit.controls.labs
0010 */
0011 Maui.GridBrowserDelegate
0012 {
0013     id: control
0014 
0015     /**
0016      * cached
0017      */
0018     property bool cache : true
0019 
0020 
0021     /**
0022      * images :
0023      */
0024     property var images : []
0025 
0026     /**
0027      * cb : function
0028      */
0029     property var cb
0030     
0031     property int orientation : Qt.Horizontal
0032     
0033     
0034 //     label1.font.bold: true
0035     label1.font.weight: Font.DemiBold
0036     label1.font.pointSize: Maui.Style.fontSizes.big
0037     template.labelSizeHint: 32
0038     template.alignment: Qt.AlignLeft
0039 
0040     maskRadius: radius
0041 
0042     template.iconComponent: Maui.GalleryRollTemplate
0043     {      
0044         radius: control.radius
0045         cache: control.cache
0046         images: control.images
0047         cb: control.cb
0048         fillMode: control.fillMode
0049         running: !control.hovered && !control.checked
0050         imageWidth: control.imageWidth
0051         imageHeight: control.imageHeight
0052         
0053         corners
0054         {
0055             topLeftRadius: control.radius
0056             topRightRadius: control.radius
0057             bottomLeftRadius: control.radius
0058             bottomRightRadius: control.radius
0059         }
0060     }
0061 }