~gabrieljoel/auto-ndiswrapper/KDE4-GUI

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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'kde.ui'
#
# Created: Tue Jan  6 21:07:22 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(330, 257)
        self.horizontalLayout_2 = QtGui.QHBoxLayout(Form)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.titleLabel = QtGui.QLabel(Form)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setWeight(75)
        font.setBold(True)
        self.titleLabel.setFont(font)
        self.titleLabel.setObjectName("titleLabel")
        self.verticalLayout.addWidget(self.titleLabel)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.progressIconLabel2 = QtGui.QLabel(Form)
        self.progressIconLabel2.setObjectName("progressIconLabel2")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.progressIconLabel2)
        self.checkingDriverLabel = QtGui.QLabel(Form)
        self.checkingDriverLabel.setObjectName("checkingDriverLabel")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkingDriverLabel)
        self.progressIconLabel3 = QtGui.QLabel(Form)
        self.progressIconLabel3.setObjectName("progressIconLabel3")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.progressIconLabel3)
        self.installationProcedureLabel = QtGui.QLabel(Form)
        self.installationProcedureLabel.setObjectName("installationProcedureLabel")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.installationProcedureLabel)
        self.progressIconLabel4 = QtGui.QLabel(Form)
        self.progressIconLabel4.setObjectName("progressIconLabel4")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.progressIconLabel4)
        self.downloadingDriverLabel = QtGui.QLabel(Form)
        self.downloadingDriverLabel.setObjectName("downloadingDriverLabel")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.downloadingDriverLabel)
        self.progressIconLabel5 = QtGui.QLabel(Form)
        self.progressIconLabel5.setObjectName("progressIconLabel5")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.progressIconLabel5)
        self.extractingDriverLabel = QtGui.QLabel(Form)
        self.extractingDriverLabel.setObjectName("extractingDriverLabel")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.extractingDriverLabel)
        self.progressIconLabel6 = QtGui.QLabel(Form)
        self.progressIconLabel6.setObjectName("progressIconLabel6")
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.progressIconLabel6)
        self.installingDriverLabel = QtGui.QLabel(Form)
        self.installingDriverLabel.setObjectName("installingDriverLabel")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.installingDriverLabel)
        self.detectingWirelessLabel = QtGui.QLabel(Form)
        self.detectingWirelessLabel.setObjectName("detectingWirelessLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.detectingWirelessLabel)
        self.progressIconLabel = QtGui.QLabel(Form)
        self.progressIconLabel.setPixmap(QtGui.QPixmap(":/icons/1rightarrow.png"))
        self.progressIconLabel.setObjectName("progressIconLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.progressIconLabel)
        self.verticalLayout.addLayout(self.formLayout)
        self.progressBar = QtGui.QProgressBar(Form)
        self.progressBar.setProperty("value", QtCore.QVariant(24))
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout.addWidget(self.progressBar)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(-1, 0, -1, -1)
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(30, 20, QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.setUpDriverButton = KPushButton(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.setUpDriverButton.sizePolicy().hasHeightForWidth())
        self.setUpDriverButton.setSizePolicy(sizePolicy)
        self.setUpDriverButton.setObjectName("setUpDriverButton")
        self.horizontalLayout.addWidget(self.setUpDriverButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2.addLayout(self.verticalLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.titleLabel.setText(QtGui.QApplication.translate("Form", "Auto-NDISwrapper", None, QtGui.QApplication.UnicodeUTF8))
        self.checkingDriverLabel.setText(QtGui.QApplication.translate("Form", "Checking driver availability", None, QtGui.QApplication.UnicodeUTF8))
        self.installationProcedureLabel.setText(QtGui.QApplication.translate("Form", "Determining installation procedure", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadingDriverLabel.setText(QtGui.QApplication.translate("Form", "Downloading driver", None, QtGui.QApplication.UnicodeUTF8))
        self.extractingDriverLabel.setText(QtGui.QApplication.translate("Form", "Extracting driver", None, QtGui.QApplication.UnicodeUTF8))
        self.installingDriverLabel.setText(QtGui.QApplication.translate("Form", "Installing driver", None, QtGui.QApplication.UnicodeUTF8))
        self.detectingWirelessLabel.setText(QtGui.QApplication.translate("Form", "Detecting wireless card", None, QtGui.QApplication.UnicodeUTF8))
        self.setUpDriverButton.setText(QtGui.QApplication.translate("Form", "Set Up Driver", None, QtGui.QApplication.UnicodeUTF8))

from kpushbutton import KPushButton
import resources_rc