Warning, /maui/mauikit/src/controls.5/SwipeBrowserDelegate.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * Copyright 2018 Camilo Higuita <milo.h@aol.com> 0003 * 0004 * This program is free software; you can redistribute it and/or modify 0005 * it under the terms of the GNU Library General Public License as 0006 * published by the Free Software Foundation; either version 2, or 0007 * (at your option) any later version. 0008 * 0009 * This program is distributed in the hope that it will be useful, 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 * GNU General Public License for more details 0013 * 0014 * You should have received a copy of the GNU Library General Public 0015 * License along with this program; if not, write to the 0016 * Free Software Foundation, Inc., 0017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0018 */ 0019 0020 import org.mauikit.controls 1.0 as Maui 0021 0022 /** 0023 * SwipeBrowserDelegate 0024 * A global sidebar for the application window that can be collapsed. 0025 * 0026 * 0027 * 0028 * 0029 * 0030 * 0031 */ 0032 Maui.SwipeItemDelegate 0033 { 0034 id: control 0035 padding: 0 0036 0037 implicitHeight: _template.implicitHeight + topPadding + bottomPadding 0038 0039 /** 0040 * label1 : Label 0041 */ 0042 property alias label1 : _template.label1 0043 0044 /** 0045 * label2 : Label 0046 */ 0047 property alias label2 : _template.label2 0048 0049 /** 0050 * label3 : Label 0051 */ 0052 property alias label3 : _template.label3 0053 0054 /** 0055 * label4 : Label 0056 */ 0057 property alias label4 : _template.label4 0058 0059 /** 0060 * iconItem : Item 0061 */ 0062 property alias iconItem : _template.iconItem 0063 0064 /** 0065 * iconVisible : bool 0066 */ 0067 property alias iconVisible : _template.iconVisible 0068 0069 /** 0070 * iconSizeHint : int 0071 */ 0072 property alias iconSizeHint : _template.iconSizeHint 0073 0074 /** 0075 * imageSource: string 0076 */ 0077 property alias imageSource : _template.imageSource 0078 0079 /** 0080 * iconSource : string 0081 */ 0082 property alias iconSource : _template.iconSource 0083 0084 /** 0085 * template : ListItemTemplate 0086 */ 0087 property alias template : _template 0088 0089 Maui.ListItemTemplate 0090 { 0091 id: _template 0092 anchors.fill: parent 0093 } 0094 }