Warning, /maui/mauikit/demo.6/src/controls/ImagePage.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 0002 import QtQuick.Controls 0003 import QtQuick.Layouts 0004 0005 import org.mauikit.controls as Maui 0006 0007 DemoPage 0008 { 0009 id: control 0010 title: i18n("ImageViewer") 0011 0012 Maui.SectionGroup 0013 { 0014 title: control.title 0015 spacing: control.spacing 0016 0017 DemoSection 0018 { 0019 title: "Static" 0020 body: i18n("Different button states: Regular, Checkable and flat. Can also have different layouts") 0021 0022 column: Pane 0023 { 0024 Layout.fillWidth: true 0025 implicitHeight: 500 0026 0027 Maui.ImageViewer 0028 { 0029 anchors.fill: parent 0030 clip: true 0031 source: "qrc:/assets/6588168.jpg" 0032 } 0033 } 0034 0035 } 0036 0037 DemoSection 0038 { 0039 title: "Animated" 0040 body: i18n("Different button states: Regular, Checkable and flat. Can also have different layouts") 0041 column: Pane 0042 { 0043 Layout.fillWidth: true 0044 implicitHeight: 500 0045 0046 Maui.ImageViewer 0047 { 0048 anchors.fill: parent 0049 source: "qrc:/assets/test.gif" 0050 0051 } 0052 } 0053 } 0054 } 0055 0056 }