@@ -0,0 +1,84 | |||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
|
2 | <ui version="4.0"> | |
|
3 | <class>About</class> | |
|
4 | <widget class="QDialog" name="About"> | |
|
5 | <property name="geometry"> | |
|
6 | <rect> | |
|
7 | <x>0</x> | |
|
8 | <y>0</y> | |
|
9 | <width>250</width> | |
|
10 | <height>230</height> | |
|
11 | </rect> | |
|
12 | </property> | |
|
13 | <property name="minimumSize"> | |
|
14 | <size> | |
|
15 | <width>250</width> | |
|
16 | <height>230</height> | |
|
17 | </size> | |
|
18 | </property> | |
|
19 | <property name="maximumSize"> | |
|
20 | <size> | |
|
21 | <width>250</width> | |
|
22 | <height>230</height> | |
|
23 | </size> | |
|
24 | </property> | |
|
25 | <property name="windowTitle"> | |
|
26 | <string>About</string> | |
|
27 | </property> | |
|
28 | <layout class="QVBoxLayout" name="verticalLayout"> | |
|
29 | <item> | |
|
30 | <widget class="QTextEdit" name="textEdit"> | |
|
31 | <property name="maximumSize"> | |
|
32 | <size> | |
|
33 | <width>16777215</width> | |
|
34 | <height>16777215</height> | |
|
35 | </size> | |
|
36 | </property> | |
|
37 | <property name="readOnly"> | |
|
38 | <bool>true</bool> | |
|
39 | </property> | |
|
40 | <property name="html"> | |
|
41 | <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
|
42 | <html><head><meta name="qrichtext" content="1" /><style type="text/css"> | |
|
43 | p, li { white-space: pre-wrap; } | |
|
44 | </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> | |
|
45 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">JRO BACKUP MANAGER</span></p> | |
|
46 | <p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"></p> | |
|
47 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Author:</span></p> | |
|
48 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Ricardo Farino Alonso RondΓ³n</span></p> | |
|
49 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">ricardo.alonso@jro.igp.gob.pe</span></p> | |
|
50 | <p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;"></p> | |
|
51 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Jicamarca Radio Observatory</span></p> | |
|
52 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Jicamarca - May 2010</span></p></body></html></string> | |
|
53 | </property> | |
|
54 | </widget> | |
|
55 | </item> | |
|
56 | <item> | |
|
57 | <widget class="QPushButton" name="btnOK"> | |
|
58 | <property name="text"> | |
|
59 | <string>OK</string> | |
|
60 | </property> | |
|
61 | </widget> | |
|
62 | </item> | |
|
63 | </layout> | |
|
64 | </widget> | |
|
65 | <resources/> | |
|
66 | <connections> | |
|
67 | <connection> | |
|
68 | <sender>btnOK</sender> | |
|
69 | <signal>clicked()</signal> | |
|
70 | <receiver>About</receiver> | |
|
71 | <slot>close()</slot> | |
|
72 | <hints> | |
|
73 | <hint type="sourcelabel"> | |
|
74 | <x>154</x> | |
|
75 | <y>194</y> | |
|
76 | </hint> | |
|
77 | <hint type="destinationlabel"> | |
|
78 | <x>247</x> | |
|
79 | <y>57</y> | |
|
80 | </hint> | |
|
81 | </hints> | |
|
82 | </connection> | |
|
83 | </connections> | |
|
84 | </ui> |
@@ -0,0 +1,84 | |||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
|
2 | <ui version="4.0"> | |
|
3 | <class>About</class> | |
|
4 | <widget class="QDialog" name="About"> | |
|
5 | <property name="geometry"> | |
|
6 | <rect> | |
|
7 | <x>0</x> | |
|
8 | <y>0</y> | |
|
9 | <width>250</width> | |
|
10 | <height>230</height> | |
|
11 | </rect> | |
|
12 | </property> | |
|
13 | <property name="minimumSize"> | |
|
14 | <size> | |
|
15 | <width>250</width> | |
|
16 | <height>230</height> | |
|
17 | </size> | |
|
18 | </property> | |
|
19 | <property name="maximumSize"> | |
|
20 | <size> | |
|
21 | <width>250</width> | |
|
22 | <height>230</height> | |
|
23 | </size> | |
|
24 | </property> | |
|
25 | <property name="windowTitle"> | |
|
26 | <string>About</string> | |
|
27 | </property> | |
|
28 | <layout class="QVBoxLayout" name="verticalLayout"> | |
|
29 | <item> | |
|
30 | <widget class="QTextEdit" name="textEdit"> | |
|
31 | <property name="maximumSize"> | |
|
32 | <size> | |
|
33 | <width>16777215</width> | |
|
34 | <height>16777215</height> | |
|
35 | </size> | |
|
36 | </property> | |
|
37 | <property name="readOnly"> | |
|
38 | <bool>true</bool> | |
|
39 | </property> | |
|
40 | <property name="html"> | |
|
41 | <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
|
42 | <html><head><meta name="qrichtext" content="1" /><style type="text/css"> | |
|
43 | p, li { white-space: pre-wrap; } | |
|
44 | </style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> | |
|
45 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">JRO BACKUP MANAGER</span></p> | |
|
46 | <p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"></p> | |
|
47 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Author:</span></p> | |
|
48 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Ricardo Farino Alonso RondΓ³n</span></p> | |
|
49 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">ricardo.alonso@jro.igp.gob.pe</span></p> | |
|
50 | <p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;"></p> | |
|
51 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Jicamarca Radio Observatory</span></p> | |
|
52 | <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Jicamarca - May 2010</span></p></body></html></string> | |
|
53 | </property> | |
|
54 | </widget> | |
|
55 | </item> | |
|
56 | <item> | |
|
57 | <widget class="QPushButton" name="btnOK"> | |
|
58 | <property name="text"> | |
|
59 | <string>OK</string> | |
|
60 | </property> | |
|
61 | </widget> | |
|
62 | </item> | |
|
63 | </layout> | |
|
64 | </widget> | |
|
65 | <resources/> | |
|
66 | <connections> | |
|
67 | <connection> | |
|
68 | <sender>btnOK</sender> | |
|
69 | <signal>clicked()</signal> | |
|
70 | <receiver>About</receiver> | |
|
71 | <slot>close()</slot> | |
|
72 | <hints> | |
|
73 | <hint type="sourcelabel"> | |
|
74 | <x>154</x> | |
|
75 | <y>194</y> | |
|
76 | </hint> | |
|
77 | <hint type="destinationlabel"> | |
|
78 | <x>247</x> | |
|
79 | <y>57</y> | |
|
80 | </hint> | |
|
81 | </hints> | |
|
82 | </connection> | |
|
83 | </connections> | |
|
84 | </ui> |
@@ -0,0 +1,127 | |||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
|
2 | <ui version="4.0"> | |
|
3 | <class>Parameters</class> | |
|
4 | <widget class="QDialog" name="Parameters"> | |
|
5 | <property name="geometry"> | |
|
6 | <rect> | |
|
7 | <x>0</x> | |
|
8 | <y>0</y> | |
|
9 | <width>207</width> | |
|
10 | <height>152</height> | |
|
11 | </rect> | |
|
12 | </property> | |
|
13 | <property name="windowTitle"> | |
|
14 | <string>Parameters</string> | |
|
15 | </property> | |
|
16 | <layout class="QVBoxLayout" name="verticalLayout"> | |
|
17 | <item> | |
|
18 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | |
|
19 | <item> | |
|
20 | <layout class="QVBoxLayout" name="verticalLayout_2"> | |
|
21 | <item> | |
|
22 | <widget class="QLabel" name="label"> | |
|
23 | <property name="text"> | |
|
24 | <string>NΒ° Copys</string> | |
|
25 | </property> | |
|
26 | </widget> | |
|
27 | </item> | |
|
28 | <item> | |
|
29 | <widget class="QLabel" name="label_3"> | |
|
30 | <property name="text"> | |
|
31 | <string>Disc</string> | |
|
32 | </property> | |
|
33 | </widget> | |
|
34 | </item> | |
|
35 | <item> | |
|
36 | <widget class="QLabel" name="label_2"> | |
|
37 | <property name="text"> | |
|
38 | <string>Copy</string> | |
|
39 | </property> | |
|
40 | </widget> | |
|
41 | </item> | |
|
42 | </layout> | |
|
43 | </item> | |
|
44 | <item> | |
|
45 | <layout class="QVBoxLayout" name="verticalLayout_3"> | |
|
46 | <item> | |
|
47 | <widget class="QSpinBox" name="txtNcopys"> | |
|
48 | <property name="minimum"> | |
|
49 | <number>1</number> | |
|
50 | </property> | |
|
51 | <property name="maximum"> | |
|
52 | <number>999</number> | |
|
53 | </property> | |
|
54 | </widget> | |
|
55 | </item> | |
|
56 | <item> | |
|
57 | <widget class="QSpinBox" name="txtDisc"> | |
|
58 | <property name="minimum"> | |
|
59 | <number>1</number> | |
|
60 | </property> | |
|
61 | <property name="maximum"> | |
|
62 | <number>999999</number> | |
|
63 | </property> | |
|
64 | </widget> | |
|
65 | </item> | |
|
66 | <item> | |
|
67 | <widget class="QSpinBox" name="txtCopy"> | |
|
68 | <property name="minimum"> | |
|
69 | <number>1</number> | |
|
70 | </property> | |
|
71 | <property name="maximum"> | |
|
72 | <number>999</number> | |
|
73 | </property> | |
|
74 | </widget> | |
|
75 | </item> | |
|
76 | </layout> | |
|
77 | </item> | |
|
78 | </layout> | |
|
79 | </item> | |
|
80 | <item> | |
|
81 | <widget class="QDialogButtonBox" name="buttonBox"> | |
|
82 | <property name="orientation"> | |
|
83 | <enum>Qt::Horizontal</enum> | |
|
84 | </property> | |
|
85 | <property name="standardButtons"> | |
|
86 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
|
87 | </property> | |
|
88 | </widget> | |
|
89 | </item> | |
|
90 | </layout> | |
|
91 | </widget> | |
|
92 | <resources/> | |
|
93 | <connections> | |
|
94 | <connection> | |
|
95 | <sender>buttonBox</sender> | |
|
96 | <signal>accepted()</signal> | |
|
97 | <receiver>Parameters</receiver> | |
|
98 | <slot>accept()</slot> | |
|
99 | <hints> | |
|
100 | <hint type="sourcelabel"> | |
|
101 | <x>197</x> | |
|
102 | <y>142</y> | |
|
103 | </hint> | |
|
104 | <hint type="destinationlabel"> | |
|
105 | <x>157</x> | |
|
106 | <y>151</y> | |
|
107 | </hint> | |
|
108 | </hints> | |
|
109 | </connection> | |
|
110 | <connection> | |
|
111 | <sender>buttonBox</sender> | |
|
112 | <signal>rejected()</signal> | |
|
113 | <receiver>Parameters</receiver> | |
|
114 | <slot>reject()</slot> | |
|
115 | <hints> | |
|
116 | <hint type="sourcelabel"> | |
|
117 | <x>197</x> | |
|
118 | <y>142</y> | |
|
119 | </hint> | |
|
120 | <hint type="destinationlabel"> | |
|
121 | <x>206</x> | |
|
122 | <y>151</y> | |
|
123 | </hint> | |
|
124 | </hints> | |
|
125 | </connection> | |
|
126 | </connections> | |
|
127 | </ui> |
@@ -0,0 +1,127 | |||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
|
2 | <ui version="4.0"> | |
|
3 | <class>Dialog</class> | |
|
4 | <widget class="QDialog" name="Dialog"> | |
|
5 | <property name="geometry"> | |
|
6 | <rect> | |
|
7 | <x>0</x> | |
|
8 | <y>0</y> | |
|
9 | <width>207</width> | |
|
10 | <height>152</height> | |
|
11 | </rect> | |
|
12 | </property> | |
|
13 | <property name="windowTitle"> | |
|
14 | <string>Dialog</string> | |
|
15 | </property> | |
|
16 | <layout class="QVBoxLayout" name="verticalLayout"> | |
|
17 | <item> | |
|
18 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | |
|
19 | <item> | |
|
20 | <layout class="QVBoxLayout" name="verticalLayout_2"> | |
|
21 | <item> | |
|
22 | <widget class="QLabel" name="label"> | |
|
23 | <property name="text"> | |
|
24 | <string>NΒ° Copys</string> | |
|
25 | </property> | |
|
26 | </widget> | |
|
27 | </item> | |
|
28 | <item> | |
|
29 | <widget class="QLabel" name="label_3"> | |
|
30 | <property name="text"> | |
|
31 | <string>Disc</string> | |
|
32 | </property> | |
|
33 | </widget> | |
|
34 | </item> | |
|
35 | <item> | |
|
36 | <widget class="QLabel" name="label_2"> | |
|
37 | <property name="text"> | |
|
38 | <string>Copy</string> | |
|
39 | </property> | |
|
40 | </widget> | |
|
41 | </item> | |
|
42 | </layout> | |
|
43 | </item> | |
|
44 | <item> | |
|
45 | <layout class="QVBoxLayout" name="verticalLayout_3"> | |
|
46 | <item> | |
|
47 | <widget class="QSpinBox" name="txtNcopys"> | |
|
48 | <property name="minimum"> | |
|
49 | <number>1</number> | |
|
50 | </property> | |
|
51 | <property name="maximum"> | |
|
52 | <number>999</number> | |
|
53 | </property> | |
|
54 | </widget> | |
|
55 | </item> | |
|
56 | <item> | |
|
57 | <widget class="QSpinBox" name="txtDisc"> | |
|
58 | <property name="minimum"> | |
|
59 | <number>1</number> | |
|
60 | </property> | |
|
61 | <property name="maximum"> | |
|
62 | <number>999999</number> | |
|
63 | </property> | |
|
64 | </widget> | |
|
65 | </item> | |
|
66 | <item> | |
|
67 | <widget class="QSpinBox" name="txtCopy"> | |
|
68 | <property name="minimum"> | |
|
69 | <number>1</number> | |
|
70 | </property> | |
|
71 | <property name="maximum"> | |
|
72 | <number>999</number> | |
|
73 | </property> | |
|
74 | </widget> | |
|
75 | </item> | |
|
76 | </layout> | |
|
77 | </item> | |
|
78 | </layout> | |
|
79 | </item> | |
|
80 | <item> | |
|
81 | <widget class="QDialogButtonBox" name="buttonBox"> | |
|
82 | <property name="orientation"> | |
|
83 | <enum>Qt::Horizontal</enum> | |
|
84 | </property> | |
|
85 | <property name="standardButtons"> | |
|
86 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
|
87 | </property> | |
|
88 | </widget> | |
|
89 | </item> | |
|
90 | </layout> | |
|
91 | </widget> | |
|
92 | <resources/> | |
|
93 | <connections> | |
|
94 | <connection> | |
|
95 | <sender>buttonBox</sender> | |
|
96 | <signal>accepted()</signal> | |
|
97 | <receiver>Dialog</receiver> | |
|
98 | <slot>accept()</slot> | |
|
99 | <hints> | |
|
100 | <hint type="sourcelabel"> | |
|
101 | <x>197</x> | |
|
102 | <y>142</y> | |
|
103 | </hint> | |
|
104 | <hint type="destinationlabel"> | |
|
105 | <x>157</x> | |
|
106 | <y>151</y> | |
|
107 | </hint> | |
|
108 | </hints> | |
|
109 | </connection> | |
|
110 | <connection> | |
|
111 | <sender>buttonBox</sender> | |
|
112 | <signal>rejected()</signal> | |
|
113 | <receiver>Dialog</receiver> | |
|
114 | <slot>reject()</slot> | |
|
115 | <hints> | |
|
116 | <hint type="sourcelabel"> | |
|
117 | <x>197</x> | |
|
118 | <y>142</y> | |
|
119 | </hint> | |
|
120 | <hint type="destinationlabel"> | |
|
121 | <x>206</x> | |
|
122 | <y>151</y> | |
|
123 | </hint> | |
|
124 | </hints> | |
|
125 | </connection> | |
|
126 | </connections> | |
|
127 | </ui> |
@@ -0,0 +1,58 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
2 | ||
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui' | |
|
4 | # | |
|
5 | # Created: Mon May 24 08:52:43 2010 | |
|
6 | # by: PyQt4 UI code generator 4.6 | |
|
7 | # | |
|
8 | # WARNING! All changes made in this file will be lost! | |
|
9 | ||
|
10 | from PyQt4 import QtCore, QtGui | |
|
11 | ||
|
12 | class Ui_About(object): | |
|
13 | def setupUi(self, About): | |
|
14 | About.setObjectName("About") | |
|
15 | About.resize(250, 230) | |
|
16 | About.setMinimumSize(QtCore.QSize(250, 230)) | |
|
17 | About.setMaximumSize(QtCore.QSize(250, 230)) | |
|
18 | self.verticalLayout = QtGui.QVBoxLayout(About) | |
|
19 | self.verticalLayout.setObjectName("verticalLayout") | |
|
20 | self.textEdit = QtGui.QTextEdit(About) | |
|
21 | self.textEdit.setMaximumSize(QtCore.QSize(16777215, 16777215)) | |
|
22 | self.textEdit.setReadOnly(True) | |
|
23 | self.textEdit.setObjectName("textEdit") | |
|
24 | self.verticalLayout.addWidget(self.textEdit) | |
|
25 | self.btnOK = QtGui.QPushButton(About) | |
|
26 | self.btnOK.setObjectName("btnOK") | |
|
27 | self.verticalLayout.addWidget(self.btnOK) | |
|
28 | ||
|
29 | self.retranslateUi(About) | |
|
30 | QtCore.QObject.connect(self.btnOK, QtCore.SIGNAL("clicked()"), About.close) | |
|
31 | QtCore.QMetaObject.connectSlotsByName(About) | |
|
32 | ||
|
33 | def retranslateUi(self, About): | |
|
34 | About.setWindowTitle(QtGui.QApplication.translate("About", "About", None, QtGui.QApplication.UnicodeUTF8)) | |
|
35 | self.textEdit.setHtml(QtGui.QApplication.translate("About", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" | |
|
36 | "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" | |
|
37 | "p, li { white-space: pre-wrap; }\n" | |
|
38 | "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" | |
|
39 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">JRO BACKUP MANAGER</span></p>\n" | |
|
40 | "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"></p>\n" | |
|
41 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Author:</span></p>\n" | |
|
42 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Ricardo Farino Alonso RondΓ³n</span></p>\n" | |
|
43 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">ricardo.alonso@jro.igp.gob.pe</span></p>\n" | |
|
44 | "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;\"></p>\n" | |
|
45 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Jicamarca Radio Observatory</span></p>\n" | |
|
46 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Jicamarca - May 2010</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) | |
|
47 | self.btnOK.setText(QtGui.QApplication.translate("About", "OK", None, QtGui.QApplication.UnicodeUTF8)) | |
|
48 | ||
|
49 | ||
|
50 | if __name__ == "__main__": | |
|
51 | import sys | |
|
52 | app = QtGui.QApplication(sys.argv) | |
|
53 | About = QtGui.QDialog() | |
|
54 | ui = Ui_About() | |
|
55 | ui.setupUi(About) | |
|
56 | About.show() | |
|
57 | sys.exit(app.exec_()) | |
|
58 |
@@ -0,0 +1,58 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
2 | ||
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About2.ui' | |
|
4 | # | |
|
5 | # Created: Mon May 24 08:52:42 2010 | |
|
6 | # by: PyQt4 UI code generator 4.6 | |
|
7 | # | |
|
8 | # WARNING! All changes made in this file will be lost! | |
|
9 | ||
|
10 | from PyQt4 import QtCore, QtGui | |
|
11 | ||
|
12 | class Ui_About(object): | |
|
13 | def setupUi(self, About): | |
|
14 | About.setObjectName("About") | |
|
15 | About.resize(250, 230) | |
|
16 | About.setMinimumSize(QtCore.QSize(250, 230)) | |
|
17 | About.setMaximumSize(QtCore.QSize(250, 230)) | |
|
18 | self.verticalLayout = QtGui.QVBoxLayout(About) | |
|
19 | self.verticalLayout.setObjectName("verticalLayout") | |
|
20 | self.textEdit = QtGui.QTextEdit(About) | |
|
21 | self.textEdit.setMaximumSize(QtCore.QSize(16777215, 16777215)) | |
|
22 | self.textEdit.setReadOnly(True) | |
|
23 | self.textEdit.setObjectName("textEdit") | |
|
24 | self.verticalLayout.addWidget(self.textEdit) | |
|
25 | self.btnOK = QtGui.QPushButton(About) | |
|
26 | self.btnOK.setObjectName("btnOK") | |
|
27 | self.verticalLayout.addWidget(self.btnOK) | |
|
28 | ||
|
29 | self.retranslateUi(About) | |
|
30 | QtCore.QObject.connect(self.btnOK, QtCore.SIGNAL("clicked()"), About.close) | |
|
31 | QtCore.QMetaObject.connectSlotsByName(About) | |
|
32 | ||
|
33 | def retranslateUi(self, About): | |
|
34 | About.setWindowTitle(QtGui.QApplication.translate("About", "About", None, QtGui.QApplication.UnicodeUTF8)) | |
|
35 | self.textEdit.setHtml(QtGui.QApplication.translate("About", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" | |
|
36 | "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" | |
|
37 | "p, li { white-space: pre-wrap; }\n" | |
|
38 | "</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" | |
|
39 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">JRO BACKUP MANAGER</span></p>\n" | |
|
40 | "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"></p>\n" | |
|
41 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Author:</span></p>\n" | |
|
42 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Ricardo Farino Alonso RondΓ³n</span></p>\n" | |
|
43 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">ricardo.alonso@jro.igp.gob.pe</span></p>\n" | |
|
44 | "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;\"></p>\n" | |
|
45 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Jicamarca Radio Observatory</span></p>\n" | |
|
46 | "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">Jicamarca - May 2010</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) | |
|
47 | self.btnOK.setText(QtGui.QApplication.translate("About", "OK", None, QtGui.QApplication.UnicodeUTF8)) | |
|
48 | ||
|
49 | ||
|
50 | if __name__ == "__main__": | |
|
51 | import sys | |
|
52 | app = QtGui.QApplication(sys.argv) | |
|
53 | About = QtGui.QDialog() | |
|
54 | ui = Ui_About() | |
|
55 | ui.setupUi(About) | |
|
56 | About.show() | |
|
57 | sys.exit(app.exec_()) | |
|
58 |
@@ -0,0 +1,77 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
2 | ||
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui' | |
|
4 | # | |
|
5 | # Created: Mon May 24 08:52:43 2010 | |
|
6 | # by: PyQt4 UI code generator 4.6 | |
|
7 | # | |
|
8 | # WARNING! All changes made in this file will be lost! | |
|
9 | ||
|
10 | from PyQt4 import QtCore, QtGui | |
|
11 | ||
|
12 | class Ui_Parameters(object): | |
|
13 | def setupUi(self, Parameters): | |
|
14 | Parameters.setObjectName("Parameters") | |
|
15 | Parameters.resize(207, 152) | |
|
16 | self.verticalLayout = QtGui.QVBoxLayout(Parameters) | |
|
17 | self.verticalLayout.setObjectName("verticalLayout") | |
|
18 | self.horizontalLayout_3 = QtGui.QHBoxLayout() | |
|
19 | self.horizontalLayout_3.setObjectName("horizontalLayout_3") | |
|
20 | self.verticalLayout_2 = QtGui.QVBoxLayout() | |
|
21 | self.verticalLayout_2.setObjectName("verticalLayout_2") | |
|
22 | self.label = QtGui.QLabel(Parameters) | |
|
23 | self.label.setObjectName("label") | |
|
24 | self.verticalLayout_2.addWidget(self.label) | |
|
25 | self.label_3 = QtGui.QLabel(Parameters) | |
|
26 | self.label_3.setObjectName("label_3") | |
|
27 | self.verticalLayout_2.addWidget(self.label_3) | |
|
28 | self.label_2 = QtGui.QLabel(Parameters) | |
|
29 | self.label_2.setObjectName("label_2") | |
|
30 | self.verticalLayout_2.addWidget(self.label_2) | |
|
31 | self.horizontalLayout_3.addLayout(self.verticalLayout_2) | |
|
32 | self.verticalLayout_3 = QtGui.QVBoxLayout() | |
|
33 | self.verticalLayout_3.setObjectName("verticalLayout_3") | |
|
34 | self.txtNcopys = QtGui.QSpinBox(Parameters) | |
|
35 | self.txtNcopys.setMinimum(1) | |
|
36 | self.txtNcopys.setMaximum(999) | |
|
37 | self.txtNcopys.setObjectName("txtNcopys") | |
|
38 | self.verticalLayout_3.addWidget(self.txtNcopys) | |
|
39 | self.txtDisc = QtGui.QSpinBox(Parameters) | |
|
40 | self.txtDisc.setMinimum(1) | |
|
41 | self.txtDisc.setMaximum(999999) | |
|
42 | self.txtDisc.setObjectName("txtDisc") | |
|
43 | self.verticalLayout_3.addWidget(self.txtDisc) | |
|
44 | self.txtCopy = QtGui.QSpinBox(Parameters) | |
|
45 | self.txtCopy.setMinimum(1) | |
|
46 | self.txtCopy.setMaximum(999) | |
|
47 | self.txtCopy.setObjectName("txtCopy") | |
|
48 | self.verticalLayout_3.addWidget(self.txtCopy) | |
|
49 | self.horizontalLayout_3.addLayout(self.verticalLayout_3) | |
|
50 | self.verticalLayout.addLayout(self.horizontalLayout_3) | |
|
51 | self.buttonBox = QtGui.QDialogButtonBox(Parameters) | |
|
52 | self.buttonBox.setOrientation(QtCore.Qt.Horizontal) | |
|
53 | self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) | |
|
54 | self.buttonBox.setObjectName("buttonBox") | |
|
55 | self.verticalLayout.addWidget(self.buttonBox) | |
|
56 | ||
|
57 | self.retranslateUi(Parameters) | |
|
58 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Parameters.accept) | |
|
59 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Parameters.reject) | |
|
60 | QtCore.QMetaObject.connectSlotsByName(Parameters) | |
|
61 | ||
|
62 | def retranslateUi(self, Parameters): | |
|
63 | Parameters.setWindowTitle(QtGui.QApplication.translate("Parameters", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) | |
|
64 | self.label.setText(QtGui.QApplication.translate("Parameters", "NΒ° Copys", None, QtGui.QApplication.UnicodeUTF8)) | |
|
65 | self.label_3.setText(QtGui.QApplication.translate("Parameters", "Disc", None, QtGui.QApplication.UnicodeUTF8)) | |
|
66 | self.label_2.setText(QtGui.QApplication.translate("Parameters", "Copy", None, QtGui.QApplication.UnicodeUTF8)) | |
|
67 | ||
|
68 | ||
|
69 | if __name__ == "__main__": | |
|
70 | import sys | |
|
71 | app = QtGui.QApplication(sys.argv) | |
|
72 | Parameters = QtGui.QDialog() | |
|
73 | ui = Ui_Parameters() | |
|
74 | ui.setupUi(Parameters) | |
|
75 | Parameters.show() | |
|
76 | sys.exit(app.exec_()) | |
|
77 |
@@ -0,0 +1,77 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
2 | ||
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters2.ui' | |
|
4 | # | |
|
5 | # Created: Mon May 24 08:52:43 2010 | |
|
6 | # by: PyQt4 UI code generator 4.6 | |
|
7 | # | |
|
8 | # WARNING! All changes made in this file will be lost! | |
|
9 | ||
|
10 | from PyQt4 import QtCore, QtGui | |
|
11 | ||
|
12 | class Ui_Dialog(object): | |
|
13 | def setupUi(self, Dialog): | |
|
14 | Dialog.setObjectName("Dialog") | |
|
15 | Dialog.resize(207, 152) | |
|
16 | self.verticalLayout = QtGui.QVBoxLayout(Dialog) | |
|
17 | self.verticalLayout.setObjectName("verticalLayout") | |
|
18 | self.horizontalLayout_3 = QtGui.QHBoxLayout() | |
|
19 | self.horizontalLayout_3.setObjectName("horizontalLayout_3") | |
|
20 | self.verticalLayout_2 = QtGui.QVBoxLayout() | |
|
21 | self.verticalLayout_2.setObjectName("verticalLayout_2") | |
|
22 | self.label = QtGui.QLabel(Dialog) | |
|
23 | self.label.setObjectName("label") | |
|
24 | self.verticalLayout_2.addWidget(self.label) | |
|
25 | self.label_3 = QtGui.QLabel(Dialog) | |
|
26 | self.label_3.setObjectName("label_3") | |
|
27 | self.verticalLayout_2.addWidget(self.label_3) | |
|
28 | self.label_2 = QtGui.QLabel(Dialog) | |
|
29 | self.label_2.setObjectName("label_2") | |
|
30 | self.verticalLayout_2.addWidget(self.label_2) | |
|
31 | self.horizontalLayout_3.addLayout(self.verticalLayout_2) | |
|
32 | self.verticalLayout_3 = QtGui.QVBoxLayout() | |
|
33 | self.verticalLayout_3.setObjectName("verticalLayout_3") | |
|
34 | self.txtNcopys = QtGui.QSpinBox(Dialog) | |
|
35 | self.txtNcopys.setMinimum(1) | |
|
36 | self.txtNcopys.setMaximum(999) | |
|
37 | self.txtNcopys.setObjectName("txtNcopys") | |
|
38 | self.verticalLayout_3.addWidget(self.txtNcopys) | |
|
39 | self.txtDisc = QtGui.QSpinBox(Dialog) | |
|
40 | self.txtDisc.setMinimum(1) | |
|
41 | self.txtDisc.setMaximum(999999) | |
|
42 | self.txtDisc.setObjectName("txtDisc") | |
|
43 | self.verticalLayout_3.addWidget(self.txtDisc) | |
|
44 | self.txtCopy = QtGui.QSpinBox(Dialog) | |
|
45 | self.txtCopy.setMinimum(1) | |
|
46 | self.txtCopy.setMaximum(999) | |
|
47 | self.txtCopy.setObjectName("txtCopy") | |
|
48 | self.verticalLayout_3.addWidget(self.txtCopy) | |
|
49 | self.horizontalLayout_3.addLayout(self.verticalLayout_3) | |
|
50 | self.verticalLayout.addLayout(self.horizontalLayout_3) | |
|
51 | self.buttonBox = QtGui.QDialogButtonBox(Dialog) | |
|
52 | self.buttonBox.setOrientation(QtCore.Qt.Horizontal) | |
|
53 | self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) | |
|
54 | self.buttonBox.setObjectName("buttonBox") | |
|
55 | self.verticalLayout.addWidget(self.buttonBox) | |
|
56 | ||
|
57 | self.retranslateUi(Dialog) | |
|
58 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Dialog.accept) | |
|
59 | QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Dialog.reject) | |
|
60 | QtCore.QMetaObject.connectSlotsByName(Dialog) | |
|
61 | ||
|
62 | def retranslateUi(self, Dialog): | |
|
63 | Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) | |
|
64 | self.label.setText(QtGui.QApplication.translate("Dialog", "NΒ° Copys", None, QtGui.QApplication.UnicodeUTF8)) | |
|
65 | self.label_3.setText(QtGui.QApplication.translate("Dialog", "Disc", None, QtGui.QApplication.UnicodeUTF8)) | |
|
66 | self.label_2.setText(QtGui.QApplication.translate("Dialog", "Copy", None, QtGui.QApplication.UnicodeUTF8)) | |
|
67 | ||
|
68 | ||
|
69 | if __name__ == "__main__": | |
|
70 | import sys | |
|
71 | app = QtGui.QApplication(sys.argv) | |
|
72 | Dialog = QtGui.QDialog() | |
|
73 | ui = Ui_Dialog() | |
|
74 | ui.setupUi(Dialog) | |
|
75 | Dialog.show() | |
|
76 | sys.exit(app.exec_()) | |
|
77 |
@@ -1,7 +1,7 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE Project SYSTEM "Project-4.6.dtd"> |
|
3 | 3 | <!-- eric4 project file for project jro_backup_manager --> |
|
4 |
<!-- Saved: 2010-05-2 |
|
|
4 | <!-- Saved: 2010-05-24, 08:55:25 --> | |
|
5 | 5 | <!-- Copyright (C) 2010 , --> |
|
6 | 6 | <Project version="4.6"> |
|
7 | 7 | <Language>en</Language> |
@@ -21,13 +21,17 | |||
|
21 | 21 | <Source>functions/functions.py</Source> |
|
22 | 22 | <Source>functions/functions2.py</Source> |
|
23 | 23 | <Source>functions/func_doc.py</Source> |
|
24 | <Source>ui/Ui_About2.py</Source> | |
|
25 | <Source>ui/Ui_Parameters2.py</Source> | |
|
26 | <Source>ui/Ui_About.py</Source> | |
|
24 | 27 | <Source>ui/Ui_Parameters.py</Source> |
|
25 | <Source>ui/Ui_About.py</Source> | |
|
26 | 28 | </Sources> |
|
27 | 29 | <Forms> |
|
28 | 30 | <Form>ui/MainWindow.ui</Form> |
|
31 | <Form>ui/About2.ui</Form> | |
|
32 | <Form>ui/Parameters2.ui</Form> | |
|
33 | <Form>ui/About.ui</Form> | |
|
29 | 34 | <Form>ui/Parameters.ui</Form> |
|
30 | <Form>ui/About.ui</Form> | |
|
31 | 35 | </Forms> |
|
32 | 36 | <Translations> |
|
33 | 37 | </Translations> |
@@ -68,7 +68,6 | |||
|
68 | 68 | if os.path.isfile("parameters.conf"): |
|
69 | 69 | functions2.enabled_items1(True, self) #Se bloquean los parametros de configuracion |
|
70 | 70 | |
|
71 | # self.connect(self.actionChange_Parameters, QtCore.SIGNAL("triggered()"), self.dlgui.exec) | |
|
72 | 71 | self.connect(self.actionChange_Parameters, QtCore.SIGNAL("triggered()"), self.changeParameters) |
|
73 | 72 | self.connect(self.actionAbout, QtCore.SIGNAL("triggered()"), self.about) |
|
74 | 73 | |
@@ -88,8 +87,11 | |||
|
88 | 87 | if (dlg.exec_() == QtGui.QDialog.Accepted): |
|
89 | 88 | if dlgui.txtDisc.value() > self.var_Discs or dlgui.txtCopy.value() > dlgui.txtNcopys.value(): |
|
90 | 89 | self.txtInfo.append("Wrong parameters") |
|
91 | # txtDisc | |
|
92 | # txtCopy | |
|
90 | else: | |
|
91 | self.var_Copys = dlgui.txtNcopys.value() | |
|
92 | self.var_disc_n = dlgui.txtDisc.value() | |
|
93 | self.var_copy_n = dlgui.txtCopy.value() | |
|
94 | self.txtInfo.append("Changed parameters") | |
|
93 | 95 | |
|
94 | 96 | |
|
95 | 97 | def about(self): |
@@ -6,7 +6,7 | |||
|
6 | 6 | <rect> |
|
7 | 7 | <x>0</x> |
|
8 | 8 | <y>0</y> |
|
9 |
<width> |
|
|
9 | <width>824</width> | |
|
10 | 10 | <height>717</height> |
|
11 | 11 | </rect> |
|
12 | 12 | </property> |
@@ -1261,8 +1261,8 | |||
|
1261 | 1261 | <rect> |
|
1262 | 1262 | <x>0</x> |
|
1263 | 1263 | <y>0</y> |
|
1264 |
<width> |
|
|
1265 |
<height>2 |
|
|
1264 | <width>824</width> | |
|
1265 | <height>25</height> | |
|
1266 | 1266 | </rect> |
|
1267 | 1267 | </property> |
|
1268 | 1268 | <widget class="QMenu" name="menuFile"> |
@@ -1349,12 +1349,12 | |||
|
1349 | 1349 | <slot>setEnabled(bool)</slot> |
|
1350 | 1350 | <hints> |
|
1351 | 1351 | <hint type="sourcelabel"> |
|
1352 |
<x>1 |
|
|
1353 |
<y>3 |
|
|
1352 | <x>160</x> | |
|
1353 | <y>378</y> | |
|
1354 | 1354 | </hint> |
|
1355 | 1355 | <hint type="destinationlabel"> |
|
1356 |
<x> |
|
|
1357 |
<y> |
|
|
1356 | <x>231</x> | |
|
1357 | <y>306</y> | |
|
1358 | 1358 | </hint> |
|
1359 | 1359 | </hints> |
|
1360 | 1360 | </connection> |
@@ -1365,12 +1365,12 | |||
|
1365 | 1365 | <slot>setEnabled(bool)</slot> |
|
1366 | 1366 | <hints> |
|
1367 | 1367 | <hint type="sourcelabel"> |
|
1368 |
<x>1 |
|
|
1369 |
<y>3 |
|
|
1368 | <x>160</x> | |
|
1369 | <y>387</y> | |
|
1370 | 1370 | </hint> |
|
1371 | 1371 | <hint type="destinationlabel"> |
|
1372 |
<x> |
|
|
1373 |
<y> |
|
|
1372 | <x>802</x> | |
|
1373 | <y>305</y> | |
|
1374 | 1374 | </hint> |
|
1375 | 1375 | </hints> |
|
1376 | 1376 | </connection> |
@@ -1381,12 +1381,12 | |||
|
1381 | 1381 | <slot>setEnabled(bool)</slot> |
|
1382 | 1382 | <hints> |
|
1383 | 1383 | <hint type="sourcelabel"> |
|
1384 |
<x>1 |
|
|
1385 |
<y>3 |
|
|
1384 | <x>160</x> | |
|
1385 | <y>383</y> | |
|
1386 | 1386 | </hint> |
|
1387 | 1387 | <hint type="destinationlabel"> |
|
1388 |
<x> |
|
|
1389 |
<y>3 |
|
|
1388 | <x>802</x> | |
|
1389 | <y>389</y> | |
|
1390 | 1390 | </hint> |
|
1391 | 1391 | </hints> |
|
1392 | 1392 | </connection> |
@@ -1397,12 +1397,12 | |||
|
1397 | 1397 | <slot>setEnabled(bool)</slot> |
|
1398 | 1398 | <hints> |
|
1399 | 1399 | <hint type="sourcelabel"> |
|
1400 |
<x> |
|
|
1401 |
<y> |
|
|
1400 | <x>701</x> | |
|
1401 | <y>98</y> | |
|
1402 | 1402 | </hint> |
|
1403 | 1403 | <hint type="destinationlabel"> |
|
1404 |
<x> |
|
|
1405 |
<y>2 |
|
|
1404 | <x>701</x> | |
|
1405 | <y>251</y> | |
|
1406 | 1406 | </hint> |
|
1407 | 1407 | </hints> |
|
1408 | 1408 | </connection> |
@@ -2,8 +2,8 | |||
|
2 | 2 | |
|
3 | 3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' |
|
4 | 4 | # |
|
5 |
# Created: |
|
|
6 |
# by: PyQt4 UI code generator 4. |
|
|
5 | # Created: Mon May 24 08:52:42 2010 | |
|
6 | # by: PyQt4 UI code generator 4.6 | |
|
7 | 7 | # |
|
8 | 8 | # WARNING! All changes made in this file will be lost! |
|
9 | 9 | |
@@ -12,7 +12,7 | |||
|
12 | 12 | class Ui_MainWindow(object): |
|
13 | 13 | def setupUi(self, MainWindow): |
|
14 | 14 | MainWindow.setObjectName("MainWindow") |
|
15 |
MainWindow.resize( |
|
|
15 | MainWindow.resize(824, 717) | |
|
16 | 16 | self.centralwidget = QtGui.QWidget(MainWindow) |
|
17 | 17 | self.centralwidget.setObjectName("centralwidget") |
|
18 | 18 | self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) |
@@ -253,19 +253,24 | |||
|
253 | 253 | self.horizontalLayout_12.addLayout(self.verticalLayout_18) |
|
254 | 254 | self.verticalLayout_19 = QtGui.QVBoxLayout() |
|
255 | 255 | self.verticalLayout_19.setObjectName("verticalLayout_19") |
|
256 |
spacerItem1 = QtGui.QSpacerItem(20, |
|
|
256 | spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) | |
|
257 | 257 | self.verticalLayout_19.addItem(spacerItem1) |
|
258 |
self. |
|
|
258 | self.grpDevD_2 = QtGui.QWidget(self.tabDconfig) | |
|
259 | self.grpDevD_2.setObjectName("grpDevD_2") | |
|
260 | self.verticalLayout_20 = QtGui.QVBoxLayout(self.grpDevD_2) | |
|
261 | self.verticalLayout_20.setObjectName("verticalLayout_20") | |
|
262 | self.lblDevice = QtGui.QLabel(self.grpDevD_2) | |
|
259 | 263 | self.lblDevice.setObjectName("lblDevice") |
|
260 |
self.verticalLayout_ |
|
|
261 |
self.lblBspeed = QtGui.QLabel(self. |
|
|
264 | self.verticalLayout_20.addWidget(self.lblDevice) | |
|
265 | self.lblBspeed = QtGui.QLabel(self.grpDevD_2) | |
|
262 | 266 | self.lblBspeed.setObjectName("lblBspeed") |
|
263 |
self.verticalLayout_ |
|
|
264 |
self.lblBmode = QtGui.QLabel(self. |
|
|
267 | self.verticalLayout_20.addWidget(self.lblBspeed) | |
|
268 | self.lblBmode = QtGui.QLabel(self.grpDevD_2) | |
|
265 | 269 | self.lblBmode.setObjectName("lblBmode") |
|
266 |
self.verticalLayout_ |
|
|
267 |
spacerItem2 = QtGui.QSpacerItem( |
|
|
268 |
self.verticalLayout_ |
|
|
270 | self.verticalLayout_20.addWidget(self.lblBmode) | |
|
271 | spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) | |
|
272 | self.verticalLayout_20.addItem(spacerItem2) | |
|
273 | self.verticalLayout_19.addWidget(self.grpDevD_2) | |
|
269 | 274 | self.horizontalLayout_12.addLayout(self.verticalLayout_19) |
|
270 | 275 | self.verticalLayout_3.addLayout(self.horizontalLayout_12) |
|
271 | 276 | spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) |
@@ -570,28 +575,28 | |||
|
570 | 575 | self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
571 | 576 | MainWindow.setCentralWidget(self.centralwidget) |
|
572 | 577 | self.menubar = QtGui.QMenuBar(MainWindow) |
|
573 |
self.menubar.setGeometry(QtCore.QRect(0, 0, |
|
|
578 | self.menubar.setGeometry(QtCore.QRect(0, 0, 824, 25)) | |
|
574 | 579 | self.menubar.setObjectName("menubar") |
|
575 | self.menuParameters = QtGui.QMenu(self.menubar) | |
|
576 | self.menuParameters.setObjectName("menuParameters") | |
|
577 | 580 | self.menuFile = QtGui.QMenu(self.menubar) |
|
578 | 581 | self.menuFile.setObjectName("menuFile") |
|
579 | 582 | self.menuHelp = QtGui.QMenu(self.menubar) |
|
580 | 583 | self.menuHelp.setObjectName("menuHelp") |
|
584 | self.menuParameters = QtGui.QMenu(self.menubar) | |
|
585 | self.menuParameters.setObjectName("menuParameters") | |
|
581 | 586 | MainWindow.setMenuBar(self.menubar) |
|
582 | 587 | self.statusbar = QtGui.QStatusBar(MainWindow) |
|
583 | 588 | self.statusbar.setObjectName("statusbar") |
|
584 | 589 | MainWindow.setStatusBar(self.statusbar) |
|
585 | 590 | self.actionChange_Parameters = QtGui.QAction(MainWindow) |
|
586 |
self.actionChange_Parameters.setEnabled( |
|
|
591 | self.actionChange_Parameters.setEnabled(False) | |
|
587 | 592 | self.actionChange_Parameters.setObjectName("actionChange_Parameters") |
|
588 | 593 | self.actionQuit = QtGui.QAction(MainWindow) |
|
589 | 594 | self.actionQuit.setObjectName("actionQuit") |
|
590 | 595 | self.actionAbout = QtGui.QAction(MainWindow) |
|
591 | 596 | self.actionAbout.setObjectName("actionAbout") |
|
592 | self.menuParameters.addAction(self.actionChange_Parameters) | |
|
593 | 597 | self.menuFile.addAction(self.actionQuit) |
|
594 | 598 | self.menuHelp.addAction(self.actionAbout) |
|
599 | self.menuParameters.addAction(self.actionChange_Parameters) | |
|
595 | 600 | self.menubar.addAction(self.menuFile.menuAction()) |
|
596 | 601 | self.menubar.addAction(self.menuParameters.menuAction()) |
|
597 | 602 | self.menubar.addAction(self.menuHelp.menuAction()) |
@@ -683,12 +688,12 | |||
|
683 | 688 | self.btnRestart.setText(QtGui.QApplication.translate("MainWindow", "Restart", None, QtGui.QApplication.UnicodeUTF8)) |
|
684 | 689 | self.btnStartburn.setText(QtGui.QApplication.translate("MainWindow", "Start Burn", None, QtGui.QApplication.UnicodeUTF8)) |
|
685 | 690 | self.btnStopburn.setText(QtGui.QApplication.translate("MainWindow", "Stop Burn", None, QtGui.QApplication.UnicodeUTF8)) |
|
686 | self.menuParameters.setTitle(QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) | |
|
687 | 691 | self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) |
|
688 | 692 | self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) |
|
693 | self.menuParameters.setTitle(QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) | |
|
689 | 694 | self.actionChange_Parameters.setText(QtGui.QApplication.translate("MainWindow", "Change Parameters", None, QtGui.QApplication.UnicodeUTF8)) |
|
690 | 695 | self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8)) |
|
691 |
self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About |
|
|
696 | self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) | |
|
692 | 697 | |
|
693 | 698 | |
|
694 | 699 | if __name__ == "__main__": |
General Comments 0
You need to be logged in to leave comments.
Login now