added tabbing for the sake of progress
parent
53ee124026
commit
0a82806b45
|
@ -71,8 +71,10 @@ class Editor(Window):
|
||||||
self.text_edit = QtWidgets.QPlainTextEdit()
|
self.text_edit = QtWidgets.QPlainTextEdit()
|
||||||
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
|
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
|
||||||
self.text_edit.setWordWrapMode(QtGui.QTextOption.NoWrap)
|
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):
|
class Message(QtWidgets.QMessageBox):
|
||||||
def __init__(self, title, text):
|
def __init__(self, title, text):
|
||||||
|
|
Reference in New Issue