Begin adding entities to editor
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import os
|
||||
from PyQt5.QtWidgets import QMainWindow, QWidget, QHBoxLayout, QMessageBox, QTabWidget
|
||||
from PyQt5.QtWidgets import QMainWindow, QWidget, QHBoxLayout, QMessageBox
|
||||
from PyQt5.QtCore import Qt
|
||||
from editortool.map.glwidget import GLWidget
|
||||
from editortool.map.chunkpanel import ChunkPanel
|
||||
from editortool.map.mapleftpanel import MapLeftPanel
|
||||
from editortool.map.mapinfopanel import MapInfoPanel
|
||||
from editortool.map.menubar import MapMenubar
|
||||
from editortool.map.statusbar import StatusBar
|
||||
@@ -36,14 +36,10 @@ class MapWindow(QMainWindow):
|
||||
self.setCentralWidget(central)
|
||||
mainLayout = QHBoxLayout(central)
|
||||
|
||||
# Tabs (left)
|
||||
self.tabs = QTabWidget()
|
||||
|
||||
self.chunkPanel = ChunkPanel(self)
|
||||
self.chunkPanel.setFixedWidth(200)
|
||||
self.tabs.addTab(self.chunkPanel, "Tile Editor")
|
||||
|
||||
mainLayout.addWidget(self.tabs)
|
||||
# Left panel (tabs + nav buttons)
|
||||
self.leftPanel = MapLeftPanel(self)
|
||||
self.leftPanel.setFixedWidth(250)
|
||||
mainLayout.addWidget(self.leftPanel)
|
||||
|
||||
# Center panel (GLWidget + controls)
|
||||
self.glWidget = GLWidget(self)
|
||||
|
||||
Reference in New Issue
Block a user