From e9618b4b1c03f8ed68dc18aa12a23b47b7359c80 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 26 Jan 2011 03:18:07 +0100 Subject: [GUI] added nice overview --- pyLoadGui.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pyLoadGui.py') 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): -- cgit v1.2.3