summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-09-02 20:43:36 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-09-02 20:43:36 +0200
commitaf1b74b35dc90af4541b289918335605dac0d9f3 (patch)
tree6437140c7ef5c3316ab121f232067488278b2263 /module
parentgui fix (diff)
downloadpyload-af1b74b35dc90af4541b289918335605dac0d9f3.tar.xz
gui: free space display
Diffstat (limited to 'module')
-rw-r--r--module/gui/MainWindow.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/module/gui/MainWindow.py b/module/gui/MainWindow.py
index 21227bdf5..d6d6c1eb9 100644
--- a/module/gui/MainWindow.py
+++ b/module/gui/MainWindow.py
@@ -57,6 +57,18 @@ class MainWindow(QMainWindow):
lw.setLayout(self.masterlayout)
self.setCentralWidget(lw)
+ #status
+ #@TODO: build a fancy box
+
+ #self.statusw = QFrame()
+ #self.statusw.setFrameStyle(QFrame.StyledPanel | QFrame.Raised)
+ #self.statusw.setLineWidth(2)
+ #self.statusw.setLayout(QGridLayout())
+ #l = self.statusw.layout()
+ #l.addWidget(QLabel("Status:"), 0, 0)
+ #l.addWidget(QLabel("Speed:"), 0, 3)
+ #l.addWidget(QLabel("Space:"), 0, 5)
+
#set menubar and statusbar
self.menubar = self.menuBar()
self.statusbar = self.statusBar()
@@ -110,6 +122,7 @@ class MainWindow(QMainWindow):
#layout
self.masterlayout.addWidget(self.tabw)
+ #self.masterlayout.addWidget(self.statusw)
#signals..
self.connect(self.mactions["manager"], SIGNAL("triggered()"), self.slotShowConnector)