clide/qml/main.qml

35 lines
620 B
QML
Raw Normal View History

2026-01-31 08:02:16 -05: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
2025-03-29 08:01:13 -04:00
height: 800
title: "CLIDE"
visible: true
width: 1200
2026-01-31 04:25:14 +00:00
required property string appContextPath
2026-02-01 18:40:00 -05:00
menuBar: ClideMenuBar { }
2026-01-25 20:57:36 +00:00
MessageDialog {
id: errorDialog
title: qsTr("Error")
}
ClideProjectView {
2026-02-01 20:20:39 -05:00
id: clideProjectView
2026-01-31 04:25:14 +00:00
projectDir: appWindow.appContextPath
2025-03-29 08:01:13 -04:00
}
}
2026-01-25 20:57:36 +00:00