Add VRAM Explorer placeholder

This commit is contained in:
Fabien Freling 2019-07-17 13:46:31 +02:00
parent 20041deef5
commit 2506002c05
3 changed files with 28 additions and 0 deletions

View file

@ -35,6 +35,15 @@ ApplicationWindow {
bgMap.show()
}
}
MenuItem {
text: qsTr("VRAM Explorer")
enabled: oboy.loaded
onTriggered: {
var component = Qt.createComponent("vram_explorer.qml")
var vram_explorer = component.createObject(root)
vram_explorer.show()
}
}
}
Menu {

View file

@ -5,5 +5,6 @@
<file>BackgroundMap.qml</file>
<file>BackgroundMapForm.ui.qml</file>
<file>About.qml</file>
<file>vram_explorer.qml</file>
</qresource>
</RCC>

18
src/qt/vram_explorer.qml Normal file
View file

@ -0,0 +1,18 @@
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Window 2.0
Window {
title: "VRAM Explorer"
TabView {
Tab {
title: "Tile Data"
Rectangle { color: "red" }
}
Tab {
title: "Background Maps"
Rectangle { color: "blue" }
}
}
}