basic Qt application, with dual screen capability, and sway config to auto-assign
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import QtQuick.tooling 1.2
|
||||
|
||||
// This file describes the plugin-supplied types contained in the library.
|
||||
// It is used for QML tooling purposes only.
|
||||
//
|
||||
// This file was auto-generated by qmltyperegistrar.
|
||||
|
||||
Module {}
|
||||
@@ -0,0 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file alias="/nomad">/home/cybrneko/dev/nomad/build/nomad</file>
|
||||
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -0,0 +1,42 @@
|
||||
import QtQuick
|
||||
import QtQuick.Window
|
||||
|
||||
QtObject {
|
||||
property Window topWindow: Window {
|
||||
width: 960
|
||||
height: 540
|
||||
visible: true
|
||||
title: "nomad-top"
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#181818"
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "nomad top screen"
|
||||
color: "white"
|
||||
font.pixelSize: 50
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
property Window bottomWindow: Window {
|
||||
width: 620
|
||||
height: 540
|
||||
visible: true
|
||||
title: "nomad-bottom"
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#181818"
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "nomad bottom screen"
|
||||
color: "white"
|
||||
font.pixelSize: 50
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
module nomad
|
||||
typeinfo nomad-shell.qmltypes
|
||||
prefer :/nomad/
|
||||
Main 1.0 qml/Main.qml
|
||||
depends QtQuick
|
||||
|
||||
Reference in New Issue
Block a user