SF.net SVN: fclient: [561] trunk/fclient/src/fclient
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-08 15:53:34
|
Revision: 561
http://fclient.svn.sourceforge.net/fclient/?rev=561&view=rev
Author: jUrner
Date: 2008-07-08 08:52:59 -0700 (Tue, 08 Jul 2008)
Log Message:
-----------
...
Modified Paths:
--------------
trunk/fclient/src/fclient/Ui_PrefsGlobal.py
trunk/fclient/src/fclient/tpls/PrefsGlobalWidgetTpl.ui
trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalWidgetTpl.py
Modified: trunk/fclient/src/fclient/Ui_PrefsGlobal.py
===================================================================
--- trunk/fclient/src/fclient/Ui_PrefsGlobal.py 2008-07-08 15:50:30 UTC (rev 560)
+++ trunk/fclient/src/fclient/Ui_PrefsGlobal.py 2008-07-08 15:52:59 UTC (rev 561)
@@ -9,11 +9,11 @@
from . import config
from .lib.qt4ex.dlgs import dlgpreferences
-from .tpls.Ui_PrefsGlobalTpl import Ui_PrefsGlobalTpl
+from .tpls.Ui_PrefsGlobalWidgetTpl import Ui_PrefsGlobalWidget
#**********************************************************************************
#
#**********************************************************************************
-class PrefsWidgetGlobal(QtGui.QWidget, Ui_PrefsGlobalTpl):
+class PrefsGlobalWidget(QtGui.QWidget, Ui_PrefsGlobalWidget):
def __init__(self, parent, cfg=None):
QtGui.QWidget.__init__(self, parent)
@@ -45,7 +45,7 @@
createdNew = False
if flag and self._widget is None:
createdNew = True
- self._widget = PrefsWidgetGlobal(parent)
+ self._widget = PrefsGlobalWidget(parent)
self._widget.setVisible(flag)
return (createdNew, self._widget)
@@ -59,7 +59,7 @@
import sys
app = QtGui.QApplication(sys.argv)
- w = PrefsWidgetGlobal(None)
+ w = PrefsGlobalWidget(None)
w.show()
res = app.exec_()
sys.exit(res)
Modified: trunk/fclient/src/fclient/tpls/PrefsGlobalWidgetTpl.ui
===================================================================
--- trunk/fclient/src/fclient/tpls/PrefsGlobalWidgetTpl.ui 2008-07-08 15:50:30 UTC (rev 560)
+++ trunk/fclient/src/fclient/tpls/PrefsGlobalWidgetTpl.ui 2008-07-08 15:52:59 UTC (rev 561)
@@ -1,6 +1,6 @@
<ui version="4.0" >
- <class>PrefsGlobalTpl</class>
- <widget class="QWidget" name="PrefsGlobalTpl" >
+ <class>PrefsGlobalWidget</class>
+ <widget class="QWidget" name="PrefsGlobalWidget" >
<property name="geometry" >
<rect>
<x>0</x>
Modified: trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalWidgetTpl.py
===================================================================
--- trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalWidgetTpl.py 2008-07-08 15:50:30 UTC (rev 560)
+++ trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalWidgetTpl.py 2008-07-08 15:52:59 UTC (rev 561)
@@ -1,23 +1,23 @@
# -*- coding: utf-8 -*-
-# Form implementation generated from reading ui file '/home/me/src/proj/fclient/trunk/fclient/src/fclient/PrefsGlobalTpl.ui'
+# Form implementation generated from reading ui file '/home/me/src/proj/fclient/trunk/fclient/src/fclient/tpls/PrefsGlobalWidgetTpl.ui'
#
-# Created: Mon Jul 7 23:23:43 2008
+# Created: Tue Jul 8 17:51:29 2008
# by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
-class Ui_PrefsGlobalTpl(object):
- def setupUi(self, PrefsGlobalTpl):
- PrefsGlobalTpl.setObjectName("PrefsGlobalTpl")
- PrefsGlobalTpl.resize(QtCore.QSize(QtCore.QRect(0,0,465,247).size()).expandedTo(PrefsGlobalTpl.minimumSizeHint()))
+class Ui_PrefsGlobalWidget(object):
+ def setupUi(self, PrefsGlobalWidget):
+ PrefsGlobalWidget.setObjectName("PrefsGlobalWidget")
+ PrefsGlobalWidget.resize(QtCore.QSize(QtCore.QRect(0,0,465,247).size()).expandedTo(PrefsGlobalWidget.minimumSizeHint()))
- self.gridlayout = QtGui.QGridLayout(PrefsGlobalTpl)
+ self.gridlayout = QtGui.QGridLayout(PrefsGlobalWidget)
self.gridlayout.setObjectName("gridlayout")
- self.label = QtGui.QLabel(PrefsGlobalTpl)
+ self.label = QtGui.QLabel(PrefsGlobalWidget)
self.label.setWordWrap(True)
self.label.setObjectName("label")
self.gridlayout.addWidget(self.label,0,0,1,1)
@@ -25,15 +25,15 @@
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setObjectName("hboxlayout")
- self.ckStoreSettingsLocally = QtGui.QCheckBox(PrefsGlobalTpl)
+ self.ckStoreSettingsLocally = QtGui.QCheckBox(PrefsGlobalWidget)
self.ckStoreSettingsLocally.setObjectName("ckStoreSettingsLocally")
self.hboxlayout.addWidget(self.ckStoreSettingsLocally)
- self.edStoreSettingsLocally = QtGui.QLineEdit(PrefsGlobalTpl)
+ self.edStoreSettingsLocally = QtGui.QLineEdit(PrefsGlobalWidget)
self.edStoreSettingsLocally.setObjectName("edStoreSettingsLocally")
self.hboxlayout.addWidget(self.edStoreSettingsLocally)
- self.btStoreSettingsLocally = QtGui.QPushButton(PrefsGlobalTpl)
+ self.btStoreSettingsLocally = QtGui.QPushButton(PrefsGlobalWidget)
self.btStoreSettingsLocally.setObjectName("btStoreSettingsLocally")
self.hboxlayout.addWidget(self.btStoreSettingsLocally)
self.gridlayout.addLayout(self.hboxlayout,1,0,1,1)
@@ -41,21 +41,21 @@
spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem,2,0,1,1)
- self.retranslateUi(PrefsGlobalTpl)
- QtCore.QMetaObject.connectSlotsByName(PrefsGlobalTpl)
+ self.retranslateUi(PrefsGlobalWidget)
+ QtCore.QMetaObject.connectSlotsByName(PrefsGlobalWidget)
- def retranslateUi(self, PrefsGlobalTpl):
- PrefsGlobalTpl.setWindowTitle(QtGui.QApplication.translate("PrefsGlobalTpl", "Form", None, QtGui.QApplication.UnicodeUTF8))
- self.label.setText(QtGui.QApplication.translate("PrefsGlobalTpl", "Specify directory to store settings to. If unchecked, settings are stored in an os dependend location.", None, QtGui.QApplication.UnicodeUTF8))
- self.btStoreSettingsLocally.setText(QtGui.QApplication.translate("PrefsGlobalTpl", "...", None, QtGui.QApplication.UnicodeUTF8))
+ def retranslateUi(self, PrefsGlobalWidget):
+ PrefsGlobalWidget.setWindowTitle(QtGui.QApplication.translate("PrefsGlobalWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
+ self.label.setText(QtGui.QApplication.translate("PrefsGlobalWidget", "Specify directory to store settings to. If unchecked, settings are stored in an os dependend location.", None, QtGui.QApplication.UnicodeUTF8))
+ self.btStoreSettingsLocally.setText(QtGui.QApplication.translate("PrefsGlobalWidget", "...", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
- PrefsGlobalTpl = QtGui.QWidget()
- ui = Ui_PrefsGlobalTpl()
- ui.setupUi(PrefsGlobalTpl)
- PrefsGlobalTpl.show()
+ PrefsGlobalWidget = QtGui.QWidget()
+ ui = Ui_PrefsGlobalWidget()
+ ui.setupUi(PrefsGlobalWidget)
+ PrefsGlobalWidget.show()
sys.exit(app.exec_())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|