1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'data/liveusb-creator-linux.ui'
#
# Created: Mon Dec 29 19:22:24 2008
# by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from liveusb import utf8_gettext as _
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(430, 388)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
Dialog.setSizePolicy(sizePolicy)
self.startButton = QtGui.QPushButton(Dialog)
self.startButton.setEnabled(True)
self.startButton.setGeometry(QtCore.QRect(112, 348, 209, 34))
self.startButton.setObjectName("startButton")
self.textEdit = QtGui.QTextEdit(Dialog)
self.textEdit.setGeometry(QtCore.QRect(8, 200, 409, 111))
font = QtGui.QFont()
font.setPointSize(8)
self.textEdit.setFont(font)
self.textEdit.setReadOnly(True)
self.textEdit.setObjectName("textEdit")
self.progressBar = QtGui.QProgressBar(Dialog)
self.progressBar.setGeometry(QtCore.QRect(10, 320, 405, 23))
self.progressBar.setProperty("value", QtCore.QVariant(0))
self.progressBar.setTextVisible(True)
self.progressBar.setObjectName("progressBar")
self.groupBox = QtGui.QGroupBox(Dialog)
self.groupBox.setGeometry(QtCore.QRect(12, 80, 161, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.groupBox.setFont(font)
self.groupBox.setObjectName("groupBox")
self.isoBttn = QtGui.QPushButton(self.groupBox)
self.isoBttn.setGeometry(QtCore.QRect(11, 18, 141, 25))
self.isoBttn.setObjectName("isoBttn")
self.groupBox_2 = QtGui.QGroupBox(Dialog)
#self.groupBox_2.setGeometry(QtCore.QRect(10, 140, 201, 51))
self.groupBox_2.setGeometry(QtCore.QRect(10, 140, 261, 51))
font = QtGui.QFont()
font.setPointSize(8)
self.groupBox_2.setFont(font)
self.groupBox_2.setObjectName("groupBox_2")
self.driveBox = QtGui.QComboBox(self.groupBox_2)
#self.driveBox.setGeometry(QtCore.QRect(10, 20, 181, 25))
self.driveBox.setGeometry(QtCore.QRect(10, 20, 241, 25))
self.driveBox.setEditable(False)
self.driveBox.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
self.driveBox.setDuplicatesEnabled(False)
self.driveBox.setObjectName("driveBox")
self.label = QtGui.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(0, 0, 431, 72))
self.label.setPixmap(QtGui.QPixmap(":/mageia-liveusb.png"))
self.label.setObjectName("label")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "usbdumper", None, QtGui.QApplication.UnicodeUTF8))
self.startButton.setText(QtGui.QApplication.translate("Dialog", _("Create Live USB"), None, QtGui.QApplication.UnicodeUTF8))
self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", _("Use existing Live CD"), None, QtGui.QApplication.UnicodeUTF8))
self.isoBttn.setText(QtGui.QApplication.translate("Dialog", _("Browse"), None, QtGui.QApplication.UnicodeUTF8))
self.isoBttn.setShortcut(QtGui.QApplication.translate("Dialog", "Alt+B", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox_2.setTitle(QtGui.QApplication.translate("Dialog", _("Target Device"), None, QtGui.QApplication.UnicodeUTF8))
import resources_rc
|