Commit ba80b320 authored by Michael Winkelmann's avatar Michael Winkelmann
Browse files

First commit

parents
*.qmlc
*.o
Makefile
moc_*.cpp
*.*.user
/* File generated by Qt Creator */
import QmlProject 1.1
Project {
mainFile: "Example.qml"
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
import QtQuick 2.11
import QtQuick.Window 2.11
import QtQuick.Controls 2.4
Window {
id: root
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Rectangle {
color: "black"
anchors.fill: parent
Image {
opacity: 1.0 - slider.value
anchors.centerIn: parent
source: "../car@2x.ktx"
width: sourceSize.width * 2
height: sourceSize.height * 2
}
Image {
opacity: slider.value
anchors.centerIn: parent
source: "../car@2x.png"
width: sourceSize.width * 2
height: sourceSize.height * 2
}
Slider {
id: slider
from: 0.0
to: 1.0
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
height: 30
}
}
}
import QtQuick 2.11
import QtQuick.Window 2.11
Window {
id: window
visible: true
width: 800
height: 480
title: qsTr("Image Shrink")
Image {
width: 800
height: 480
source: "../lcd_lgd8_incell.png"
//source: "../lcd_lgd8_incell_no_shrink.png"
fillMode: Image.Tile
}
}
/* File generated by Qt Creator */
import QmlProject 1.1
Project {
mainFile: "Example.qml"
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.4
Window {
visible: true
width: 640
height: 480
title: qsTr("Char Table")
GridView {
id: gridView
anchors.fill: parent
model: 3000
cellHeight: 64
cellWidth: 64
delegate: ItemDelegate {
width: gridView.cellWidth - 1
height: gridView.cellHeight - 1
text: String.fromCharCode(32 + modelData)
font.family: Style.font.name
font.pixelSize: gridView.cellHeight - 8
}
}
}
/* File generated by Qt Creator */
import QmlProject 1.1
Project {
mainFile: "CharMap.qml"
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
pragma Singleton
import QtQuick 2.0
QtObject {
readonly property FontLoader font: FontLoader {
//source: "../IBMPlexSans-ExtraLight.ttf"
source: "../IBMPlexSans-ExtraLight_DistanceField.ttf"
}
}
singleton Style Style.qml
import QtQuick 2.11
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3
Button {
Layout.fillWidth: true
Layout.fillHeight: true
font.pointSize: Math.min(parent.width,parent.height) / 8 + 10
font.family: Icons.font.name
}
import QtQuick 2.11
import QtQuick.Window 2.11
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3
Window {
id: root
visible: true
width: 640
height: 480
title: qsTr("Audio Player")
ColumnLayout {
anchors.margins: root.width / 24
anchors.fill: parent
spacing: 30
VolumeSlider {
height: 70
Layout.fillWidth: true
}
RowLayout {
id: rowLayout
spacing: 10
Layout.fillWidth: true
Layout.fillHeight: true
BigButton {
text: Icons.ic_fast_rewind_48px
}
BigButton {
checkable: true
text: checked ?
Icons.ic_play_circle_fill_48px :
Icons.ic_pause_circle_fill_48px
}
BigButton {
text: Icons.ic_stop_48px
}
BigButton {
text: Icons.ic_fast_forward_48px
}
}
}
}
/* File generated by Qt Creator */
import QmlProject 1.1
Project {
mainFile: "Example.qml"
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment