added tabbing for the sake of progress

milan
Milansuman 2022-04-16 19:47:08 +05:30
parent 53ee124026
commit 0a82806b45
1 changed files with 4 additions and 2 deletions

View File

@ -71,8 +71,10 @@ class Editor(Window):
self.text_edit = QtWidgets.QPlainTextEdit()
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
self.text_edit.setWordWrapMode(QtGui.QTextOption.NoWrap)
self.setCentralWidget(self.text_edit)
self.tabs = QtWidgets.QTabWidget()
self.tabs.addTab(self.text_edit, "untitled")
self.setCentralWidget(self.tabs)
class Message(QtWidgets.QMessageBox):
def __init__(self, title, text):