From c3f71086d1bd531ade63871ba534bc80a5c07660 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Fri, 19 Mar 2021 03:18:42 +0100 Subject: [PATCH] Add status bar --- BirdyNet.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/BirdyNet.py b/BirdyNet.py index 1f08386..0d3cbcc 100644 --- a/BirdyNet.py +++ b/BirdyNet.py @@ -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()