clide/qml/main.qml
2026-01-31 08:02:16 -05:00

40 lines
680 B
QML

// SPDX-FileCopyrightText: 2026, Shaun Reed <shaunrd0@gmail.com>
//
// SPDX-License-Identifier: GNU General Public License v3.0 or later
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Dialogs
import clide.module 1.0
ApplicationWindow {
id: appWindow
height: 800
title: "CLIDE"
visible: true
width: 1200
required property string appContextPath
menuBar: ClideMenuBar {
}
Rectangle {
anchors.fill: parent
color: RustColors.gutter
}
MessageDialog {
id: errorDialog
title: qsTr("Error")
}
ClideProjectView {
projectDir: appWindow.appContextPath
}
}