Files
clide/qml/main.qml

44 lines
928 B
QML
Raw Normal View History

2026-02-08 21:25:03 +00:00
// SPDX-FileCopyrightText: 2026, Shaun Reed <shaunrd0@gmail.com>
//
// SPDX-License-Identifier: GNU General Public License v3.0 or later
2025-03-29 08:01:13 -04:00
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
2026-01-25 20:57:36 +00:00
import QtQuick.Dialogs
2025-03-29 08:01:13 -04:00
2026-01-25 20:57:36 +00:00
import clide.module 1.0
2025-03-29 08:01:13 -04:00
ApplicationWindow {
2026-01-25 20:57:36 +00:00
id: appWindow
2026-02-08 21:25:03 +00:00
required property string appContextPath
2025-03-29 08:01:13 -04:00
height: 800
2026-02-08 21:25:03 +00:00
title: "Clide"
2025-03-29 08:01:13 -04:00
visible: true
width: 1200
menuBar: ClideMenuBar {
}
Rectangle {
2026-02-08 21:25:03 +00:00
color: RustColors.menubar
width: appView.implicitWidth
height: appView.implicitHeight
ClideApplicationView {
id: appView
projectDir: appWindow.appContextPath
implicitHeight: appWindow.height
implicitWidth: appWindow.width
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.leftMargin: 20
anchors.topMargin: 10
}
2025-03-29 08:01:13 -04:00
}
}
2026-01-25 20:57:36 +00:00