SF.net SVN: fclient: [541] trunk/fclient/src/fclient
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-08 07:43:59
|
Revision: 541
http://fclient.svn.sourceforge.net/fclient/?rev=541&view=rev
Author: jUrner
Date: 2008-07-08 00:44:05 -0700 (Tue, 08 Jul 2008)
Log Message:
-----------
move ui templates out of the way
Added Paths:
-----------
trunk/fclient/src/fclient/tpls/
trunk/fclient/src/fclient/tpls/PrefsGlobalTpl.ui
trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalTpl.py
trunk/fclient/src/fclient/tpls/__init__.py/
Added: trunk/fclient/src/fclient/tpls/PrefsGlobalTpl.ui
===================================================================
--- trunk/fclient/src/fclient/tpls/PrefsGlobalTpl.ui (rev 0)
+++ trunk/fclient/src/fclient/tpls/PrefsGlobalTpl.ui 2008-07-08 07:44:05 UTC (rev 541)
@@ -0,0 +1,64 @@
+<ui version="4.0" >
+ <class>PrefsGlobalTpl</class>
+ <widget class="QWidget" name="PrefsGlobalTpl" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>465</width>
+ <height>247</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Form</string>
+ </property>
+ <layout class="QGridLayout" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="label" >
+ <property name="text" >
+ <string>Specify directory to store settings to. If unchecked, settings are stored in an os dependend location.</string>
+ </property>
+ <property name="wordWrap" >
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <layout class="QHBoxLayout" >
+ <item>
+ <widget class="QCheckBox" name="ckStoreSettingsLocally" >
+ <property name="text" >
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="edStoreSettingsLocally" />
+ </item>
+ <item>
+ <widget class="QPushButton" name="btStoreSettingsLocally" >
+ <property name="text" >
+ <string>...</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0" >
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
Added: trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalTpl.py
===================================================================
--- trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalTpl.py (rev 0)
+++ trunk/fclient/src/fclient/tpls/Ui_PrefsGlobalTpl.py 2008-07-08 07:44:05 UTC (rev 541)
@@ -0,0 +1,61 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file '/home/me/src/proj/fclient/trunk/fclient/src/fclient/PrefsGlobalTpl.ui'
+#
+# Created: Mon Jul 7 23:23:43 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()))
+
+ self.gridlayout = QtGui.QGridLayout(PrefsGlobalTpl)
+ self.gridlayout.setObjectName("gridlayout")
+
+ self.label = QtGui.QLabel(PrefsGlobalTpl)
+ self.label.setWordWrap(True)
+ self.label.setObjectName("label")
+ self.gridlayout.addWidget(self.label,0,0,1,1)
+
+ self.hboxlayout = QtGui.QHBoxLayout()
+ self.hboxlayout.setObjectName("hboxlayout")
+
+ self.ckStoreSettingsLocally = QtGui.QCheckBox(PrefsGlobalTpl)
+ self.ckStoreSettingsLocally.setObjectName("ckStoreSettingsLocally")
+ self.hboxlayout.addWidget(self.ckStoreSettingsLocally)
+
+ self.edStoreSettingsLocally = QtGui.QLineEdit(PrefsGlobalTpl)
+ self.edStoreSettingsLocally.setObjectName("edStoreSettingsLocally")
+ self.hboxlayout.addWidget(self.edStoreSettingsLocally)
+
+ self.btStoreSettingsLocally = QtGui.QPushButton(PrefsGlobalTpl)
+ self.btStoreSettingsLocally.setObjectName("btStoreSettingsLocally")
+ self.hboxlayout.addWidget(self.btStoreSettingsLocally)
+ self.gridlayout.addLayout(self.hboxlayout,1,0,1,1)
+
+ 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)
+
+ 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))
+
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtGui.QApplication(sys.argv)
+ PrefsGlobalTpl = QtGui.QWidget()
+ ui = Ui_PrefsGlobalTpl()
+ ui.setupUi(PrefsGlobalTpl)
+ PrefsGlobalTpl.show()
+ sys.exit(app.exec_())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|