Remove editbox

This commit is contained in:
CPD 2025-03-04 18:12:59 +01:00
parent afa917c163
commit f671693698

View File

@ -43,18 +43,14 @@ class MainWindow(QMainWindow):
central_widget = QWidget(self)
self.setCentralWidget(central_widget)
layout = QHBoxLayout(central_widget)
central_widget.setLayout(layout)
# self.treeview = self.create_treeview()
self.editbox = self.create_edit()
self.create_toolbars()
# Add Widgets to Window
self.setMenuBar(MenuBar(self))
self.setStatusBar(StatusBar(QStatusBar(self)))
self.setStatusBar(QStatusBar(self))
self.w_leftbox = QToolBox(self)
layout.addWidget(self.w_leftbox)
@ -266,12 +262,6 @@ class MainWindow(QMainWindow):
def measurement_is_running(self):
return self.proc_measure is not None
def create_edit(self) -> QTextEdit:
"""
Creates and adds the QTextEdit widget to the main window.
"""
return QTextEdit(self)
def open_file(self) -> None:
"""
Event handler for the "Open" button. Displays the "Open File" dialog.