Add status bar
This commit is contained in:
parent
d468d76b54
commit
c3f71086d1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user