Add VRAM Explorer placeholder
This commit is contained in:
parent
20041deef5
commit
2506002c05
|
@ -35,6 +35,15 @@ ApplicationWindow {
|
||||||
bgMap.show()
|
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 {
|
Menu {
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
<file>BackgroundMap.qml</file>
|
<file>BackgroundMap.qml</file>
|
||||||
<file>BackgroundMapForm.ui.qml</file>
|
<file>BackgroundMapForm.ui.qml</file>
|
||||||
<file>About.qml</file>
|
<file>About.qml</file>
|
||||||
|
<file>vram_explorer.qml</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
18
src/qt/vram_explorer.qml
Normal file
18
src/qt/vram_explorer.qml
Normal 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" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue