SF.net SVN: fclient: [548] trunk/fclient/src/fclient/Ui_ViewLogger.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-08 10:50:24
|
Revision: 548
http://fclient.svn.sourceforge.net/fclient/?rev=548&view=rev
Author: jUrner
Date: 2008-07-08 03:49:27 -0700 (Tue, 08 Jul 2008)
Log Message:
-----------
started implementing logger
Added Paths:
-----------
trunk/fclient/src/fclient/Ui_ViewLogger.py
Added: trunk/fclient/src/fclient/Ui_ViewLogger.py
===================================================================
--- trunk/fclient/src/fclient/Ui_ViewLogger.py (rev 0)
+++ trunk/fclient/src/fclient/Ui_ViewLogger.py 2008-07-08 10:49:27 UTC (rev 548)
@@ -0,0 +1,39 @@
+
+from __future__ import absolute_import
+if __name__ == '__main__': # see --> http://bugs.python.org/issue1510172 . works only current dir and below
+ import os; __path__ = [os.path.dirname(__file__)]
+
+
+from PyQt4 import QtGui
+
+
+from . import config
+from .tpls.Ui_ViewLoggerTpl import Ui_ViewLoggerTpl
+#**********************************************************************************
+#
+#**********************************************************************************
+#***********************************************************************
+#
+#***********************************************************************
+class ViewWidgetLogger(QtGui.QWidget, Ui_ViewLoggerTpl):
+
+ def __init__(self, parent, cfg=None):
+ QtGui.QWidget.__init__(self, parent)
+
+
+ self.cfg = config.Config(self) if cfg is None else cfg
+
+
+ self.setupUi(self)
+
+#**********************************************************************************
+#
+#**********************************************************************************
+if __name__ == '__main__':
+ import sys
+
+ app = QtGui.QApplication(sys.argv)
+ w = ViewWidgetLogger(None)
+ w.show()
+ res = app.exec_()
+ sys.exit(res)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|