summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-01-26 03:18:07 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-01-26 03:18:07 +0100
commite9618b4b1c03f8ed68dc18aa12a23b47b7359c80 (patch)
tree158e88ec74e7a4f7a9f47c91ded96d34ede29e92 /pyLoadGui.py
parentadded data storage (currently used for plugins), ev0.in rss fetcher, ul.to ma... (diff)
downloadpyload-e9618b4b1c03f8ed68dc18aa12a23b47b7359c80.tar.xz
[GUI] added nice overview
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-xpyLoadGui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyLoadGui.py b/pyLoadGui.py
index dce496768..bd20a5a65 100755
--- a/pyLoadGui.py
+++ b/pyLoadGui.py
@@ -40,6 +40,7 @@ from module.gui.ConnectionManager import *
from module.gui.connector import Connector
from module.gui.MainWindow import *
from module.gui.Queue import *
+from module.gui.Overview import *
from module.gui.Collector import *
from module.gui.XMLParser import *
from module.gui.CoreConfigParser import ConfigParser
@@ -270,6 +271,9 @@ class main(QObject):
view.setSelectionMode(QAbstractItemView.ExtendedSelection)
self.queue = view.model()
self.connect(self.queue, SIGNAL("updateCount"), self.slotUpdateCount)
+ overview = self.mainWindow.tabs["overview"]["view"].model()
+ overview.queue = self.queue
+ self.connect(self.queue, SIGNAL("updateCount"), overview.queueChanged)
self.queue.start()
def slotUpdateCount(self, pc, fc):