SF.net SVN: fclient: [566] trunk/fclient/src/fclient
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-08 16:50:08
|
Revision: 566
http://fclient.svn.sourceforge.net/fclient/?rev=566&view=rev
Author: jUrner
Date: 2008-07-08 09:49:12 -0700 (Tue, 08 Jul 2008)
Log Message:
-----------
experimental ..add a global object registry
Modified Paths:
--------------
trunk/fclient/src/fclient/Ui_View.py
trunk/fclient/src/fclient/Ui_ViewConnection.py
trunk/fclient/src/fclient/Ui_ViewLogger.py
Modified: trunk/fclient/src/fclient/Ui_View.py
===================================================================
--- trunk/fclient/src/fclient/Ui_View.py 2008-07-08 16:47:26 UTC (rev 565)
+++ trunk/fclient/src/fclient/Ui_View.py 2008-07-08 16:49:12 UTC (rev 566)
@@ -39,6 +39,7 @@
self.views = {}
self.setupUi(self)
+ config.ObjectRegistry.register(self)
tabTop = self.controlById(self.IdTabTop)
tabTop.removeTab(0)
Modified: trunk/fclient/src/fclient/Ui_ViewConnection.py
===================================================================
--- trunk/fclient/src/fclient/Ui_ViewConnection.py 2008-07-08 16:47:26 UTC (rev 565)
+++ trunk/fclient/src/fclient/Ui_ViewConnection.py 2008-07-08 16:49:12 UTC (rev 566)
@@ -28,15 +28,11 @@
#***********************************************************************
class ViewConnectionWidget(QtGui.QWidget, Ui_ViewConnectionWidget):
- UUID = '{2339cfb0-5e84-44eb-9c8d-00965b5bb460}'
-
-
IdBtConnect = 'btConnect'
IdEdConnectionHost = 'edConnectionHost'
IdSpinConnectionPort = 'spinConnectionPort'
-
-
+
def __init__(self, parent, cfg=None):
QtGui.QWidget.__init__(self, parent)
@@ -46,7 +42,9 @@
self.cfg = config.Config(self) if cfg is None else cfg
self.userSettings = UserSettings()
+
self.setupUi(self)
+ config.ObjectRegistry.register(self)
def showEvent(self, event):
@@ -100,10 +98,8 @@
bt.setText(QtGui.QApplication.translate("ViewConnectionWidget", "Disconnect", None, QtGui.QApplication.UnicodeUTF8))
else:
bt.setText(QtGui.QApplication.translate("ViewConnectionWidget", "Connect", None, QtGui.QApplication.UnicodeUTF8))
-
-
-
+
#**********************************************************************************
#
#**********************************************************************************
Modified: trunk/fclient/src/fclient/Ui_ViewLogger.py
===================================================================
--- trunk/fclient/src/fclient/Ui_ViewLogger.py 2008-07-08 16:47:26 UTC (rev 565)
+++ trunk/fclient/src/fclient/Ui_ViewLogger.py 2008-07-08 16:49:12 UTC (rev 566)
@@ -25,6 +25,7 @@
self.setupUi(self)
+ config.ObjectRegistry.register(self)
#**********************************************************************************
#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|