15 lines
558 B
Python
15 lines
558 B
Python
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QLabel, QComboBox, QHBoxLayout, QPushButton, QLineEdit, QListWidget, QListWidgetItem
|
|
from PyQt5.QtCore import Qt
|
|
from dusk.entity import Entity
|
|
from dusk.defs import CHUNK_WIDTH, CHUNK_HEIGHT, CHUNK_DEPTH, ENTITY_TYPES, ENTITY_TYPE_NULL
|
|
|
|
class RegionPanel(QWidget):
|
|
def __init__(self, parent):
|
|
super().__init__(parent)
|
|
self.parent = parent
|
|
layout = QVBoxLayout(self)
|
|
self.setLayout(layout)
|
|
|
|
# Top panel placeholder
|
|
topWidget = QLabel("Region Editor")
|
|
layout.addWidget(topWidget) |