Add status bar

This commit is contained in:
Fierelier 2021-03-19 03:18:42 +01:00
parent d468d76b54
commit c3f71086d1

View File

@ -98,6 +98,8 @@ class browserWindow(QMainWindow):
self.cDoc = browserDoc(self)
self.cStatusBar = QStatusBar(self)
self.cResizeElements()
self.show()
self.cNavigate()
@ -111,7 +113,11 @@ class browserWindow(QMainWindow):
self.cButtonGo.resize(barSize,barSize)
self.cDoc.move(0,mb + barSize)
self.cDoc.resize(self.cWidth,self.cHeight - barSize - mb)
self.cDoc.resize(self.cWidth,self.cHeight - barSize - mb - mb)
self.cStatusBar.move(0,self.cHeight - mb)
self.cStatusBar.resize(self.cWidth,mb)
self.cStatusBar.showMessage("Status")
def resizeEvent(self,event):
self.cWidth = self.width()