##// END OF EJS Templates
about2 parameters2
ralonso -
r66:67
parent child
Show More
@@ -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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
42 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
43 p, li { white-space: pre-wrap; }
44 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
45 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;JRO BACKUP MANAGER&lt;/span&gt;&lt;/p&gt;
46 &lt;p align=&quot;center&quot; style=&quot;-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;&quot;&gt;&lt;/p&gt;
47 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Author:&lt;/span&gt;&lt;/p&gt;
48 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Ricardo Farino Alonso RondΓ³n&lt;/span&gt;&lt;/p&gt;
49 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;ricardo.alonso@jro.igp.gob.pe&lt;/span&gt;&lt;/p&gt;
50 &lt;p align=&quot;center&quot; style=&quot;-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;&quot;&gt;&lt;/p&gt;
51 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Jicamarca Radio Observatory&lt;/span&gt;&lt;/p&gt;
52 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Jicamarca - May 2010&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
42 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
43 p, li { white-space: pre-wrap; }
44 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
45 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;JRO BACKUP MANAGER&lt;/span&gt;&lt;/p&gt;
46 &lt;p align=&quot;center&quot; style=&quot;-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;&quot;&gt;&lt;/p&gt;
47 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Author:&lt;/span&gt;&lt;/p&gt;
48 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Ricardo Farino Alonso RondΓ³n&lt;/span&gt;&lt;/p&gt;
49 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;ricardo.alonso@jro.igp.gob.pe&lt;/span&gt;&lt;/p&gt;
50 &lt;p align=&quot;center&quot; style=&quot;-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;&quot;&gt;&lt;/p&gt;
51 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Jicamarca Radio Observatory&lt;/span&gt;&lt;/p&gt;
52 &lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Jicamarca - May 2010&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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,165 +1,169
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-23, 21:14:20 -->
4 <!-- Saved: 2010-05-24, 08:55:25 -->
5 5 <!-- Copyright (C) 2010 , -->
6 6 <Project version="4.6">
7 7 <Language>en</Language>
8 8 <ProgLanguage mixed="0">Python</ProgLanguage>
9 9 <ProjectType>Qt4</ProjectType>
10 10 <Description></Description>
11 11 <Version>0.1</Version>
12 12 <Author></Author>
13 13 <Email></Email>
14 14 <Sources>
15 15 <Source>__init__.py</Source>
16 16 <Source>ui/Ui_MainWindow.py</Source>
17 17 <Source>ui/MainWindow.py</Source>
18 18 <Source>main.py</Source>
19 19 <Source>ui/__init__.py</Source>
20 20 <Source>functions/__init__.py</Source>
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>
34 38 <Resources>
35 39 </Resources>
36 40 <Interfaces>
37 41 </Interfaces>
38 42 <Others>
39 43 </Others>
40 44 <MainScript>main.py</MainScript>
41 45 <Vcs>
42 46 <VcsType>Subversion</VcsType>
43 47 <VcsOptions>
44 48 <dict>
45 49 <key>
46 50 <string>add</string>
47 51 </key>
48 52 <value>
49 53 <list>
50 54 <string></string>
51 55 </list>
52 56 </value>
53 57 <key>
54 58 <string>checkout</string>
55 59 </key>
56 60 <value>
57 61 <list>
58 62 <string></string>
59 63 </list>
60 64 </value>
61 65 <key>
62 66 <string>commit</string>
63 67 </key>
64 68 <value>
65 69 <list>
66 70 <string></string>
67 71 </list>
68 72 </value>
69 73 <key>
70 74 <string>diff</string>
71 75 </key>
72 76 <value>
73 77 <list>
74 78 <string></string>
75 79 </list>
76 80 </value>
77 81 <key>
78 82 <string>export</string>
79 83 </key>
80 84 <value>
81 85 <list>
82 86 <string></string>
83 87 </list>
84 88 </value>
85 89 <key>
86 90 <string>global</string>
87 91 </key>
88 92 <value>
89 93 <list>
90 94 <string></string>
91 95 </list>
92 96 </value>
93 97 <key>
94 98 <string>history</string>
95 99 </key>
96 100 <value>
97 101 <list>
98 102 <string></string>
99 103 </list>
100 104 </value>
101 105 <key>
102 106 <string>log</string>
103 107 </key>
104 108 <value>
105 109 <list>
106 110 <string></string>
107 111 </list>
108 112 </value>
109 113 <key>
110 114 <string>remove</string>
111 115 </key>
112 116 <value>
113 117 <list>
114 118 <string></string>
115 119 </list>
116 120 </value>
117 121 <key>
118 122 <string>status</string>
119 123 </key>
120 124 <value>
121 125 <list>
122 126 <string></string>
123 127 </list>
124 128 </value>
125 129 <key>
126 130 <string>tag</string>
127 131 </key>
128 132 <value>
129 133 <list>
130 134 <string></string>
131 135 </list>
132 136 </value>
133 137 <key>
134 138 <string>update</string>
135 139 </key>
136 140 <value>
137 141 <list>
138 142 <string></string>
139 143 </list>
140 144 </value>
141 145 </dict>
142 146 </VcsOptions>
143 147 <VcsOtherData>
144 148 <dict>
145 149 <key>
146 150 <string>standardLayout</string>
147 151 </key>
148 152 <value>
149 153 <bool>True</bool>
150 154 </value>
151 155 </dict>
152 156 </VcsOtherData>
153 157 </Vcs>
154 158 <FiletypeAssociations>
155 159 <FiletypeAssociation pattern="*.ui" type="FORMS" />
156 160 <FiletypeAssociation pattern="*.idl" type="INTERFACES" />
157 161 <FiletypeAssociation pattern="*.qm" type="TRANSLATIONS" />
158 162 <FiletypeAssociation pattern="*.ptl" type="SOURCES" />
159 163 <FiletypeAssociation pattern="*.pyw" type="SOURCES" />
160 164 <FiletypeAssociation pattern="*.ui.h" type="FORMS" />
161 165 <FiletypeAssociation pattern="*.ts" type="TRANSLATIONS" />
162 166 <FiletypeAssociation pattern="*.py" type="SOURCES" />
163 167 <FiletypeAssociation pattern="*.qrc" type="RESOURCES" />
164 168 </FiletypeAssociations>
165 169 </Project> No newline at end of file
@@ -1,465 +1,467
1 1 # -*- coding: utf-8 -*-
2 2
3 3 """
4 4 Module implementing MainWindow.
5 5 """
6 6
7 7 from PyQt4.QtGui import QMainWindow
8 8 from PyQt4.QtCore import pyqtSignature
9 9 from PyQt4 import QtCore
10 10 from Ui_MainWindow import Ui_MainWindow
11 11 from Ui_Parameters import Ui_Parameters
12 12 from Ui_About import Ui_About
13 13 from PyQt4 import QtGui
14 14 from subprocess import *
15 15 import sys
16 16 import os
17 17 #import subprocess
18 18 import commands
19 19 from functions import functions
20 20 from functions import functions2
21 21
22 22 class MainWindow(QMainWindow, Ui_MainWindow):
23 23 """
24 24 Class documentation goes here.
25 25 """
26 26
27 27 def __init__(self, parent = None):
28 28 QMainWindow.__init__(self, parent)
29 29 self.setupUi(self)
30 30
31 31 self.setupUi2()
32 32 #sys.stdout = self #redirige salida estandar
33 33
34 34 def setupUi2(self):
35 35
36 36 # functions2.detect_devices(self) #busca los dispositivos de grabacion
37 37
38 38 self.var_Discs = 0 #Numero de discos del proyecto
39 39 self.var_Copys = 0 #Numero de copias
40 40 self.var_disc_n = 0
41 41 self.var_copy_n = 0
42 42
43 43 self.var_list=[]
44 44 self.var_sublist=[]
45 45
46 46 self.var_devices=[]
47 47
48 48 self.var_step = 0
49 49 self.bool_state_burning = False
50 50 self.blank_discs = False
51 51
52 52
53 53 #Revisa si existe el archivo de confirguracion
54 54 if os.path.isfile("parameters.conf"):
55 55 self.txtInfo.append("Parameters were loaded from configuration file")
56 56 functions2.get_parameters_conf(self)
57 57 self.txtInfo.append("El proyecto es de "+str(self.var_Discs)+" discos")
58 58 else:
59 59 self.txtInfo.append("Elija los parametros de configuracion")
60 60 functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas
61 61
62 62 functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados
63 63
64 64 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
65 65 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
66 66 functions.load_days(self)
67 67
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
75 74 self.var_process = QtCore.QProcess()
76 75 self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput)
77 76 self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardError()'), self.readError)
78 77 self.connect(self.var_process, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished)
79 78
80 79
81 80 def write(self, txt):
82 81 self.txtInfo.append(str(txt))
83 82
84 83 def changeParameters(self):
85 84 dlg=QtGui.QDialog()
86 85 dlgui=Ui_Parameters()
87 86 dlgui.setupUi(dlg)
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):
96 98 dlg_about=QtGui.QDialog()
97 99 dlgui_about=Ui_About()
98 100 dlgui_about.setupUi(dlg_about)
99 101 dlg_about.exec_()
100 102
101 103 #----------------------------------------------------- Funciones del proceso ---------------------------------------------------------------
102 104
103 105 def readOuput(self):
104 106 self.txtInfo.insertPlainText("stdout: " + QtCore.QString(self.var_process.readAllStandardOutput()))
105 107
106 108 def readError(self):
107 109 self.txtInfo.setText("stderr: " + QtCore.QString(self.var_process.readAllStandardError()))
108 110
109 111 def finished(self):
110 112 self.txtInfo.append("proceso terminado finished() "+QtCore.QString(self.var_process.exitCode())+"\n")
111 113 if self.var_disc_n <= self.var_Discs and self.bool_state_burning:
112 114 self.burning()
113 115
114 116
115 117 #----------------------------------------------------- Obtencion de la ruta de los datos ---------------------------------------------------------------
116 118
117 119 @pyqtSignature("")
118 120 def on_btnDpath_clicked(self):
119 121 """
120 122 Permite seleccionar graficamente el direcorio de los datos a grabar
121 123 """
122 124 self.var_Dpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
123 125 self.txtDpath.setText(self.var_Dpath)
124 126 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
125 127 functions.load_days(self)
126 128
127 129
128 130 @pyqtSignature("")
129 131 def on_txtDpath_editingFinished(self):
130 132 """
131 133 Carga la ruta editada y verifica que sea correcta y carga la lista de dias
132 134 """
133 135 self.var_Dpath=str(self.txtDpath.text()) #Se carga la variable con la ruta recien editada
134 136 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
135 137 functions.load_days(self)
136 138
137 139
138 140 #----------------------------------------------------- Obtencion de las ruta del proyecto ---------------------------------------------------------------
139 141
140 142 @pyqtSignature("")
141 143 def on_btnRpath_clicked(self):
142 144 """
143 145 Permite seleccionar graficamente el direcorio del proyecto
144 146 """
145 147 self.var_Rpath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
146 148 self.txtRpath.setText(self.var_Rpath)
147 149 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
148 150
149 151
150 152 @pyqtSignature("")
151 153 def on_txtRpath_editingFinished(self):
152 154 """
153 155 Valida la ruta del proyecto
154 156 """
155 157 self.var_Rpath = str(self.txtRpath.text()) #Se carga la variable con la ruta recien editada
156 158 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
157 159
158 160
159 161 #----------------------------------------------------- Tipo de datos ---------------------------------------------------------------
160 162
161 163 @pyqtSignature("int")
162 164 def on_lstDtype_activated(self, index):
163 165 """
164 166 Permite elegir entre los tipos de archivos
165 167 """
166 168 self.txtDtype.setReadOnly(True)
167 169 if index == 0:
168 170 self.var_Dtype ='r'
169 171 elif index == 1:
170 172 self.var_Dtype ='pdata'
171 173 elif index == 2:
172 174 self.var_Dtype ='sswma'
173 175 else :
174 176 self.var_Dtype =''
175 177 self.txtDtype.setReadOnly(False)
176 178
177 179 self.txtDtype.setText(self.var_Dtype)
178 180 functions.load_days(self) #llamada a funcion
179 181
180 182 @pyqtSignature("")
181 183 def on_txtDtype_editingFinished(self):
182 184 self.var_Dtype=str(self.txtDtype.text())
183 185 functions.load_days(self) #llamada a funcion
184 186
185 187
186 188 #----------------------------------------------------- Etiqueta ---------------------------------------------------------------
187 189
188 190 @pyqtSignature("")
189 191 def on_txtElabel_editingFinished(self):
190 192 self.var_Elabel = str(self.txtElabel.text())
191 193
192 194 #----------------------------------------------------- Numero de copias ---------------------------------------------------------------
193 195 @pyqtSignature("")
194 196 def on_txtCopys_editingFinished(self):
195 197 self.var_Copys = self.txtCopys.value()
196 198
197 199 #----------------------------------------------------- Seleccion del rango de fechas ---------------------------------------------------------------
198 200
199 201 @pyqtSignature("int") #CLOSED
200 202 def on_lstStartDay_activated(self, index):
201 203 """
202 204 Cambia la lista de opciones en lstStopDay
203 205 """
204 206 var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex()
205 207 self.lstStopDay.clear()
206 208
207 209 for i in self.var_list[index:]:
208 210 self.lstStopDay.addItem(i)
209 211
210 212 self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index)
211 213
212 214 functions.get_sub_list(self)
213 215
214 216
215 217 @pyqtSignature("int") #CLOSED
216 218 def on_lstStopDay_activated(self, index):
217 219 """
218 220 Cambia la lista de opciones en lstStartDay
219 221 """
220 222 var_StartDay_index=self.lstStartDay.currentIndex()
221 223 var_end_index = self.lstStopDay.count() - index
222 224 self.lstStartDay.clear()
223 225
224 226 for i in self.var_list[:len(self.var_list) - var_end_index + 1]:
225 227 self.lstStartDay.addItem(i)
226 228
227 229 self.lstStartDay.setCurrentIndex(var_StartDay_index)
228 230
229 231 functions.get_sub_list(self)
230 232
231 233
232 234 #----------------------------------------------------- Capacidad del dispositivo de grabacion ---------------------------------------------------------------
233 235
234 236 @pyqtSignature("")
235 237 def on_txtDcapacity_editingFinished(self):
236 238 self.var_Dcapacity = self.txtDcapacity.value()
237 239
238 240
239 241 @pyqtSignature("int") #CLOSED
240 242 def on_lstDcapacity_activated(self, index):
241 243 """
242 244 Permite elegir el tamaΓ±o del disco
243 245 """
244 246 if index == 0:
245 247 var_size=25.0
246 248 elif index == 1:
247 249 var_size=8.5
248 250 elif index == 2:
249 251 var_size=4.7
250 252 elif index == 3:
251 253 var_size=0.7
252 254
253 255 if index != 4:
254 256 self.txtDcapacity.setValue(var_size*10**9/1024**2)
255 257 self.txtDcapacity.setReadOnly(True)
256 258 else:
257 259 self.txtDcapacity.setValue(100.0)
258 260 self.txtDcapacity.setReadOnly(False)
259 261
260 262 self.var_lstDcapacity = self.lstDcapacity.currentIndex()
261 263 self.var_Dcapacity = self.txtDcapacity.value()
262 264
263 265
264 266 #==============================================================================
265 267 # Botones para la generacion de los archivos de configuracion y el proceso de grabacion
266 268 #==============================================================================
267 269
268 270 #----------------------------------------------------- Generacion de la configuracion usando los parametros ---------------------------------------------------------------
269 271
270 272 @pyqtSignature("")
271 273 def on_btnGbkp_clicked(self):
272 274 """
273 275 Generacion de archivos de configuracion usando los parametros
274 276 """
275 277
276 278 if functions.validate_parameters(self) == False:
277 279 return
278 280
279 281 #Crea las carpetas en la ruta del proyecto y verifica que se crearon correctamente
280 282 list_dirs=['gpath','iso','ppath', 'tmpdata']
281 283 bool_make_dirs = functions.make_dirs(list_dirs, self)
282 284 if bool_make_dirs == False:
283 285 return
284 286
285 287 var_files_list = functions.list_files(self) #Se obtiene la lista de archivos a grabar
286 288
287 289 self.var_Discs = functions.make_files_dat(var_files_list, self) #Se crean los archivos .dat
288 290
289 291 functions.make_files_print(self) # Se crean los archivos .print
290 292
291 293 functions2.make_parameters_conf(self) # se crea el archivo parameters.conf
292 294
293 295 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys))
294 296
295 297 #Se bloquean los parametros de configuracion
296 298 functions2.enabled_items1(True, self)
297 299
298 300
299 301
300 302 #----------------------------------------------------- Permite reiniciar la configuracion ---------------------------------------------------------------
301 303
302 304 @pyqtSignature("")
303 305 def on_btnRestart_clicked(self):
304 306 """
305 307 Permite que se puedan cambiar los parametros
306 308 """
307 309 functions2.enabled_items1(False, self)
308 310 os.remove("parameters.conf")
309 311
310 312
311 313 #----------------------------------------------------- Iniciar proceso de grabacion ---------------------------------------------------------------
312 314
313 315 @pyqtSignature("")
314 316 def on_btnStartburn_clicked(self):
315 317 """
316 318 Se inicia el proceso de grabacion
317 319 """
318 320
319 321 if self.blank_discs == True:
320 322 self.btnStartburn.setEnabled(False)
321 323 self.burning()
322 324 return
323 325
324 326 #Verifica que exista algun dispositivo de grabacion seleccionado
325 327 if not(functions2.selected_devices(self)):
326 328 self.txtInfo.append("There is no recording device selected")
327 329 return
328 330
329 331 #Lista los dispositivos de grabacion a usar
330 332 for dev in self.var_devices:
331 333 self.txtInfo.append("recording device :"+dev)
332 334
333 335 #Asigna las variables con los valores iniciales
334 336 self.var_disc_n = 0 # numero de disco actual para grabacion
335 337 self.var_copy_n = 0
336 338 self.var_step = 0
337 339 self.bool_state_burning = True
338 340 self.blank_discs = False
339 341
340 342 functions2.enabled_items2(True, self)
341 343 self.burning()
342 344
343 345 def burning(self):
344 346
345 347 var_Rpath_ppath=self.var_Rpath+"/ppath"
346 348 var_Rpath_iso=self.var_Rpath+"/iso"
347 349
348 350 #Creacion del archivo.iso para la grabacion
349 351 if self.var_step == 0:
350 352 #borra la imagen.iso del numero de disco anterior
351 353 if self.var_disc_n > 0:
352 354 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
353 355 # os.remove(file_iso)
354 356
355 357 self.var_disc_n += 1 # aumenta numero de disco actual para grabacion
356 358 self.var_copy_n = 0 # Resetea el numero actual de la copia
357 359
358 360 #Si ya se grabaron todos los discos
359 361 if self.var_disc_n > self.var_Discs:
360 362 self.bool_state_burning = False
361 363 self.txtInfo.append("Recording process is complete")
362 364 # functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion
363 365
364 366 return
365 367
366 368 self.txtInfo.append("########## DISCO NUMERO: "+str(self.var_disc_n)+"##########")
367 369 self.txtInfo.append("--------Creando el iso del disco numero: "+str(self.var_disc_n))
368 370
369 371 #comando para la creacion del archivo.iso
370 372 file_dat=var_Rpath_ppath+"/"+self.var_Elabel+"_"+functions.i2s(self.var_disc_n)+".dat"
371 373 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
372 374 var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r '
373 375 var_cmd += ' -A '+self.var_Elabel+' -V '+self.var_Elabel
374 376 var_cmd += ' -graft-points -path-list '+ file_dat+' -o '+file_iso
375 377 self.var_step = 1 #Se ira al paso de la grabacion en la siguiente llamada
376 378
377 379 #Grabacion de los DVDs
378 380 elif self.var_step == 1:
379 381 self.var_copy_n += 1 # numero de copia actual
380 382 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) ) % len(self.var_devices)
381 383
382 384 if var_index == 0 and self.blank_discs == False:
383 385 self.txtInfo.append("EXPULSANDO BANDEJAS")
384 386 self.var_copy_n -= 1 #El numero de copia se regresa al estado anterior
385 387 # functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion
386 388 self.blank_discs = True
387 389 self.btnStartburn.setText("Continue")
388 390 self.btnStartburn.setEnabled(True)
389 391 return
390 392
391 393 self.blank_discs = False
392 394
393 395 self.txtInfo.append("Grabando la copia numero: "+str(self.var_copy_n))
394 396 #Si esta es la ultima copia se pasara al siguiente disco en la siguiente llamada a la funcion
395 397 if self.var_copy_n == self.var_Copys:
396 398 self.var_step = 0
397 399
398 400 var_dev_tmp = self.var_devices[var_index]
399 401 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
400 402 var_cmd = "wodim -v dev="+var_dev_tmp+" speed=16 "+ file_iso
401 403
402 404 self.var_process.start('ls')
403 405 self.txtInfo.append("CMD: "+var_cmd)
404 406
405 407 # self.txtInfo.append("creando iso")
406 408 # self.var_process.start(var_cmd)
407 409
408 410
409 411 #----------------------------------------------------- Detener proceso de grabacion ---------------------------------------------------------------
410 412
411 413 @pyqtSignature("")
412 414 def on_btnStopburn_clicked(self):
413 415 """
414 416 Slot documentation goes here.
415 417 """
416 418 self.bool_state_burning = False
417 419 self.var_process.terminate() #Termina el proceso, si puede
418 420 # self.var_process.kill() #Mata el proceso, no es la forma adecuada, solo usar si terminate() no funciona
419 421 self.txtInfo.append("Stopped recording")
420 422 functions2.enabled_items2(False, self)
421 423 self.btnStartburn.setText("Start Burn")
422 424
423 425
424 426 #----------------------------------------------------- Testeo de las unidades de grabacion ---------------------------------------------------------------
425 427
426 428 @pyqtSignature("")
427 429 def on_btnTdevA_clicked(self):
428 430 var_dev = str(self.txtDeviceA.text())
429 431 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
430 432 commands.getstatusoutput(var_cmd)
431 433
432 434 @pyqtSignature("")
433 435 def on_btnTdevB_clicked(self):
434 436 var_dev = str(self.txtDeviceB.text())
435 437 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
436 438 commands.getstatusoutput(var_cmd)
437 439
438 440 @pyqtSignature("")
439 441 def on_btnTdevC_clicked(self):
440 442 var_dev = str(self.txtDeviceC.text())
441 443 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
442 444 commands.getstatusoutput(var_cmd)
443 445
444 446 @pyqtSignature("")
445 447 def on_btnTdevD_clicked(self):
446 448 var_dev = str(self.txtDeviceD.text())
447 449 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
448 450 commands.getstatusoutput(var_cmd)
449 451
450 452 @pyqtSignature("")
451 453 def on_btnTDpath_clicked(self):
452 454 """
453 455 Slot documentation goes here.
454 456 """
455 457 self.var_TDpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
456 458 self.txtTDpath.setText(self.var_TDpath)
457 459 self.statusTDpath = functions.dir_exists(self.var_TDpath, self)
458 460
459 461
460 462 @pyqtSignature("")
461 463 def on_btnCHstart_clicked(self):
462 464 """
463 465 Slot documentation goes here.
464 466 """
465 467 pass
@@ -1,1458 +1,1458
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <ui version="4.0">
3 3 <class>MainWindow</class>
4 4 <widget class="QMainWindow" name="MainWindow">
5 5 <property name="geometry">
6 6 <rect>
7 7 <x>0</x>
8 8 <y>0</y>
9 <width>613</width>
9 <width>824</width>
10 10 <height>717</height>
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14 14 <string>JRO BACKUP MANAGER</string>
15 15 </property>
16 16 <widget class="QWidget" name="centralwidget">
17 17 <layout class="QVBoxLayout" name="verticalLayout">
18 18 <item>
19 19 <widget class="QTabWidget" name="tabWidget">
20 20 <property name="enabled">
21 21 <bool>true</bool>
22 22 </property>
23 23 <property name="sizePolicy">
24 24 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
25 25 <horstretch>0</horstretch>
26 26 <verstretch>0</verstretch>
27 27 </sizepolicy>
28 28 </property>
29 29 <property name="currentIndex">
30 30 <number>0</number>
31 31 </property>
32 32 <widget class="QWidget" name="tabParameters">
33 33 <property name="enabled">
34 34 <bool>true</bool>
35 35 </property>
36 36 <attribute name="title">
37 37 <string>Parameters</string>
38 38 </attribute>
39 39 <layout class="QVBoxLayout" name="verticalLayout_2">
40 40 <item>
41 41 <layout class="QHBoxLayout" name="horizontalLayout">
42 42 <property name="sizeConstraint">
43 43 <enum>QLayout::SetDefaultConstraint</enum>
44 44 </property>
45 45 <item>
46 46 <widget class="QLineEdit" name="txtDpath">
47 47 <property name="sizePolicy">
48 48 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
49 49 <horstretch>0</horstretch>
50 50 <verstretch>0</verstretch>
51 51 </sizepolicy>
52 52 </property>
53 53 </widget>
54 54 </item>
55 55 <item>
56 56 <widget class="QPushButton" name="btnDpath">
57 57 <property name="sizePolicy">
58 58 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
59 59 <horstretch>0</horstretch>
60 60 <verstretch>0</verstretch>
61 61 </sizepolicy>
62 62 </property>
63 63 <property name="text">
64 64 <string>Data Path</string>
65 65 </property>
66 66 <property name="checkable">
67 67 <bool>false</bool>
68 68 </property>
69 69 </widget>
70 70 </item>
71 71 </layout>
72 72 </item>
73 73 <item>
74 74 <layout class="QHBoxLayout" name="horizontalLayout_3">
75 75 <item>
76 76 <widget class="QLineEdit" name="txtRpath"/>
77 77 </item>
78 78 <item>
79 79 <widget class="QPushButton" name="btnRpath">
80 80 <property name="text">
81 81 <string>Resource Path</string>
82 82 </property>
83 83 </widget>
84 84 </item>
85 85 </layout>
86 86 </item>
87 87 <item>
88 88 <widget class="QLabel" name="lblDtype">
89 89 <property name="text">
90 90 <string>Data Type</string>
91 91 </property>
92 92 </widget>
93 93 </item>
94 94 <item>
95 95 <layout class="QHBoxLayout" name="horizontalLayout_4">
96 96 <item>
97 97 <widget class="QComboBox" name="lstDtype">
98 98 <item>
99 99 <property name="text">
100 100 <string>Raw Data</string>
101 101 </property>
102 102 </item>
103 103 <item>
104 104 <property name="text">
105 105 <string>Process Data</string>
106 106 </property>
107 107 </item>
108 108 <item>
109 109 <property name="text">
110 110 <string>BLTR Data</string>
111 111 </property>
112 112 </item>
113 113 <item>
114 114 <property name="text">
115 115 <string>Other</string>
116 116 </property>
117 117 </item>
118 118 </widget>
119 119 </item>
120 120 <item>
121 121 <widget class="QLineEdit" name="txtDtype">
122 122 <property name="sizePolicy">
123 123 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
124 124 <horstretch>0</horstretch>
125 125 <verstretch>0</verstretch>
126 126 </sizepolicy>
127 127 </property>
128 128 <property name="text">
129 129 <string>r</string>
130 130 </property>
131 131 <property name="readOnly">
132 132 <bool>true</bool>
133 133 </property>
134 134 </widget>
135 135 </item>
136 136 <item>
137 137 <spacer name="horizontalSpacer">
138 138 <property name="orientation">
139 139 <enum>Qt::Horizontal</enum>
140 140 </property>
141 141 <property name="sizeType">
142 142 <enum>QSizePolicy::Expanding</enum>
143 143 </property>
144 144 <property name="sizeHint" stdset="0">
145 145 <size>
146 146 <width>40</width>
147 147 <height>20</height>
148 148 </size>
149 149 </property>
150 150 </spacer>
151 151 </item>
152 152 </layout>
153 153 </item>
154 154 <item>
155 155 <layout class="QHBoxLayout" name="horizontalLayout_6">
156 156 <item>
157 157 <widget class="QLabel" name="lblElabel">
158 158 <property name="text">
159 159 <string>Exp. Label at device</string>
160 160 </property>
161 161 </widget>
162 162 </item>
163 163 <item>
164 164 <widget class="QLabel" name="lblCopys">
165 165 <property name="text">
166 166 <string>Copys</string>
167 167 </property>
168 168 </widget>
169 169 </item>
170 170 </layout>
171 171 </item>
172 172 <item>
173 173 <layout class="QHBoxLayout" name="horizontalLayout_5">
174 174 <item>
175 175 <widget class="QLineEdit" name="txtElabel"/>
176 176 </item>
177 177 <item>
178 178 <widget class="QSpinBox" name="txtCopys">
179 179 <property name="sizePolicy">
180 180 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
181 181 <horstretch>0</horstretch>
182 182 <verstretch>0</verstretch>
183 183 </sizepolicy>
184 184 </property>
185 185 <property name="minimum">
186 186 <number>1</number>
187 187 </property>
188 188 </widget>
189 189 </item>
190 190 </layout>
191 191 </item>
192 192 <item>
193 193 <layout class="QHBoxLayout" name="horizontalLayout_7">
194 194 <item>
195 195 <widget class="QLabel" name="lblStartDay">
196 196 <property name="text">
197 197 <string>Start Day:</string>
198 198 </property>
199 199 </widget>
200 200 </item>
201 201 <item>
202 202 <widget class="QLabel" name="lblStopDay">
203 203 <property name="text">
204 204 <string>Stop Day:</string>
205 205 </property>
206 206 </widget>
207 207 </item>
208 208 </layout>
209 209 </item>
210 210 <item>
211 211 <layout class="QHBoxLayout" name="horizontalLayout_8">
212 212 <item>
213 213 <widget class="QComboBox" name="lstStartDay"/>
214 214 </item>
215 215 <item>
216 216 <widget class="QComboBox" name="lstStopDay"/>
217 217 </item>
218 218 </layout>
219 219 </item>
220 220 </layout>
221 221 </widget>
222 222 <widget class="QWidget" name="tabDconfig">
223 223 <property name="enabled">
224 224 <bool>true</bool>
225 225 </property>
226 226 <property name="sizePolicy">
227 227 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
228 228 <horstretch>0</horstretch>
229 229 <verstretch>0</verstretch>
230 230 </sizepolicy>
231 231 </property>
232 232 <attribute name="title">
233 233 <string>Device Config.</string>
234 234 </attribute>
235 235 <layout class="QVBoxLayout" name="verticalLayout_3">
236 236 <item>
237 237 <layout class="QHBoxLayout" name="horizontalLayout_12">
238 238 <item>
239 239 <layout class="QVBoxLayout" name="verticalLayout_15">
240 240 <item>
241 241 <widget class="QCheckBox" name="chkDevA">
242 242 <property name="text">
243 243 <string>Dev A</string>
244 244 </property>
245 245 <property name="checked">
246 246 <bool>true</bool>
247 247 </property>
248 248 </widget>
249 249 </item>
250 250 <item>
251 251 <widget class="QWidget" name="grpDevA" native="true">
252 252 <layout class="QVBoxLayout" name="verticalLayout_11">
253 253 <item>
254 254 <widget class="QLineEdit" name="txtDeviceA">
255 255 <property name="readOnly">
256 256 <bool>true</bool>
257 257 </property>
258 258 </widget>
259 259 </item>
260 260 <item>
261 261 <widget class="QSpinBox" name="txtBspeedA">
262 262 <property name="minimum">
263 263 <number>1</number>
264 264 </property>
265 265 <property name="value">
266 266 <number>16</number>
267 267 </property>
268 268 </widget>
269 269 </item>
270 270 <item>
271 271 <widget class="QLineEdit" name="txtBmodeA">
272 272 <property name="text">
273 273 <string>-sao</string>
274 274 </property>
275 275 <property name="readOnly">
276 276 <bool>true</bool>
277 277 </property>
278 278 </widget>
279 279 </item>
280 280 <item>
281 281 <widget class="QPushButton" name="btnTdevA">
282 282 <property name="text">
283 283 <string>Test DevA</string>
284 284 </property>
285 285 </widget>
286 286 </item>
287 287 </layout>
288 288 </widget>
289 289 </item>
290 290 </layout>
291 291 </item>
292 292 <item>
293 293 <layout class="QVBoxLayout" name="verticalLayout_16">
294 294 <item>
295 295 <widget class="QCheckBox" name="chkDevB">
296 296 <property name="text">
297 297 <string>Dev B</string>
298 298 </property>
299 299 <property name="checked">
300 300 <bool>true</bool>
301 301 </property>
302 302 </widget>
303 303 </item>
304 304 <item>
305 305 <widget class="QWidget" name="grpDevB" native="true">
306 306 <layout class="QVBoxLayout" name="verticalLayout_12">
307 307 <item>
308 308 <widget class="QLineEdit" name="txtDeviceB">
309 309 <property name="readOnly">
310 310 <bool>true</bool>
311 311 </property>
312 312 </widget>
313 313 </item>
314 314 <item>
315 315 <widget class="QSpinBox" name="txtBspeedB">
316 316 <property name="minimum">
317 317 <number>1</number>
318 318 </property>
319 319 <property name="value">
320 320 <number>16</number>
321 321 </property>
322 322 </widget>
323 323 </item>
324 324 <item>
325 325 <widget class="QLineEdit" name="txtBmodeB">
326 326 <property name="text">
327 327 <string>-sao</string>
328 328 </property>
329 329 <property name="readOnly">
330 330 <bool>true</bool>
331 331 </property>
332 332 </widget>
333 333 </item>
334 334 <item>
335 335 <widget class="QPushButton" name="btnTdevB">
336 336 <property name="text">
337 337 <string>Test DevB</string>
338 338 </property>
339 339 </widget>
340 340 </item>
341 341 </layout>
342 342 </widget>
343 343 </item>
344 344 </layout>
345 345 </item>
346 346 <item>
347 347 <layout class="QVBoxLayout" name="verticalLayout_17">
348 348 <item>
349 349 <widget class="QCheckBox" name="chkDevC">
350 350 <property name="text">
351 351 <string>Dev C</string>
352 352 </property>
353 353 <property name="checked">
354 354 <bool>true</bool>
355 355 </property>
356 356 </widget>
357 357 </item>
358 358 <item>
359 359 <widget class="QWidget" name="grpDevC" native="true">
360 360 <layout class="QVBoxLayout" name="verticalLayout_13">
361 361 <item>
362 362 <widget class="QLineEdit" name="txtDeviceC">
363 363 <property name="readOnly">
364 364 <bool>true</bool>
365 365 </property>
366 366 </widget>
367 367 </item>
368 368 <item>
369 369 <widget class="QSpinBox" name="txtBspeedC">
370 370 <property name="minimum">
371 371 <number>1</number>
372 372 </property>
373 373 <property name="value">
374 374 <number>16</number>
375 375 </property>
376 376 </widget>
377 377 </item>
378 378 <item>
379 379 <widget class="QLineEdit" name="txtBmodeC">
380 380 <property name="text">
381 381 <string>-sao</string>
382 382 </property>
383 383 <property name="readOnly">
384 384 <bool>true</bool>
385 385 </property>
386 386 </widget>
387 387 </item>
388 388 <item>
389 389 <widget class="QPushButton" name="btnTdevC">
390 390 <property name="text">
391 391 <string>Test DevC</string>
392 392 </property>
393 393 </widget>
394 394 </item>
395 395 </layout>
396 396 </widget>
397 397 </item>
398 398 </layout>
399 399 </item>
400 400 <item>
401 401 <layout class="QVBoxLayout" name="verticalLayout_18">
402 402 <item>
403 403 <widget class="QCheckBox" name="chkDevD">
404 404 <property name="text">
405 405 <string>Dev D</string>
406 406 </property>
407 407 <property name="checked">
408 408 <bool>true</bool>
409 409 </property>
410 410 </widget>
411 411 </item>
412 412 <item>
413 413 <widget class="QWidget" name="grpDevD" native="true">
414 414 <layout class="QVBoxLayout" name="verticalLayout_14">
415 415 <item>
416 416 <widget class="QLineEdit" name="txtDeviceD">
417 417 <property name="readOnly">
418 418 <bool>true</bool>
419 419 </property>
420 420 </widget>
421 421 </item>
422 422 <item>
423 423 <widget class="QSpinBox" name="txtBspeedD">
424 424 <property name="minimum">
425 425 <number>1</number>
426 426 </property>
427 427 <property name="value">
428 428 <number>16</number>
429 429 </property>
430 430 </widget>
431 431 </item>
432 432 <item>
433 433 <widget class="QLineEdit" name="txtBmodeD">
434 434 <property name="text">
435 435 <string>-sao</string>
436 436 </property>
437 437 <property name="readOnly">
438 438 <bool>true</bool>
439 439 </property>
440 440 </widget>
441 441 </item>
442 442 <item>
443 443 <widget class="QPushButton" name="btnTdevD">
444 444 <property name="text">
445 445 <string>Test DevD</string>
446 446 </property>
447 447 </widget>
448 448 </item>
449 449 </layout>
450 450 </widget>
451 451 </item>
452 452 </layout>
453 453 </item>
454 454 <item>
455 455 <layout class="QVBoxLayout" name="verticalLayout_19">
456 456 <item>
457 457 <spacer name="verticalSpacer_3">
458 458 <property name="orientation">
459 459 <enum>Qt::Vertical</enum>
460 460 </property>
461 461 <property name="sizeType">
462 462 <enum>QSizePolicy::Minimum</enum>
463 463 </property>
464 464 <property name="sizeHint" stdset="0">
465 465 <size>
466 466 <width>20</width>
467 467 <height>40</height>
468 468 </size>
469 469 </property>
470 470 </spacer>
471 471 </item>
472 472 <item>
473 473 <widget class="QWidget" name="grpDevD_2" native="true">
474 474 <layout class="QVBoxLayout" name="verticalLayout_20">
475 475 <item>
476 476 <widget class="QLabel" name="lblDevice">
477 477 <property name="text">
478 478 <string>Device</string>
479 479 </property>
480 480 </widget>
481 481 </item>
482 482 <item>
483 483 <widget class="QLabel" name="lblBspeed">
484 484 <property name="text">
485 485 <string>Burn Speed</string>
486 486 </property>
487 487 </widget>
488 488 </item>
489 489 <item>
490 490 <widget class="QLabel" name="lblBmode">
491 491 <property name="text">
492 492 <string>Burn Mode</string>
493 493 </property>
494 494 </widget>
495 495 </item>
496 496 <item>
497 497 <spacer name="verticalSpacer_4">
498 498 <property name="orientation">
499 499 <enum>Qt::Vertical</enum>
500 500 </property>
501 501 <property name="sizeType">
502 502 <enum>QSizePolicy::Fixed</enum>
503 503 </property>
504 504 <property name="sizeHint" stdset="0">
505 505 <size>
506 506 <width>20</width>
507 507 <height>40</height>
508 508 </size>
509 509 </property>
510 510 </spacer>
511 511 </item>
512 512 </layout>
513 513 </widget>
514 514 </item>
515 515 </layout>
516 516 </item>
517 517 </layout>
518 518 </item>
519 519 <item>
520 520 <spacer name="verticalSpacer_2">
521 521 <property name="orientation">
522 522 <enum>Qt::Vertical</enum>
523 523 </property>
524 524 <property name="sizeType">
525 525 <enum>QSizePolicy::Minimum</enum>
526 526 </property>
527 527 <property name="sizeHint" stdset="0">
528 528 <size>
529 529 <width>20</width>
530 530 <height>40</height>
531 531 </size>
532 532 </property>
533 533 </spacer>
534 534 </item>
535 535 <item>
536 536 <layout class="QHBoxLayout" name="horizontalLayout_11">
537 537 <property name="spacing">
538 538 <number>6</number>
539 539 </property>
540 540 <property name="sizeConstraint">
541 541 <enum>QLayout::SetDefaultConstraint</enum>
542 542 </property>
543 543 <item>
544 544 <widget class="QLabel" name="lblDcapacity">
545 545 <property name="sizePolicy">
546 546 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
547 547 <horstretch>0</horstretch>
548 548 <verstretch>0</verstretch>
549 549 </sizepolicy>
550 550 </property>
551 551 <property name="text">
552 552 <string>Device Capacity</string>
553 553 </property>
554 554 </widget>
555 555 </item>
556 556 <item>
557 557 <spacer name="horizontalSpacer_2">
558 558 <property name="orientation">
559 559 <enum>Qt::Horizontal</enum>
560 560 </property>
561 561 <property name="sizeHint" stdset="0">
562 562 <size>
563 563 <width>40</width>
564 564 <height>20</height>
565 565 </size>
566 566 </property>
567 567 </spacer>
568 568 </item>
569 569 </layout>
570 570 </item>
571 571 <item>
572 572 <layout class="QHBoxLayout" name="horizontalLayout_10">
573 573 <property name="sizeConstraint">
574 574 <enum>QLayout::SetFixedSize</enum>
575 575 </property>
576 576 <item>
577 577 <widget class="QComboBox" name="lstDcapacity">
578 578 <property name="currentIndex">
579 579 <number>2</number>
580 580 </property>
581 581 <item>
582 582 <property name="text">
583 583 <string>BluRay [25.0 GB]</string>
584 584 </property>
585 585 </item>
586 586 <item>
587 587 <property name="text">
588 588 <string>DVD2 [8.5 GB]</string>
589 589 </property>
590 590 </item>
591 591 <item>
592 592 <property name="text">
593 593 <string>DVD1 [4.7 GB]</string>
594 594 </property>
595 595 </item>
596 596 <item>
597 597 <property name="text">
598 598 <string>CD [0.7 GB]</string>
599 599 </property>
600 600 </item>
601 601 <item>
602 602 <property name="text">
603 603 <string>Other [? MB]</string>
604 604 </property>
605 605 </item>
606 606 </widget>
607 607 </item>
608 608 <item>
609 609 <widget class="QDoubleSpinBox" name="txtDcapacity">
610 610 <property name="sizePolicy">
611 611 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
612 612 <horstretch>0</horstretch>
613 613 <verstretch>0</verstretch>
614 614 </sizepolicy>
615 615 </property>
616 616 <property name="readOnly">
617 617 <bool>true</bool>
618 618 </property>
619 619 <property name="minimum">
620 620 <double>100.000000000000000</double>
621 621 </property>
622 622 <property name="maximum">
623 623 <double>99999.990000000005239</double>
624 624 </property>
625 625 <property name="value">
626 626 <double>4482.270000000000437</double>
627 627 </property>
628 628 </widget>
629 629 </item>
630 630 <item>
631 631 <spacer name="horizontalSpacer_3">
632 632 <property name="orientation">
633 633 <enum>Qt::Horizontal</enum>
634 634 </property>
635 635 <property name="sizeHint" stdset="0">
636 636 <size>
637 637 <width>40</width>
638 638 <height>20</height>
639 639 </size>
640 640 </property>
641 641 </spacer>
642 642 </item>
643 643 <item>
644 644 <widget class="QLabel" name="lblPSgraphic">
645 645 <property name="text">
646 646 <string>PS Graphic</string>
647 647 </property>
648 648 </widget>
649 649 </item>
650 650 <item>
651 651 <widget class="QSpinBox" name="txtPSgraphic">
652 652 <property name="minimum">
653 653 <number>1</number>
654 654 </property>
655 655 <property name="maximum">
656 656 <number>33</number>
657 657 </property>
658 658 </widget>
659 659 </item>
660 660 </layout>
661 661 </item>
662 662 </layout>
663 663 </widget>
664 664 <widget class="QWidget" name="tabStatus">
665 665 <attribute name="title">
666 666 <string>Status Burn</string>
667 667 </attribute>
668 668 <layout class="QVBoxLayout" name="verticalLayout_4">
669 669 <item>
670 670 <layout class="QHBoxLayout" name="horizontalLayout_18">
671 671 <item>
672 672 <layout class="QVBoxLayout" name="verticalLayout_21">
673 673 <item>
674 674 <widget class="QLabel" name="label_4">
675 675 <property name="text">
676 676 <string>BURN</string>
677 677 </property>
678 678 </widget>
679 679 </item>
680 680 <item>
681 681 <spacer name="horizontalSpacer_9">
682 682 <property name="orientation">
683 683 <enum>Qt::Horizontal</enum>
684 684 </property>
685 685 <property name="sizeType">
686 686 <enum>QSizePolicy::Minimum</enum>
687 687 </property>
688 688 <property name="sizeHint" stdset="0">
689 689 <size>
690 690 <width>40</width>
691 691 <height>20</height>
692 692 </size>
693 693 </property>
694 694 </spacer>
695 695 </item>
696 696 <item>
697 697 <widget class="QLabel" name="lblSTATUS">
698 698 <property name="sizePolicy">
699 699 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
700 700 <horstretch>0</horstretch>
701 701 <verstretch>0</verstretch>
702 702 </sizepolicy>
703 703 </property>
704 704 <property name="text">
705 705 <string>STATUS</string>
706 706 </property>
707 707 </widget>
708 708 </item>
709 709 <item>
710 710 <widget class="QLabel" name="lblINFO">
711 711 <property name="text">
712 712 <string>DISC</string>
713 713 </property>
714 714 </widget>
715 715 </item>
716 716 <item>
717 717 <widget class="QLabel" name="lblSET">
718 718 <property name="text">
719 719 <string>COPY</string>
720 720 </property>
721 721 </widget>
722 722 </item>
723 723 </layout>
724 724 </item>
725 725 <item>
726 726 <layout class="QVBoxLayout" name="verticalLayout_22">
727 727 <item>
728 728 <spacer name="horizontalSpacer_5">
729 729 <property name="orientation">
730 730 <enum>Qt::Horizontal</enum>
731 731 </property>
732 732 <property name="sizeType">
733 733 <enum>QSizePolicy::Minimum</enum>
734 734 </property>
735 735 <property name="sizeHint" stdset="0">
736 736 <size>
737 737 <width>40</width>
738 738 <height>20</height>
739 739 </size>
740 740 </property>
741 741 </spacer>
742 742 </item>
743 743 <item>
744 744 <widget class="QLabel" name="lblDevA">
745 745 <property name="text">
746 746 <string>DEV A</string>
747 747 </property>
748 748 <property name="alignment">
749 749 <set>Qt::AlignCenter</set>
750 750 </property>
751 751 </widget>
752 752 </item>
753 753 <item>
754 754 <widget class="QLineEdit" name="txtBstatusA">
755 755 <property name="readOnly">
756 756 <bool>true</bool>
757 757 </property>
758 758 </widget>
759 759 </item>
760 760 <item>
761 761 <widget class="QLineEdit" name="txtBdiscA">
762 762 <property name="readOnly">
763 763 <bool>true</bool>
764 764 </property>
765 765 </widget>
766 766 </item>
767 767 <item>
768 768 <widget class="QLineEdit" name="txtBcopyA">
769 769 <property name="readOnly">
770 770 <bool>true</bool>
771 771 </property>
772 772 </widget>
773 773 </item>
774 774 </layout>
775 775 </item>
776 776 <item>
777 777 <layout class="QVBoxLayout" name="verticalLayout_23">
778 778 <item>
779 779 <spacer name="horizontalSpacer_6">
780 780 <property name="orientation">
781 781 <enum>Qt::Horizontal</enum>
782 782 </property>
783 783 <property name="sizeType">
784 784 <enum>QSizePolicy::Minimum</enum>
785 785 </property>
786 786 <property name="sizeHint" stdset="0">
787 787 <size>
788 788 <width>40</width>
789 789 <height>20</height>
790 790 </size>
791 791 </property>
792 792 </spacer>
793 793 </item>
794 794 <item>
795 795 <widget class="QLabel" name="lblDevB">
796 796 <property name="text">
797 797 <string>DEV B</string>
798 798 </property>
799 799 <property name="alignment">
800 800 <set>Qt::AlignCenter</set>
801 801 </property>
802 802 </widget>
803 803 </item>
804 804 <item>
805 805 <widget class="QLineEdit" name="txtBstatusB">
806 806 <property name="readOnly">
807 807 <bool>true</bool>
808 808 </property>
809 809 </widget>
810 810 </item>
811 811 <item>
812 812 <widget class="QLineEdit" name="txtBdiscB">
813 813 <property name="readOnly">
814 814 <bool>true</bool>
815 815 </property>
816 816 </widget>
817 817 </item>
818 818 <item>
819 819 <widget class="QLineEdit" name="txtBcopyB">
820 820 <property name="readOnly">
821 821 <bool>true</bool>
822 822 </property>
823 823 </widget>
824 824 </item>
825 825 </layout>
826 826 </item>
827 827 <item>
828 828 <layout class="QVBoxLayout" name="verticalLayout_24">
829 829 <item>
830 830 <spacer name="horizontalSpacer_7">
831 831 <property name="orientation">
832 832 <enum>Qt::Horizontal</enum>
833 833 </property>
834 834 <property name="sizeType">
835 835 <enum>QSizePolicy::Minimum</enum>
836 836 </property>
837 837 <property name="sizeHint" stdset="0">
838 838 <size>
839 839 <width>40</width>
840 840 <height>20</height>
841 841 </size>
842 842 </property>
843 843 </spacer>
844 844 </item>
845 845 <item>
846 846 <widget class="QLabel" name="lblDevC">
847 847 <property name="text">
848 848 <string>DEV C</string>
849 849 </property>
850 850 <property name="alignment">
851 851 <set>Qt::AlignCenter</set>
852 852 </property>
853 853 </widget>
854 854 </item>
855 855 <item>
856 856 <widget class="QLineEdit" name="txtBstatusC">
857 857 <property name="readOnly">
858 858 <bool>true</bool>
859 859 </property>
860 860 </widget>
861 861 </item>
862 862 <item>
863 863 <widget class="QLineEdit" name="txtBdiscC">
864 864 <property name="readOnly">
865 865 <bool>true</bool>
866 866 </property>
867 867 </widget>
868 868 </item>
869 869 <item>
870 870 <widget class="QLineEdit" name="txtBcopyC">
871 871 <property name="readOnly">
872 872 <bool>true</bool>
873 873 </property>
874 874 </widget>
875 875 </item>
876 876 </layout>
877 877 </item>
878 878 <item>
879 879 <layout class="QVBoxLayout" name="verticalLayout_25">
880 880 <item>
881 881 <spacer name="horizontalSpacer_8">
882 882 <property name="orientation">
883 883 <enum>Qt::Horizontal</enum>
884 884 </property>
885 885 <property name="sizeType">
886 886 <enum>QSizePolicy::Minimum</enum>
887 887 </property>
888 888 <property name="sizeHint" stdset="0">
889 889 <size>
890 890 <width>40</width>
891 891 <height>20</height>
892 892 </size>
893 893 </property>
894 894 </spacer>
895 895 </item>
896 896 <item>
897 897 <widget class="QLabel" name="lblDevD">
898 898 <property name="text">
899 899 <string>DEV D</string>
900 900 </property>
901 901 <property name="alignment">
902 902 <set>Qt::AlignCenter</set>
903 903 </property>
904 904 </widget>
905 905 </item>
906 906 <item>
907 907 <widget class="QLineEdit" name="txtBstatusD">
908 908 <property name="readOnly">
909 909 <bool>true</bool>
910 910 </property>
911 911 </widget>
912 912 </item>
913 913 <item>
914 914 <widget class="QLineEdit" name="txtBdiscD">
915 915 <property name="readOnly">
916 916 <bool>true</bool>
917 917 </property>
918 918 </widget>
919 919 </item>
920 920 <item>
921 921 <widget class="QLineEdit" name="txtBcopyD">
922 922 <property name="readOnly">
923 923 <bool>true</bool>
924 924 </property>
925 925 </widget>
926 926 </item>
927 927 </layout>
928 928 </item>
929 929 </layout>
930 930 </item>
931 931 <item>
932 932 <spacer name="verticalSpacer">
933 933 <property name="orientation">
934 934 <enum>Qt::Vertical</enum>
935 935 </property>
936 936 <property name="sizeType">
937 937 <enum>QSizePolicy::Fixed</enum>
938 938 </property>
939 939 <property name="sizeHint" stdset="0">
940 940 <size>
941 941 <width>20</width>
942 942 <height>20</height>
943 943 </size>
944 944 </property>
945 945 </spacer>
946 946 </item>
947 947 <item>
948 948 <layout class="QHBoxLayout" name="horizontalLayout_16">
949 949 <item>
950 950 <widget class="QLabel" name="label">
951 951 <property name="text">
952 952 <string>CHECK</string>
953 953 </property>
954 954 </widget>
955 955 </item>
956 956 <item>
957 957 <spacer name="horizontalSpacer_14">
958 958 <property name="orientation">
959 959 <enum>Qt::Horizontal</enum>
960 960 </property>
961 961 <property name="sizeHint" stdset="0">
962 962 <size>
963 963 <width>40</width>
964 964 <height>20</height>
965 965 </size>
966 966 </property>
967 967 </spacer>
968 968 </item>
969 969 </layout>
970 970 </item>
971 971 <item>
972 972 <layout class="QHBoxLayout" name="horizontalLayout_17">
973 973 <item>
974 974 <spacer name="horizontalSpacer_13">
975 975 <property name="orientation">
976 976 <enum>Qt::Horizontal</enum>
977 977 </property>
978 978 <property name="sizeType">
979 979 <enum>QSizePolicy::Fixed</enum>
980 980 </property>
981 981 <property name="sizeHint" stdset="0">
982 982 <size>
983 983 <width>50</width>
984 984 <height>20</height>
985 985 </size>
986 986 </property>
987 987 </spacer>
988 988 </item>
989 989 <item>
990 990 <widget class="QLineEdit" name="txtTDpath">
991 991 <property name="enabled">
992 992 <bool>false</bool>
993 993 </property>
994 994 </widget>
995 995 </item>
996 996 <item>
997 997 <widget class="QPushButton" name="btnTDpath">
998 998 <property name="enabled">
999 999 <bool>false</bool>
1000 1000 </property>
1001 1001 <property name="text">
1002 1002 <string>Temp Data Path</string>
1003 1003 </property>
1004 1004 </widget>
1005 1005 </item>
1006 1006 </layout>
1007 1007 </item>
1008 1008 <item>
1009 1009 <layout class="QHBoxLayout" name="horizontalLayout_19">
1010 1010 <item>
1011 1011 <layout class="QVBoxLayout" name="verticalLayout_26">
1012 1012 <item>
1013 1013 <spacer name="horizontalSpacer_10">
1014 1014 <property name="orientation">
1015 1015 <enum>Qt::Horizontal</enum>
1016 1016 </property>
1017 1017 <property name="sizeType">
1018 1018 <enum>QSizePolicy::Minimum</enum>
1019 1019 </property>
1020 1020 <property name="sizeHint" stdset="0">
1021 1021 <size>
1022 1022 <width>40</width>
1023 1023 <height>20</height>
1024 1024 </size>
1025 1025 </property>
1026 1026 </spacer>
1027 1027 </item>
1028 1028 <item>
1029 1029 <widget class="QLabel" name="lblSTATUS_2">
1030 1030 <property name="sizePolicy">
1031 1031 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1032 1032 <horstretch>0</horstretch>
1033 1033 <verstretch>0</verstretch>
1034 1034 </sizepolicy>
1035 1035 </property>
1036 1036 <property name="text">
1037 1037 <string>STATUS</string>
1038 1038 </property>
1039 1039 </widget>
1040 1040 </item>
1041 1041 </layout>
1042 1042 </item>
1043 1043 <item>
1044 1044 <layout class="QVBoxLayout" name="verticalLayout_27">
1045 1045 <item>
1046 1046 <widget class="QLabel" name="lblDevA_2">
1047 1047 <property name="text">
1048 1048 <string>DEV A</string>
1049 1049 </property>
1050 1050 <property name="alignment">
1051 1051 <set>Qt::AlignCenter</set>
1052 1052 </property>
1053 1053 </widget>
1054 1054 </item>
1055 1055 <item>
1056 1056 <widget class="QLineEdit" name="txtCHstatusA">
1057 1057 <property name="readOnly">
1058 1058 <bool>true</bool>
1059 1059 </property>
1060 1060 </widget>
1061 1061 </item>
1062 1062 </layout>
1063 1063 </item>
1064 1064 <item>
1065 1065 <layout class="QVBoxLayout" name="verticalLayout_28">
1066 1066 <item>
1067 1067 <widget class="QLabel" name="lblDevB_2">
1068 1068 <property name="text">
1069 1069 <string>DEV B</string>
1070 1070 </property>
1071 1071 <property name="alignment">
1072 1072 <set>Qt::AlignCenter</set>
1073 1073 </property>
1074 1074 </widget>
1075 1075 </item>
1076 1076 <item>
1077 1077 <widget class="QLineEdit" name="txtCHstatusB">
1078 1078 <property name="readOnly">
1079 1079 <bool>true</bool>
1080 1080 </property>
1081 1081 </widget>
1082 1082 </item>
1083 1083 </layout>
1084 1084 </item>
1085 1085 <item>
1086 1086 <layout class="QVBoxLayout" name="verticalLayout_29">
1087 1087 <item>
1088 1088 <widget class="QLabel" name="lblDevC_2">
1089 1089 <property name="text">
1090 1090 <string>DEV C</string>
1091 1091 </property>
1092 1092 <property name="alignment">
1093 1093 <set>Qt::AlignCenter</set>
1094 1094 </property>
1095 1095 </widget>
1096 1096 </item>
1097 1097 <item>
1098 1098 <widget class="QLineEdit" name="txtCHstatusC">
1099 1099 <property name="readOnly">
1100 1100 <bool>true</bool>
1101 1101 </property>
1102 1102 </widget>
1103 1103 </item>
1104 1104 </layout>
1105 1105 </item>
1106 1106 <item>
1107 1107 <layout class="QVBoxLayout" name="verticalLayout_30">
1108 1108 <item>
1109 1109 <widget class="QLabel" name="lblDevD_2">
1110 1110 <property name="text">
1111 1111 <string>DEV D</string>
1112 1112 </property>
1113 1113 <property name="alignment">
1114 1114 <set>Qt::AlignCenter</set>
1115 1115 </property>
1116 1116 </widget>
1117 1117 </item>
1118 1118 <item>
1119 1119 <widget class="QLineEdit" name="txtCHstatusD">
1120 1120 <property name="readOnly">
1121 1121 <bool>true</bool>
1122 1122 </property>
1123 1123 </widget>
1124 1124 </item>
1125 1125 </layout>
1126 1126 </item>
1127 1127 </layout>
1128 1128 </item>
1129 1129 <item>
1130 1130 <layout class="QHBoxLayout" name="horizontalLayout_20">
1131 1131 <item>
1132 1132 <spacer name="horizontalSpacer_12">
1133 1133 <property name="orientation">
1134 1134 <enum>Qt::Horizontal</enum>
1135 1135 </property>
1136 1136 <property name="sizeType">
1137 1137 <enum>QSizePolicy::Minimum</enum>
1138 1138 </property>
1139 1139 <property name="sizeHint" stdset="0">
1140 1140 <size>
1141 1141 <width>50</width>
1142 1142 <height>20</height>
1143 1143 </size>
1144 1144 </property>
1145 1145 </spacer>
1146 1146 </item>
1147 1147 <item>
1148 1148 <widget class="QCheckBox" name="chkCheck">
1149 1149 <property name="enabled">
1150 1150 <bool>true</bool>
1151 1151 </property>
1152 1152 <property name="text">
1153 1153 <string>MANUAL</string>
1154 1154 </property>
1155 1155 </widget>
1156 1156 </item>
1157 1157 <item>
1158 1158 <spacer name="horizontalSpacer_15">
1159 1159 <property name="orientation">
1160 1160 <enum>Qt::Horizontal</enum>
1161 1161 </property>
1162 1162 <property name="sizeHint" stdset="0">
1163 1163 <size>
1164 1164 <width>40</width>
1165 1165 <height>20</height>
1166 1166 </size>
1167 1167 </property>
1168 1168 </spacer>
1169 1169 </item>
1170 1170 <item>
1171 1171 <widget class="QPushButton" name="btnCHstart">
1172 1172 <property name="enabled">
1173 1173 <bool>false</bool>
1174 1174 </property>
1175 1175 <property name="text">
1176 1176 <string>START</string>
1177 1177 </property>
1178 1178 </widget>
1179 1179 </item>
1180 1180 </layout>
1181 1181 </item>
1182 1182 <item>
1183 1183 <widget class="QWidget" name="widget_2" native="true">
1184 1184 <property name="sizePolicy">
1185 1185 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1186 1186 <horstretch>0</horstretch>
1187 1187 <verstretch>0</verstretch>
1188 1188 </sizepolicy>
1189 1189 </property>
1190 1190 <property name="maximumSize">
1191 1191 <size>
1192 1192 <width>500</width>
1193 1193 <height>16777215</height>
1194 1194 </size>
1195 1195 </property>
1196 1196 <layout class="QGridLayout" name="gridLayout_2"/>
1197 1197 </widget>
1198 1198 </item>
1199 1199 </layout>
1200 1200 </widget>
1201 1201 </widget>
1202 1202 </item>
1203 1203 <item>
1204 1204 <widget class="QTextEdit" name="txtInfo">
1205 1205 <property name="readOnly">
1206 1206 <bool>true</bool>
1207 1207 </property>
1208 1208 </widget>
1209 1209 </item>
1210 1210 <item>
1211 1211 <layout class="QHBoxLayout" name="horizontalLayout_2">
1212 1212 <property name="sizeConstraint">
1213 1213 <enum>QLayout::SetDefaultConstraint</enum>
1214 1214 </property>
1215 1215 <item>
1216 1216 <widget class="QPushButton" name="btnGbkp">
1217 1217 <property name="enabled">
1218 1218 <bool>false</bool>
1219 1219 </property>
1220 1220 <property name="text">
1221 1221 <string>Generate Bkp</string>
1222 1222 </property>
1223 1223 </widget>
1224 1224 </item>
1225 1225 <item>
1226 1226 <widget class="QPushButton" name="btnRestart">
1227 1227 <property name="enabled">
1228 1228 <bool>false</bool>
1229 1229 </property>
1230 1230 <property name="text">
1231 1231 <string>Restart</string>
1232 1232 </property>
1233 1233 </widget>
1234 1234 </item>
1235 1235 <item>
1236 1236 <widget class="QPushButton" name="btnStartburn">
1237 1237 <property name="enabled">
1238 1238 <bool>false</bool>
1239 1239 </property>
1240 1240 <property name="text">
1241 1241 <string>Start Burn</string>
1242 1242 </property>
1243 1243 </widget>
1244 1244 </item>
1245 1245 <item>
1246 1246 <widget class="QPushButton" name="btnStopburn">
1247 1247 <property name="enabled">
1248 1248 <bool>false</bool>
1249 1249 </property>
1250 1250 <property name="text">
1251 1251 <string>Stop Burn</string>
1252 1252 </property>
1253 1253 </widget>
1254 1254 </item>
1255 1255 </layout>
1256 1256 </item>
1257 1257 </layout>
1258 1258 </widget>
1259 1259 <widget class="QMenuBar" name="menubar">
1260 1260 <property name="geometry">
1261 1261 <rect>
1262 1262 <x>0</x>
1263 1263 <y>0</y>
1264 <width>613</width>
1265 <height>21</height>
1264 <width>824</width>
1265 <height>25</height>
1266 1266 </rect>
1267 1267 </property>
1268 1268 <widget class="QMenu" name="menuFile">
1269 1269 <property name="title">
1270 1270 <string>File</string>
1271 1271 </property>
1272 1272 <addaction name="actionQuit"/>
1273 1273 </widget>
1274 1274 <widget class="QMenu" name="menuHelp">
1275 1275 <property name="title">
1276 1276 <string>Help</string>
1277 1277 </property>
1278 1278 <addaction name="actionAbout"/>
1279 1279 </widget>
1280 1280 <widget class="QMenu" name="menuParameters">
1281 1281 <property name="title">
1282 1282 <string>Parameters</string>
1283 1283 </property>
1284 1284 <addaction name="actionChange_Parameters"/>
1285 1285 </widget>
1286 1286 <addaction name="menuFile"/>
1287 1287 <addaction name="menuParameters"/>
1288 1288 <addaction name="menuHelp"/>
1289 1289 </widget>
1290 1290 <widget class="QStatusBar" name="statusbar"/>
1291 1291 <action name="actionChange_Parameters">
1292 1292 <property name="enabled">
1293 1293 <bool>false</bool>
1294 1294 </property>
1295 1295 <property name="text">
1296 1296 <string>Change Parameters</string>
1297 1297 </property>
1298 1298 </action>
1299 1299 <action name="actionQuit">
1300 1300 <property name="text">
1301 1301 <string>Quit</string>
1302 1302 </property>
1303 1303 </action>
1304 1304 <action name="actionAbout">
1305 1305 <property name="text">
1306 1306 <string>About</string>
1307 1307 </property>
1308 1308 </action>
1309 1309 </widget>
1310 1310 <tabstops>
1311 1311 <tabstop>txtDpath</tabstop>
1312 1312 <tabstop>btnDpath</tabstop>
1313 1313 <tabstop>txtRpath</tabstop>
1314 1314 <tabstop>btnRpath</tabstop>
1315 1315 <tabstop>lstDtype</tabstop>
1316 1316 <tabstop>txtDtype</tabstop>
1317 1317 <tabstop>txtElabel</tabstop>
1318 1318 <tabstop>lstStartDay</tabstop>
1319 1319 <tabstop>lstStopDay</tabstop>
1320 1320 <tabstop>lstDcapacity</tabstop>
1321 1321 <tabstop>tabWidget</tabstop>
1322 1322 <tabstop>btnGbkp</tabstop>
1323 1323 <tabstop>btnRestart</tabstop>
1324 1324 <tabstop>btnStartburn</tabstop>
1325 1325 <tabstop>btnStopburn</tabstop>
1326 1326 </tabstops>
1327 1327 <resources/>
1328 1328 <connections>
1329 1329 <connection>
1330 1330 <sender>actionQuit</sender>
1331 1331 <signal>triggered()</signal>
1332 1332 <receiver>MainWindow</receiver>
1333 1333 <slot>close()</slot>
1334 1334 <hints>
1335 1335 <hint type="sourcelabel">
1336 1336 <x>-1</x>
1337 1337 <y>-1</y>
1338 1338 </hint>
1339 1339 <hint type="destinationlabel">
1340 1340 <x>306</x>
1341 1341 <y>358</y>
1342 1342 </hint>
1343 1343 </hints>
1344 1344 </connection>
1345 1345 <connection>
1346 1346 <sender>chkCheck</sender>
1347 1347 <signal>toggled(bool)</signal>
1348 1348 <receiver>txtTDpath</receiver>
1349 1349 <slot>setEnabled(bool)</slot>
1350 1350 <hints>
1351 1351 <hint type="sourcelabel">
1352 <x>121</x>
1353 <y>333</y>
1352 <x>160</x>
1353 <y>378</y>
1354 1354 </hint>
1355 1355 <hint type="destinationlabel">
1356 <x>163</x>
1357 <y>265</y>
1356 <x>231</x>
1357 <y>306</y>
1358 1358 </hint>
1359 1359 </hints>
1360 1360 </connection>
1361 1361 <connection>
1362 1362 <sender>chkCheck</sender>
1363 1363 <signal>toggled(bool)</signal>
1364 1364 <receiver>btnTDpath</receiver>
1365 1365 <slot>setEnabled(bool)</slot>
1366 1366 <hints>
1367 1367 <hint type="sourcelabel">
1368 <x>137</x>
1369 <y>345</y>
1368 <x>160</x>
1369 <y>387</y>
1370 1370 </hint>
1371 1371 <hint type="destinationlabel">
1372 <x>521</x>
1373 <y>256</y>
1372 <x>802</x>
1373 <y>305</y>
1374 1374 </hint>
1375 1375 </hints>
1376 1376 </connection>
1377 1377 <connection>
1378 1378 <sender>chkCheck</sender>
1379 1379 <signal>toggled(bool)</signal>
1380 1380 <receiver>btnCHstart</receiver>
1381 1381 <slot>setEnabled(bool)</slot>
1382 1382 <hints>
1383 1383 <hint type="sourcelabel">
1384 <x>111</x>
1385 <y>341</y>
1384 <x>160</x>
1385 <y>383</y>
1386 1386 </hint>
1387 1387 <hint type="destinationlabel">
1388 <x>599</x>
1389 <y>349</y>
1388 <x>802</x>
1389 <y>389</y>
1390 1390 </hint>
1391 1391 </hints>
1392 1392 </connection>
1393 1393 <connection>
1394 1394 <sender>chkDevD</sender>
1395 1395 <signal>toggled(bool)</signal>
1396 1396 <receiver>grpDevD</receiver>
1397 1397 <slot>setEnabled(bool)</slot>
1398 1398 <hints>
1399 1399 <hint type="sourcelabel">
1400 <x>519</x>
1401 <y>79</y>
1400 <x>701</x>
1401 <y>98</y>
1402 1402 </hint>
1403 1403 <hint type="destinationlabel">
1404 <x>519</x>
1405 <y>202</y>
1404 <x>701</x>
1405 <y>251</y>
1406 1406 </hint>
1407 1407 </hints>
1408 1408 </connection>
1409 1409 <connection>
1410 1410 <sender>chkDevB</sender>
1411 1411 <signal>toggled(bool)</signal>
1412 1412 <receiver>grpDevB</receiver>
1413 1413 <slot>setEnabled(bool)</slot>
1414 1414 <hints>
1415 1415 <hint type="sourcelabel">
1416 1416 <x>263</x>
1417 1417 <y>79</y>
1418 1418 </hint>
1419 1419 <hint type="destinationlabel">
1420 1420 <x>251</x>
1421 1421 <y>167</y>
1422 1422 </hint>
1423 1423 </hints>
1424 1424 </connection>
1425 1425 <connection>
1426 1426 <sender>chkDevC</sender>
1427 1427 <signal>toggled(bool)</signal>
1428 1428 <receiver>grpDevC</receiver>
1429 1429 <slot>setEnabled(bool)</slot>
1430 1430 <hints>
1431 1431 <hint type="sourcelabel">
1432 1432 <x>391</x>
1433 1433 <y>79</y>
1434 1434 </hint>
1435 1435 <hint type="destinationlabel">
1436 1436 <x>391</x>
1437 1437 <y>202</y>
1438 1438 </hint>
1439 1439 </hints>
1440 1440 </connection>
1441 1441 <connection>
1442 1442 <sender>chkDevA</sender>
1443 1443 <signal>toggled(bool)</signal>
1444 1444 <receiver>grpDevA</receiver>
1445 1445 <slot>setEnabled(bool)</slot>
1446 1446 <hints>
1447 1447 <hint type="sourcelabel">
1448 1448 <x>105</x>
1449 1449 <y>79</y>
1450 1450 </hint>
1451 1451 <hint type="destinationlabel">
1452 1452 <x>95</x>
1453 1453 <y>167</y>
1454 1454 </hint>
1455 1455 </hints>
1456 1456 </connection>
1457 1457 </connections>
1458 1458 </ui>
@@ -1,702 +1,707
1 1 # -*- coding: utf-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: Sun May 23 20:29:23 2010
6 # by: PyQt4 UI code generator 4.7.2
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
10 10 from PyQt4 import QtCore, QtGui
11 11
12 12 class Ui_MainWindow(object):
13 13 def setupUi(self, MainWindow):
14 14 MainWindow.setObjectName("MainWindow")
15 MainWindow.resize(613, 717)
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)
19 19 self.verticalLayout.setObjectName("verticalLayout")
20 20 self.tabWidget = QtGui.QTabWidget(self.centralwidget)
21 21 self.tabWidget.setEnabled(True)
22 22 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
23 23 sizePolicy.setHorizontalStretch(0)
24 24 sizePolicy.setVerticalStretch(0)
25 25 sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
26 26 self.tabWidget.setSizePolicy(sizePolicy)
27 27 self.tabWidget.setObjectName("tabWidget")
28 28 self.tabParameters = QtGui.QWidget()
29 29 self.tabParameters.setEnabled(True)
30 30 self.tabParameters.setObjectName("tabParameters")
31 31 self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabParameters)
32 32 self.verticalLayout_2.setObjectName("verticalLayout_2")
33 33 self.horizontalLayout = QtGui.QHBoxLayout()
34 34 self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
35 35 self.horizontalLayout.setObjectName("horizontalLayout")
36 36 self.txtDpath = QtGui.QLineEdit(self.tabParameters)
37 37 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
38 38 sizePolicy.setHorizontalStretch(0)
39 39 sizePolicy.setVerticalStretch(0)
40 40 sizePolicy.setHeightForWidth(self.txtDpath.sizePolicy().hasHeightForWidth())
41 41 self.txtDpath.setSizePolicy(sizePolicy)
42 42 self.txtDpath.setObjectName("txtDpath")
43 43 self.horizontalLayout.addWidget(self.txtDpath)
44 44 self.btnDpath = QtGui.QPushButton(self.tabParameters)
45 45 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
46 46 sizePolicy.setHorizontalStretch(0)
47 47 sizePolicy.setVerticalStretch(0)
48 48 sizePolicy.setHeightForWidth(self.btnDpath.sizePolicy().hasHeightForWidth())
49 49 self.btnDpath.setSizePolicy(sizePolicy)
50 50 self.btnDpath.setCheckable(False)
51 51 self.btnDpath.setObjectName("btnDpath")
52 52 self.horizontalLayout.addWidget(self.btnDpath)
53 53 self.verticalLayout_2.addLayout(self.horizontalLayout)
54 54 self.horizontalLayout_3 = QtGui.QHBoxLayout()
55 55 self.horizontalLayout_3.setObjectName("horizontalLayout_3")
56 56 self.txtRpath = QtGui.QLineEdit(self.tabParameters)
57 57 self.txtRpath.setObjectName("txtRpath")
58 58 self.horizontalLayout_3.addWidget(self.txtRpath)
59 59 self.btnRpath = QtGui.QPushButton(self.tabParameters)
60 60 self.btnRpath.setObjectName("btnRpath")
61 61 self.horizontalLayout_3.addWidget(self.btnRpath)
62 62 self.verticalLayout_2.addLayout(self.horizontalLayout_3)
63 63 self.lblDtype = QtGui.QLabel(self.tabParameters)
64 64 self.lblDtype.setObjectName("lblDtype")
65 65 self.verticalLayout_2.addWidget(self.lblDtype)
66 66 self.horizontalLayout_4 = QtGui.QHBoxLayout()
67 67 self.horizontalLayout_4.setObjectName("horizontalLayout_4")
68 68 self.lstDtype = QtGui.QComboBox(self.tabParameters)
69 69 self.lstDtype.setObjectName("lstDtype")
70 70 self.lstDtype.addItem("")
71 71 self.lstDtype.addItem("")
72 72 self.lstDtype.addItem("")
73 73 self.lstDtype.addItem("")
74 74 self.horizontalLayout_4.addWidget(self.lstDtype)
75 75 self.txtDtype = QtGui.QLineEdit(self.tabParameters)
76 76 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
77 77 sizePolicy.setHorizontalStretch(0)
78 78 sizePolicy.setVerticalStretch(0)
79 79 sizePolicy.setHeightForWidth(self.txtDtype.sizePolicy().hasHeightForWidth())
80 80 self.txtDtype.setSizePolicy(sizePolicy)
81 81 self.txtDtype.setReadOnly(True)
82 82 self.txtDtype.setObjectName("txtDtype")
83 83 self.horizontalLayout_4.addWidget(self.txtDtype)
84 84 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
85 85 self.horizontalLayout_4.addItem(spacerItem)
86 86 self.verticalLayout_2.addLayout(self.horizontalLayout_4)
87 87 self.horizontalLayout_6 = QtGui.QHBoxLayout()
88 88 self.horizontalLayout_6.setObjectName("horizontalLayout_6")
89 89 self.lblElabel = QtGui.QLabel(self.tabParameters)
90 90 self.lblElabel.setObjectName("lblElabel")
91 91 self.horizontalLayout_6.addWidget(self.lblElabel)
92 92 self.lblCopys = QtGui.QLabel(self.tabParameters)
93 93 self.lblCopys.setObjectName("lblCopys")
94 94 self.horizontalLayout_6.addWidget(self.lblCopys)
95 95 self.verticalLayout_2.addLayout(self.horizontalLayout_6)
96 96 self.horizontalLayout_5 = QtGui.QHBoxLayout()
97 97 self.horizontalLayout_5.setObjectName("horizontalLayout_5")
98 98 self.txtElabel = QtGui.QLineEdit(self.tabParameters)
99 99 self.txtElabel.setObjectName("txtElabel")
100 100 self.horizontalLayout_5.addWidget(self.txtElabel)
101 101 self.txtCopys = QtGui.QSpinBox(self.tabParameters)
102 102 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
103 103 sizePolicy.setHorizontalStretch(0)
104 104 sizePolicy.setVerticalStretch(0)
105 105 sizePolicy.setHeightForWidth(self.txtCopys.sizePolicy().hasHeightForWidth())
106 106 self.txtCopys.setSizePolicy(sizePolicy)
107 107 self.txtCopys.setMinimum(1)
108 108 self.txtCopys.setObjectName("txtCopys")
109 109 self.horizontalLayout_5.addWidget(self.txtCopys)
110 110 self.verticalLayout_2.addLayout(self.horizontalLayout_5)
111 111 self.horizontalLayout_7 = QtGui.QHBoxLayout()
112 112 self.horizontalLayout_7.setObjectName("horizontalLayout_7")
113 113 self.lblStartDay = QtGui.QLabel(self.tabParameters)
114 114 self.lblStartDay.setObjectName("lblStartDay")
115 115 self.horizontalLayout_7.addWidget(self.lblStartDay)
116 116 self.lblStopDay = QtGui.QLabel(self.tabParameters)
117 117 self.lblStopDay.setObjectName("lblStopDay")
118 118 self.horizontalLayout_7.addWidget(self.lblStopDay)
119 119 self.verticalLayout_2.addLayout(self.horizontalLayout_7)
120 120 self.horizontalLayout_8 = QtGui.QHBoxLayout()
121 121 self.horizontalLayout_8.setObjectName("horizontalLayout_8")
122 122 self.lstStartDay = QtGui.QComboBox(self.tabParameters)
123 123 self.lstStartDay.setObjectName("lstStartDay")
124 124 self.horizontalLayout_8.addWidget(self.lstStartDay)
125 125 self.lstStopDay = QtGui.QComboBox(self.tabParameters)
126 126 self.lstStopDay.setObjectName("lstStopDay")
127 127 self.horizontalLayout_8.addWidget(self.lstStopDay)
128 128 self.verticalLayout_2.addLayout(self.horizontalLayout_8)
129 129 self.tabWidget.addTab(self.tabParameters, "")
130 130 self.tabDconfig = QtGui.QWidget()
131 131 self.tabDconfig.setEnabled(True)
132 132 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
133 133 sizePolicy.setHorizontalStretch(0)
134 134 sizePolicy.setVerticalStretch(0)
135 135 sizePolicy.setHeightForWidth(self.tabDconfig.sizePolicy().hasHeightForWidth())
136 136 self.tabDconfig.setSizePolicy(sizePolicy)
137 137 self.tabDconfig.setObjectName("tabDconfig")
138 138 self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabDconfig)
139 139 self.verticalLayout_3.setObjectName("verticalLayout_3")
140 140 self.horizontalLayout_12 = QtGui.QHBoxLayout()
141 141 self.horizontalLayout_12.setObjectName("horizontalLayout_12")
142 142 self.verticalLayout_15 = QtGui.QVBoxLayout()
143 143 self.verticalLayout_15.setObjectName("verticalLayout_15")
144 144 self.chkDevA = QtGui.QCheckBox(self.tabDconfig)
145 145 self.chkDevA.setChecked(True)
146 146 self.chkDevA.setObjectName("chkDevA")
147 147 self.verticalLayout_15.addWidget(self.chkDevA)
148 148 self.grpDevA = QtGui.QWidget(self.tabDconfig)
149 149 self.grpDevA.setObjectName("grpDevA")
150 150 self.verticalLayout_11 = QtGui.QVBoxLayout(self.grpDevA)
151 151 self.verticalLayout_11.setObjectName("verticalLayout_11")
152 152 self.txtDeviceA = QtGui.QLineEdit(self.grpDevA)
153 153 self.txtDeviceA.setReadOnly(True)
154 154 self.txtDeviceA.setObjectName("txtDeviceA")
155 155 self.verticalLayout_11.addWidget(self.txtDeviceA)
156 156 self.txtBspeedA = QtGui.QSpinBox(self.grpDevA)
157 157 self.txtBspeedA.setMinimum(1)
158 158 self.txtBspeedA.setProperty("value", 16)
159 159 self.txtBspeedA.setObjectName("txtBspeedA")
160 160 self.verticalLayout_11.addWidget(self.txtBspeedA)
161 161 self.txtBmodeA = QtGui.QLineEdit(self.grpDevA)
162 162 self.txtBmodeA.setReadOnly(True)
163 163 self.txtBmodeA.setObjectName("txtBmodeA")
164 164 self.verticalLayout_11.addWidget(self.txtBmodeA)
165 165 self.btnTdevA = QtGui.QPushButton(self.grpDevA)
166 166 self.btnTdevA.setObjectName("btnTdevA")
167 167 self.verticalLayout_11.addWidget(self.btnTdevA)
168 168 self.verticalLayout_15.addWidget(self.grpDevA)
169 169 self.horizontalLayout_12.addLayout(self.verticalLayout_15)
170 170 self.verticalLayout_16 = QtGui.QVBoxLayout()
171 171 self.verticalLayout_16.setObjectName("verticalLayout_16")
172 172 self.chkDevB = QtGui.QCheckBox(self.tabDconfig)
173 173 self.chkDevB.setChecked(True)
174 174 self.chkDevB.setObjectName("chkDevB")
175 175 self.verticalLayout_16.addWidget(self.chkDevB)
176 176 self.grpDevB = QtGui.QWidget(self.tabDconfig)
177 177 self.grpDevB.setObjectName("grpDevB")
178 178 self.verticalLayout_12 = QtGui.QVBoxLayout(self.grpDevB)
179 179 self.verticalLayout_12.setObjectName("verticalLayout_12")
180 180 self.txtDeviceB = QtGui.QLineEdit(self.grpDevB)
181 181 self.txtDeviceB.setReadOnly(True)
182 182 self.txtDeviceB.setObjectName("txtDeviceB")
183 183 self.verticalLayout_12.addWidget(self.txtDeviceB)
184 184 self.txtBspeedB = QtGui.QSpinBox(self.grpDevB)
185 185 self.txtBspeedB.setMinimum(1)
186 186 self.txtBspeedB.setProperty("value", 16)
187 187 self.txtBspeedB.setObjectName("txtBspeedB")
188 188 self.verticalLayout_12.addWidget(self.txtBspeedB)
189 189 self.txtBmodeB = QtGui.QLineEdit(self.grpDevB)
190 190 self.txtBmodeB.setReadOnly(True)
191 191 self.txtBmodeB.setObjectName("txtBmodeB")
192 192 self.verticalLayout_12.addWidget(self.txtBmodeB)
193 193 self.btnTdevB = QtGui.QPushButton(self.grpDevB)
194 194 self.btnTdevB.setObjectName("btnTdevB")
195 195 self.verticalLayout_12.addWidget(self.btnTdevB)
196 196 self.verticalLayout_16.addWidget(self.grpDevB)
197 197 self.horizontalLayout_12.addLayout(self.verticalLayout_16)
198 198 self.verticalLayout_17 = QtGui.QVBoxLayout()
199 199 self.verticalLayout_17.setObjectName("verticalLayout_17")
200 200 self.chkDevC = QtGui.QCheckBox(self.tabDconfig)
201 201 self.chkDevC.setChecked(True)
202 202 self.chkDevC.setObjectName("chkDevC")
203 203 self.verticalLayout_17.addWidget(self.chkDevC)
204 204 self.grpDevC = QtGui.QWidget(self.tabDconfig)
205 205 self.grpDevC.setObjectName("grpDevC")
206 206 self.verticalLayout_13 = QtGui.QVBoxLayout(self.grpDevC)
207 207 self.verticalLayout_13.setObjectName("verticalLayout_13")
208 208 self.txtDeviceC = QtGui.QLineEdit(self.grpDevC)
209 209 self.txtDeviceC.setReadOnly(True)
210 210 self.txtDeviceC.setObjectName("txtDeviceC")
211 211 self.verticalLayout_13.addWidget(self.txtDeviceC)
212 212 self.txtBspeedC = QtGui.QSpinBox(self.grpDevC)
213 213 self.txtBspeedC.setMinimum(1)
214 214 self.txtBspeedC.setProperty("value", 16)
215 215 self.txtBspeedC.setObjectName("txtBspeedC")
216 216 self.verticalLayout_13.addWidget(self.txtBspeedC)
217 217 self.txtBmodeC = QtGui.QLineEdit(self.grpDevC)
218 218 self.txtBmodeC.setReadOnly(True)
219 219 self.txtBmodeC.setObjectName("txtBmodeC")
220 220 self.verticalLayout_13.addWidget(self.txtBmodeC)
221 221 self.btnTdevC = QtGui.QPushButton(self.grpDevC)
222 222 self.btnTdevC.setObjectName("btnTdevC")
223 223 self.verticalLayout_13.addWidget(self.btnTdevC)
224 224 self.verticalLayout_17.addWidget(self.grpDevC)
225 225 self.horizontalLayout_12.addLayout(self.verticalLayout_17)
226 226 self.verticalLayout_18 = QtGui.QVBoxLayout()
227 227 self.verticalLayout_18.setObjectName("verticalLayout_18")
228 228 self.chkDevD = QtGui.QCheckBox(self.tabDconfig)
229 229 self.chkDevD.setChecked(True)
230 230 self.chkDevD.setObjectName("chkDevD")
231 231 self.verticalLayout_18.addWidget(self.chkDevD)
232 232 self.grpDevD = QtGui.QWidget(self.tabDconfig)
233 233 self.grpDevD.setObjectName("grpDevD")
234 234 self.verticalLayout_14 = QtGui.QVBoxLayout(self.grpDevD)
235 235 self.verticalLayout_14.setObjectName("verticalLayout_14")
236 236 self.txtDeviceD = QtGui.QLineEdit(self.grpDevD)
237 237 self.txtDeviceD.setReadOnly(True)
238 238 self.txtDeviceD.setObjectName("txtDeviceD")
239 239 self.verticalLayout_14.addWidget(self.txtDeviceD)
240 240 self.txtBspeedD = QtGui.QSpinBox(self.grpDevD)
241 241 self.txtBspeedD.setMinimum(1)
242 242 self.txtBspeedD.setProperty("value", 16)
243 243 self.txtBspeedD.setObjectName("txtBspeedD")
244 244 self.verticalLayout_14.addWidget(self.txtBspeedD)
245 245 self.txtBmodeD = QtGui.QLineEdit(self.grpDevD)
246 246 self.txtBmodeD.setReadOnly(True)
247 247 self.txtBmodeD.setObjectName("txtBmodeD")
248 248 self.verticalLayout_14.addWidget(self.txtBmodeD)
249 249 self.btnTdevD = QtGui.QPushButton(self.grpDevD)
250 250 self.btnTdevD.setObjectName("btnTdevD")
251 251 self.verticalLayout_14.addWidget(self.btnTdevD)
252 252 self.verticalLayout_18.addWidget(self.grpDevD)
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, 25, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
256 spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
257 257 self.verticalLayout_19.addItem(spacerItem1)
258 self.lblDevice = QtGui.QLabel(self.tabDconfig)
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_19.addWidget(self.lblDevice)
261 self.lblBspeed = QtGui.QLabel(self.tabDconfig)
264 self.verticalLayout_20.addWidget(self.lblDevice)
265 self.lblBspeed = QtGui.QLabel(self.grpDevD_2)
262 266 self.lblBspeed.setObjectName("lblBspeed")
263 self.verticalLayout_19.addWidget(self.lblBspeed)
264 self.lblBmode = QtGui.QLabel(self.tabDconfig)
267 self.verticalLayout_20.addWidget(self.lblBspeed)
268 self.lblBmode = QtGui.QLabel(self.grpDevD_2)
265 269 self.lblBmode.setObjectName("lblBmode")
266 self.verticalLayout_19.addWidget(self.lblBmode)
267 spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
268 self.verticalLayout_19.addItem(spacerItem2)
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)
272 277 self.verticalLayout_3.addItem(spacerItem3)
273 278 self.horizontalLayout_11 = QtGui.QHBoxLayout()
274 279 self.horizontalLayout_11.setSpacing(6)
275 280 self.horizontalLayout_11.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
276 281 self.horizontalLayout_11.setObjectName("horizontalLayout_11")
277 282 self.lblDcapacity = QtGui.QLabel(self.tabDconfig)
278 283 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
279 284 sizePolicy.setHorizontalStretch(0)
280 285 sizePolicy.setVerticalStretch(0)
281 286 sizePolicy.setHeightForWidth(self.lblDcapacity.sizePolicy().hasHeightForWidth())
282 287 self.lblDcapacity.setSizePolicy(sizePolicy)
283 288 self.lblDcapacity.setObjectName("lblDcapacity")
284 289 self.horizontalLayout_11.addWidget(self.lblDcapacity)
285 290 spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
286 291 self.horizontalLayout_11.addItem(spacerItem4)
287 292 self.verticalLayout_3.addLayout(self.horizontalLayout_11)
288 293 self.horizontalLayout_10 = QtGui.QHBoxLayout()
289 294 self.horizontalLayout_10.setSizeConstraint(QtGui.QLayout.SetFixedSize)
290 295 self.horizontalLayout_10.setObjectName("horizontalLayout_10")
291 296 self.lstDcapacity = QtGui.QComboBox(self.tabDconfig)
292 297 self.lstDcapacity.setObjectName("lstDcapacity")
293 298 self.lstDcapacity.addItem("")
294 299 self.lstDcapacity.addItem("")
295 300 self.lstDcapacity.addItem("")
296 301 self.lstDcapacity.addItem("")
297 302 self.lstDcapacity.addItem("")
298 303 self.horizontalLayout_10.addWidget(self.lstDcapacity)
299 304 self.txtDcapacity = QtGui.QDoubleSpinBox(self.tabDconfig)
300 305 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
301 306 sizePolicy.setHorizontalStretch(0)
302 307 sizePolicy.setVerticalStretch(0)
303 308 sizePolicy.setHeightForWidth(self.txtDcapacity.sizePolicy().hasHeightForWidth())
304 309 self.txtDcapacity.setSizePolicy(sizePolicy)
305 310 self.txtDcapacity.setReadOnly(True)
306 311 self.txtDcapacity.setMinimum(100.0)
307 312 self.txtDcapacity.setMaximum(99999.99)
308 313 self.txtDcapacity.setProperty("value", 4482.27)
309 314 self.txtDcapacity.setObjectName("txtDcapacity")
310 315 self.horizontalLayout_10.addWidget(self.txtDcapacity)
311 316 spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
312 317 self.horizontalLayout_10.addItem(spacerItem5)
313 318 self.lblPSgraphic = QtGui.QLabel(self.tabDconfig)
314 319 self.lblPSgraphic.setObjectName("lblPSgraphic")
315 320 self.horizontalLayout_10.addWidget(self.lblPSgraphic)
316 321 self.txtPSgraphic = QtGui.QSpinBox(self.tabDconfig)
317 322 self.txtPSgraphic.setMinimum(1)
318 323 self.txtPSgraphic.setMaximum(33)
319 324 self.txtPSgraphic.setObjectName("txtPSgraphic")
320 325 self.horizontalLayout_10.addWidget(self.txtPSgraphic)
321 326 self.verticalLayout_3.addLayout(self.horizontalLayout_10)
322 327 self.tabWidget.addTab(self.tabDconfig, "")
323 328 self.tabStatus = QtGui.QWidget()
324 329 self.tabStatus.setObjectName("tabStatus")
325 330 self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabStatus)
326 331 self.verticalLayout_4.setObjectName("verticalLayout_4")
327 332 self.horizontalLayout_18 = QtGui.QHBoxLayout()
328 333 self.horizontalLayout_18.setObjectName("horizontalLayout_18")
329 334 self.verticalLayout_21 = QtGui.QVBoxLayout()
330 335 self.verticalLayout_21.setObjectName("verticalLayout_21")
331 336 self.label_4 = QtGui.QLabel(self.tabStatus)
332 337 self.label_4.setObjectName("label_4")
333 338 self.verticalLayout_21.addWidget(self.label_4)
334 339 spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
335 340 self.verticalLayout_21.addItem(spacerItem6)
336 341 self.lblSTATUS = QtGui.QLabel(self.tabStatus)
337 342 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
338 343 sizePolicy.setHorizontalStretch(0)
339 344 sizePolicy.setVerticalStretch(0)
340 345 sizePolicy.setHeightForWidth(self.lblSTATUS.sizePolicy().hasHeightForWidth())
341 346 self.lblSTATUS.setSizePolicy(sizePolicy)
342 347 self.lblSTATUS.setObjectName("lblSTATUS")
343 348 self.verticalLayout_21.addWidget(self.lblSTATUS)
344 349 self.lblINFO = QtGui.QLabel(self.tabStatus)
345 350 self.lblINFO.setObjectName("lblINFO")
346 351 self.verticalLayout_21.addWidget(self.lblINFO)
347 352 self.lblSET = QtGui.QLabel(self.tabStatus)
348 353 self.lblSET.setObjectName("lblSET")
349 354 self.verticalLayout_21.addWidget(self.lblSET)
350 355 self.horizontalLayout_18.addLayout(self.verticalLayout_21)
351 356 self.verticalLayout_22 = QtGui.QVBoxLayout()
352 357 self.verticalLayout_22.setObjectName("verticalLayout_22")
353 358 spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
354 359 self.verticalLayout_22.addItem(spacerItem7)
355 360 self.lblDevA = QtGui.QLabel(self.tabStatus)
356 361 self.lblDevA.setAlignment(QtCore.Qt.AlignCenter)
357 362 self.lblDevA.setObjectName("lblDevA")
358 363 self.verticalLayout_22.addWidget(self.lblDevA)
359 364 self.txtBstatusA = QtGui.QLineEdit(self.tabStatus)
360 365 self.txtBstatusA.setReadOnly(True)
361 366 self.txtBstatusA.setObjectName("txtBstatusA")
362 367 self.verticalLayout_22.addWidget(self.txtBstatusA)
363 368 self.txtBdiscA = QtGui.QLineEdit(self.tabStatus)
364 369 self.txtBdiscA.setReadOnly(True)
365 370 self.txtBdiscA.setObjectName("txtBdiscA")
366 371 self.verticalLayout_22.addWidget(self.txtBdiscA)
367 372 self.txtBcopyA = QtGui.QLineEdit(self.tabStatus)
368 373 self.txtBcopyA.setReadOnly(True)
369 374 self.txtBcopyA.setObjectName("txtBcopyA")
370 375 self.verticalLayout_22.addWidget(self.txtBcopyA)
371 376 self.horizontalLayout_18.addLayout(self.verticalLayout_22)
372 377 self.verticalLayout_23 = QtGui.QVBoxLayout()
373 378 self.verticalLayout_23.setObjectName("verticalLayout_23")
374 379 spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
375 380 self.verticalLayout_23.addItem(spacerItem8)
376 381 self.lblDevB = QtGui.QLabel(self.tabStatus)
377 382 self.lblDevB.setAlignment(QtCore.Qt.AlignCenter)
378 383 self.lblDevB.setObjectName("lblDevB")
379 384 self.verticalLayout_23.addWidget(self.lblDevB)
380 385 self.txtBstatusB = QtGui.QLineEdit(self.tabStatus)
381 386 self.txtBstatusB.setReadOnly(True)
382 387 self.txtBstatusB.setObjectName("txtBstatusB")
383 388 self.verticalLayout_23.addWidget(self.txtBstatusB)
384 389 self.txtBdiscB = QtGui.QLineEdit(self.tabStatus)
385 390 self.txtBdiscB.setReadOnly(True)
386 391 self.txtBdiscB.setObjectName("txtBdiscB")
387 392 self.verticalLayout_23.addWidget(self.txtBdiscB)
388 393 self.txtBcopyB = QtGui.QLineEdit(self.tabStatus)
389 394 self.txtBcopyB.setReadOnly(True)
390 395 self.txtBcopyB.setObjectName("txtBcopyB")
391 396 self.verticalLayout_23.addWidget(self.txtBcopyB)
392 397 self.horizontalLayout_18.addLayout(self.verticalLayout_23)
393 398 self.verticalLayout_24 = QtGui.QVBoxLayout()
394 399 self.verticalLayout_24.setObjectName("verticalLayout_24")
395 400 spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
396 401 self.verticalLayout_24.addItem(spacerItem9)
397 402 self.lblDevC = QtGui.QLabel(self.tabStatus)
398 403 self.lblDevC.setAlignment(QtCore.Qt.AlignCenter)
399 404 self.lblDevC.setObjectName("lblDevC")
400 405 self.verticalLayout_24.addWidget(self.lblDevC)
401 406 self.txtBstatusC = QtGui.QLineEdit(self.tabStatus)
402 407 self.txtBstatusC.setReadOnly(True)
403 408 self.txtBstatusC.setObjectName("txtBstatusC")
404 409 self.verticalLayout_24.addWidget(self.txtBstatusC)
405 410 self.txtBdiscC = QtGui.QLineEdit(self.tabStatus)
406 411 self.txtBdiscC.setReadOnly(True)
407 412 self.txtBdiscC.setObjectName("txtBdiscC")
408 413 self.verticalLayout_24.addWidget(self.txtBdiscC)
409 414 self.txtBcopyC = QtGui.QLineEdit(self.tabStatus)
410 415 self.txtBcopyC.setReadOnly(True)
411 416 self.txtBcopyC.setObjectName("txtBcopyC")
412 417 self.verticalLayout_24.addWidget(self.txtBcopyC)
413 418 self.horizontalLayout_18.addLayout(self.verticalLayout_24)
414 419 self.verticalLayout_25 = QtGui.QVBoxLayout()
415 420 self.verticalLayout_25.setObjectName("verticalLayout_25")
416 421 spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
417 422 self.verticalLayout_25.addItem(spacerItem10)
418 423 self.lblDevD = QtGui.QLabel(self.tabStatus)
419 424 self.lblDevD.setAlignment(QtCore.Qt.AlignCenter)
420 425 self.lblDevD.setObjectName("lblDevD")
421 426 self.verticalLayout_25.addWidget(self.lblDevD)
422 427 self.txtBstatusD = QtGui.QLineEdit(self.tabStatus)
423 428 self.txtBstatusD.setReadOnly(True)
424 429 self.txtBstatusD.setObjectName("txtBstatusD")
425 430 self.verticalLayout_25.addWidget(self.txtBstatusD)
426 431 self.txtBdiscD = QtGui.QLineEdit(self.tabStatus)
427 432 self.txtBdiscD.setReadOnly(True)
428 433 self.txtBdiscD.setObjectName("txtBdiscD")
429 434 self.verticalLayout_25.addWidget(self.txtBdiscD)
430 435 self.txtBcopyD = QtGui.QLineEdit(self.tabStatus)
431 436 self.txtBcopyD.setReadOnly(True)
432 437 self.txtBcopyD.setObjectName("txtBcopyD")
433 438 self.verticalLayout_25.addWidget(self.txtBcopyD)
434 439 self.horizontalLayout_18.addLayout(self.verticalLayout_25)
435 440 self.verticalLayout_4.addLayout(self.horizontalLayout_18)
436 441 spacerItem11 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
437 442 self.verticalLayout_4.addItem(spacerItem11)
438 443 self.horizontalLayout_16 = QtGui.QHBoxLayout()
439 444 self.horizontalLayout_16.setObjectName("horizontalLayout_16")
440 445 self.label = QtGui.QLabel(self.tabStatus)
441 446 self.label.setObjectName("label")
442 447 self.horizontalLayout_16.addWidget(self.label)
443 448 spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
444 449 self.horizontalLayout_16.addItem(spacerItem12)
445 450 self.verticalLayout_4.addLayout(self.horizontalLayout_16)
446 451 self.horizontalLayout_17 = QtGui.QHBoxLayout()
447 452 self.horizontalLayout_17.setObjectName("horizontalLayout_17")
448 453 spacerItem13 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
449 454 self.horizontalLayout_17.addItem(spacerItem13)
450 455 self.txtTDpath = QtGui.QLineEdit(self.tabStatus)
451 456 self.txtTDpath.setEnabled(False)
452 457 self.txtTDpath.setObjectName("txtTDpath")
453 458 self.horizontalLayout_17.addWidget(self.txtTDpath)
454 459 self.btnTDpath = QtGui.QPushButton(self.tabStatus)
455 460 self.btnTDpath.setEnabled(False)
456 461 self.btnTDpath.setObjectName("btnTDpath")
457 462 self.horizontalLayout_17.addWidget(self.btnTDpath)
458 463 self.verticalLayout_4.addLayout(self.horizontalLayout_17)
459 464 self.horizontalLayout_19 = QtGui.QHBoxLayout()
460 465 self.horizontalLayout_19.setObjectName("horizontalLayout_19")
461 466 self.verticalLayout_26 = QtGui.QVBoxLayout()
462 467 self.verticalLayout_26.setObjectName("verticalLayout_26")
463 468 spacerItem14 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
464 469 self.verticalLayout_26.addItem(spacerItem14)
465 470 self.lblSTATUS_2 = QtGui.QLabel(self.tabStatus)
466 471 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
467 472 sizePolicy.setHorizontalStretch(0)
468 473 sizePolicy.setVerticalStretch(0)
469 474 sizePolicy.setHeightForWidth(self.lblSTATUS_2.sizePolicy().hasHeightForWidth())
470 475 self.lblSTATUS_2.setSizePolicy(sizePolicy)
471 476 self.lblSTATUS_2.setObjectName("lblSTATUS_2")
472 477 self.verticalLayout_26.addWidget(self.lblSTATUS_2)
473 478 self.horizontalLayout_19.addLayout(self.verticalLayout_26)
474 479 self.verticalLayout_27 = QtGui.QVBoxLayout()
475 480 self.verticalLayout_27.setObjectName("verticalLayout_27")
476 481 self.lblDevA_2 = QtGui.QLabel(self.tabStatus)
477 482 self.lblDevA_2.setAlignment(QtCore.Qt.AlignCenter)
478 483 self.lblDevA_2.setObjectName("lblDevA_2")
479 484 self.verticalLayout_27.addWidget(self.lblDevA_2)
480 485 self.txtCHstatusA = QtGui.QLineEdit(self.tabStatus)
481 486 self.txtCHstatusA.setReadOnly(True)
482 487 self.txtCHstatusA.setObjectName("txtCHstatusA")
483 488 self.verticalLayout_27.addWidget(self.txtCHstatusA)
484 489 self.horizontalLayout_19.addLayout(self.verticalLayout_27)
485 490 self.verticalLayout_28 = QtGui.QVBoxLayout()
486 491 self.verticalLayout_28.setObjectName("verticalLayout_28")
487 492 self.lblDevB_2 = QtGui.QLabel(self.tabStatus)
488 493 self.lblDevB_2.setAlignment(QtCore.Qt.AlignCenter)
489 494 self.lblDevB_2.setObjectName("lblDevB_2")
490 495 self.verticalLayout_28.addWidget(self.lblDevB_2)
491 496 self.txtCHstatusB = QtGui.QLineEdit(self.tabStatus)
492 497 self.txtCHstatusB.setReadOnly(True)
493 498 self.txtCHstatusB.setObjectName("txtCHstatusB")
494 499 self.verticalLayout_28.addWidget(self.txtCHstatusB)
495 500 self.horizontalLayout_19.addLayout(self.verticalLayout_28)
496 501 self.verticalLayout_29 = QtGui.QVBoxLayout()
497 502 self.verticalLayout_29.setObjectName("verticalLayout_29")
498 503 self.lblDevC_2 = QtGui.QLabel(self.tabStatus)
499 504 self.lblDevC_2.setAlignment(QtCore.Qt.AlignCenter)
500 505 self.lblDevC_2.setObjectName("lblDevC_2")
501 506 self.verticalLayout_29.addWidget(self.lblDevC_2)
502 507 self.txtCHstatusC = QtGui.QLineEdit(self.tabStatus)
503 508 self.txtCHstatusC.setReadOnly(True)
504 509 self.txtCHstatusC.setObjectName("txtCHstatusC")
505 510 self.verticalLayout_29.addWidget(self.txtCHstatusC)
506 511 self.horizontalLayout_19.addLayout(self.verticalLayout_29)
507 512 self.verticalLayout_30 = QtGui.QVBoxLayout()
508 513 self.verticalLayout_30.setObjectName("verticalLayout_30")
509 514 self.lblDevD_2 = QtGui.QLabel(self.tabStatus)
510 515 self.lblDevD_2.setAlignment(QtCore.Qt.AlignCenter)
511 516 self.lblDevD_2.setObjectName("lblDevD_2")
512 517 self.verticalLayout_30.addWidget(self.lblDevD_2)
513 518 self.txtCHstatusD = QtGui.QLineEdit(self.tabStatus)
514 519 self.txtCHstatusD.setReadOnly(True)
515 520 self.txtCHstatusD.setObjectName("txtCHstatusD")
516 521 self.verticalLayout_30.addWidget(self.txtCHstatusD)
517 522 self.horizontalLayout_19.addLayout(self.verticalLayout_30)
518 523 self.verticalLayout_4.addLayout(self.horizontalLayout_19)
519 524 self.horizontalLayout_20 = QtGui.QHBoxLayout()
520 525 self.horizontalLayout_20.setObjectName("horizontalLayout_20")
521 526 spacerItem15 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
522 527 self.horizontalLayout_20.addItem(spacerItem15)
523 528 self.chkCheck = QtGui.QCheckBox(self.tabStatus)
524 529 self.chkCheck.setEnabled(True)
525 530 self.chkCheck.setObjectName("chkCheck")
526 531 self.horizontalLayout_20.addWidget(self.chkCheck)
527 532 spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
528 533 self.horizontalLayout_20.addItem(spacerItem16)
529 534 self.btnCHstart = QtGui.QPushButton(self.tabStatus)
530 535 self.btnCHstart.setEnabled(False)
531 536 self.btnCHstart.setObjectName("btnCHstart")
532 537 self.horizontalLayout_20.addWidget(self.btnCHstart)
533 538 self.verticalLayout_4.addLayout(self.horizontalLayout_20)
534 539 self.widget_2 = QtGui.QWidget(self.tabStatus)
535 540 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
536 541 sizePolicy.setHorizontalStretch(0)
537 542 sizePolicy.setVerticalStretch(0)
538 543 sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
539 544 self.widget_2.setSizePolicy(sizePolicy)
540 545 self.widget_2.setMaximumSize(QtCore.QSize(500, 16777215))
541 546 self.widget_2.setObjectName("widget_2")
542 547 self.gridLayout_2 = QtGui.QGridLayout(self.widget_2)
543 548 self.gridLayout_2.setObjectName("gridLayout_2")
544 549 self.verticalLayout_4.addWidget(self.widget_2)
545 550 self.tabWidget.addTab(self.tabStatus, "")
546 551 self.verticalLayout.addWidget(self.tabWidget)
547 552 self.txtInfo = QtGui.QTextEdit(self.centralwidget)
548 553 self.txtInfo.setReadOnly(True)
549 554 self.txtInfo.setObjectName("txtInfo")
550 555 self.verticalLayout.addWidget(self.txtInfo)
551 556 self.horizontalLayout_2 = QtGui.QHBoxLayout()
552 557 self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
553 558 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
554 559 self.btnGbkp = QtGui.QPushButton(self.centralwidget)
555 560 self.btnGbkp.setEnabled(False)
556 561 self.btnGbkp.setObjectName("btnGbkp")
557 562 self.horizontalLayout_2.addWidget(self.btnGbkp)
558 563 self.btnRestart = QtGui.QPushButton(self.centralwidget)
559 564 self.btnRestart.setEnabled(False)
560 565 self.btnRestart.setObjectName("btnRestart")
561 566 self.horizontalLayout_2.addWidget(self.btnRestart)
562 567 self.btnStartburn = QtGui.QPushButton(self.centralwidget)
563 568 self.btnStartburn.setEnabled(False)
564 569 self.btnStartburn.setObjectName("btnStartburn")
565 570 self.horizontalLayout_2.addWidget(self.btnStartburn)
566 571 self.btnStopburn = QtGui.QPushButton(self.centralwidget)
567 572 self.btnStopburn.setEnabled(False)
568 573 self.btnStopburn.setObjectName("btnStopburn")
569 574 self.horizontalLayout_2.addWidget(self.btnStopburn)
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, 613, 21))
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(True)
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())
598 603
599 604 self.retranslateUi(MainWindow)
600 605 self.tabWidget.setCurrentIndex(0)
601 606 self.lstDcapacity.setCurrentIndex(2)
602 607 QtCore.QObject.connect(self.actionQuit, QtCore.SIGNAL("triggered()"), MainWindow.close)
603 608 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.txtTDpath.setEnabled)
604 609 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.btnTDpath.setEnabled)
605 610 QtCore.QObject.connect(self.chkCheck, QtCore.SIGNAL("toggled(bool)"), self.btnCHstart.setEnabled)
606 611 QtCore.QObject.connect(self.chkDevD, QtCore.SIGNAL("toggled(bool)"), self.grpDevD.setEnabled)
607 612 QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled)
608 613 QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled)
609 614 QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled)
610 615 QtCore.QMetaObject.connectSlotsByName(MainWindow)
611 616 MainWindow.setTabOrder(self.txtDpath, self.btnDpath)
612 617 MainWindow.setTabOrder(self.btnDpath, self.txtRpath)
613 618 MainWindow.setTabOrder(self.txtRpath, self.btnRpath)
614 619 MainWindow.setTabOrder(self.btnRpath, self.lstDtype)
615 620 MainWindow.setTabOrder(self.lstDtype, self.txtDtype)
616 621 MainWindow.setTabOrder(self.txtDtype, self.txtElabel)
617 622 MainWindow.setTabOrder(self.txtElabel, self.lstStartDay)
618 623 MainWindow.setTabOrder(self.lstStartDay, self.lstStopDay)
619 624 MainWindow.setTabOrder(self.lstStopDay, self.lstDcapacity)
620 625 MainWindow.setTabOrder(self.lstDcapacity, self.tabWidget)
621 626 MainWindow.setTabOrder(self.tabWidget, self.btnGbkp)
622 627 MainWindow.setTabOrder(self.btnGbkp, self.btnRestart)
623 628 MainWindow.setTabOrder(self.btnRestart, self.btnStartburn)
624 629 MainWindow.setTabOrder(self.btnStartburn, self.btnStopburn)
625 630
626 631 def retranslateUi(self, MainWindow):
627 632 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "JRO BACKUP MANAGER", None, QtGui.QApplication.UnicodeUTF8))
628 633 self.btnDpath.setText(QtGui.QApplication.translate("MainWindow", "Data Path", None, QtGui.QApplication.UnicodeUTF8))
629 634 self.btnRpath.setText(QtGui.QApplication.translate("MainWindow", "Resource Path", None, QtGui.QApplication.UnicodeUTF8))
630 635 self.lblDtype.setText(QtGui.QApplication.translate("MainWindow", "Data Type", None, QtGui.QApplication.UnicodeUTF8))
631 636 self.lstDtype.setItemText(0, QtGui.QApplication.translate("MainWindow", "Raw Data", None, QtGui.QApplication.UnicodeUTF8))
632 637 self.lstDtype.setItemText(1, QtGui.QApplication.translate("MainWindow", "Process Data", None, QtGui.QApplication.UnicodeUTF8))
633 638 self.lstDtype.setItemText(2, QtGui.QApplication.translate("MainWindow", "BLTR Data", None, QtGui.QApplication.UnicodeUTF8))
634 639 self.lstDtype.setItemText(3, QtGui.QApplication.translate("MainWindow", "Other", None, QtGui.QApplication.UnicodeUTF8))
635 640 self.txtDtype.setText(QtGui.QApplication.translate("MainWindow", "r", None, QtGui.QApplication.UnicodeUTF8))
636 641 self.lblElabel.setText(QtGui.QApplication.translate("MainWindow", "Exp. Label at device", None, QtGui.QApplication.UnicodeUTF8))
637 642 self.lblCopys.setText(QtGui.QApplication.translate("MainWindow", "Copys", None, QtGui.QApplication.UnicodeUTF8))
638 643 self.lblStartDay.setText(QtGui.QApplication.translate("MainWindow", "Start Day:", None, QtGui.QApplication.UnicodeUTF8))
639 644 self.lblStopDay.setText(QtGui.QApplication.translate("MainWindow", "Stop Day:", None, QtGui.QApplication.UnicodeUTF8))
640 645 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabParameters), QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8))
641 646 self.chkDevA.setText(QtGui.QApplication.translate("MainWindow", "Dev A", None, QtGui.QApplication.UnicodeUTF8))
642 647 self.txtBmodeA.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8))
643 648 self.btnTdevA.setText(QtGui.QApplication.translate("MainWindow", "Test DevA", None, QtGui.QApplication.UnicodeUTF8))
644 649 self.chkDevB.setText(QtGui.QApplication.translate("MainWindow", "Dev B", None, QtGui.QApplication.UnicodeUTF8))
645 650 self.txtBmodeB.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8))
646 651 self.btnTdevB.setText(QtGui.QApplication.translate("MainWindow", "Test DevB", None, QtGui.QApplication.UnicodeUTF8))
647 652 self.chkDevC.setText(QtGui.QApplication.translate("MainWindow", "Dev C", None, QtGui.QApplication.UnicodeUTF8))
648 653 self.txtBmodeC.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8))
649 654 self.btnTdevC.setText(QtGui.QApplication.translate("MainWindow", "Test DevC", None, QtGui.QApplication.UnicodeUTF8))
650 655 self.chkDevD.setText(QtGui.QApplication.translate("MainWindow", "Dev D", None, QtGui.QApplication.UnicodeUTF8))
651 656 self.txtBmodeD.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8))
652 657 self.btnTdevD.setText(QtGui.QApplication.translate("MainWindow", "Test DevD", None, QtGui.QApplication.UnicodeUTF8))
653 658 self.lblDevice.setText(QtGui.QApplication.translate("MainWindow", "Device", None, QtGui.QApplication.UnicodeUTF8))
654 659 self.lblBspeed.setText(QtGui.QApplication.translate("MainWindow", "Burn Speed", None, QtGui.QApplication.UnicodeUTF8))
655 660 self.lblBmode.setText(QtGui.QApplication.translate("MainWindow", "Burn Mode", None, QtGui.QApplication.UnicodeUTF8))
656 661 self.lblDcapacity.setText(QtGui.QApplication.translate("MainWindow", "Device Capacity", None, QtGui.QApplication.UnicodeUTF8))
657 662 self.lstDcapacity.setItemText(0, QtGui.QApplication.translate("MainWindow", "BluRay [25.0 GB]", None, QtGui.QApplication.UnicodeUTF8))
658 663 self.lstDcapacity.setItemText(1, QtGui.QApplication.translate("MainWindow", "DVD2 [8.5 GB]", None, QtGui.QApplication.UnicodeUTF8))
659 664 self.lstDcapacity.setItemText(2, QtGui.QApplication.translate("MainWindow", "DVD1 [4.7 GB]", None, QtGui.QApplication.UnicodeUTF8))
660 665 self.lstDcapacity.setItemText(3, QtGui.QApplication.translate("MainWindow", "CD [0.7 GB]", None, QtGui.QApplication.UnicodeUTF8))
661 666 self.lstDcapacity.setItemText(4, QtGui.QApplication.translate("MainWindow", "Other [? MB]", None, QtGui.QApplication.UnicodeUTF8))
662 667 self.lblPSgraphic.setText(QtGui.QApplication.translate("MainWindow", "PS Graphic", None, QtGui.QApplication.UnicodeUTF8))
663 668 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDconfig), QtGui.QApplication.translate("MainWindow", "Device Config.", None, QtGui.QApplication.UnicodeUTF8))
664 669 self.label_4.setText(QtGui.QApplication.translate("MainWindow", "BURN", None, QtGui.QApplication.UnicodeUTF8))
665 670 self.lblSTATUS.setText(QtGui.QApplication.translate("MainWindow", "STATUS", None, QtGui.QApplication.UnicodeUTF8))
666 671 self.lblINFO.setText(QtGui.QApplication.translate("MainWindow", "DISC", None, QtGui.QApplication.UnicodeUTF8))
667 672 self.lblSET.setText(QtGui.QApplication.translate("MainWindow", "COPY", None, QtGui.QApplication.UnicodeUTF8))
668 673 self.lblDevA.setText(QtGui.QApplication.translate("MainWindow", "DEV A", None, QtGui.QApplication.UnicodeUTF8))
669 674 self.lblDevB.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8))
670 675 self.lblDevC.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8))
671 676 self.lblDevD.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8))
672 677 self.label.setText(QtGui.QApplication.translate("MainWindow", "CHECK", None, QtGui.QApplication.UnicodeUTF8))
673 678 self.btnTDpath.setText(QtGui.QApplication.translate("MainWindow", "Temp Data Path", None, QtGui.QApplication.UnicodeUTF8))
674 679 self.lblSTATUS_2.setText(QtGui.QApplication.translate("MainWindow", "STATUS", None, QtGui.QApplication.UnicodeUTF8))
675 680 self.lblDevA_2.setText(QtGui.QApplication.translate("MainWindow", "DEV A", None, QtGui.QApplication.UnicodeUTF8))
676 681 self.lblDevB_2.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8))
677 682 self.lblDevC_2.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8))
678 683 self.lblDevD_2.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8))
679 684 self.chkCheck.setText(QtGui.QApplication.translate("MainWindow", "MANUAL", None, QtGui.QApplication.UnicodeUTF8))
680 685 self.btnCHstart.setText(QtGui.QApplication.translate("MainWindow", "START", None, QtGui.QApplication.UnicodeUTF8))
681 686 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8))
682 687 self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8))
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 JRO BACKUP MANAGER", None, QtGui.QApplication.UnicodeUTF8))
696 self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
692 697
693 698
694 699 if __name__ == "__main__":
695 700 import sys
696 701 app = QtGui.QApplication(sys.argv)
697 702 MainWindow = QtGui.QMainWindow()
698 703 ui = Ui_MainWindow()
699 704 ui.setupUi(MainWindow)
700 705 MainWindow.show()
701 706 sys.exit(app.exec_())
702 707
General Comments 0
You need to be logged in to leave comments. Login now