~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to ui4/settingsdialog_base.py

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-14 20:08:44 UTC
  • mfrom: (2.1.118 lucid)
  • Revision ID: james.westby@ubuntu.com-20091214200844-z8qhqwgppbu3t7ze
Tags: 3.9.10-4
KBSD patch from KiBi (Closes: #560796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Form implementation generated from reading ui file 'ui4/settingsdialog_base.ui'
4
4
#
5
 
# Created: Thu Apr  9 13:51:55 2009
6
 
#      by: PyQt4 UI code generator 4.3.3
 
5
# Created: Mon May  4 14:30:36 2009
 
6
#      by: PyQt4 UI code generator 4.4.4
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
9
9
 
12
12
class Ui_SettingsDialog_base(object):
13
13
    def setupUi(self, SettingsDialog_base):
14
14
        SettingsDialog_base.setObjectName("SettingsDialog_base")
15
 
        SettingsDialog_base.resize(QtCore.QSize(QtCore.QRect(0,0,500,540).size()).expandedTo(SettingsDialog_base.minimumSizeHint()))
16
 
 
 
15
        SettingsDialog_base.resize(500, 540)
17
16
        self.gridlayout = QtGui.QGridLayout(SettingsDialog_base)
18
17
        self.gridlayout.setObjectName("gridlayout")
19
 
 
20
18
        self.TabWidget = QtGui.QTabWidget(SettingsDialog_base)
21
19
        self.TabWidget.setObjectName("TabWidget")
22
 
 
23
20
        self.AutoRefresh = QtGui.QWidget()
24
21
        self.AutoRefresh.setObjectName("AutoRefresh")
25
 
 
26
22
        self.gridlayout1 = QtGui.QGridLayout(self.AutoRefresh)
27
23
        self.gridlayout1.setObjectName("gridlayout1")
28
 
 
29
24
        self.textLabel3_2_2 = QtGui.QLabel(self.AutoRefresh)
30
25
        self.textLabel3_2_2.setWordWrap(False)
31
26
        self.textLabel3_2_2.setObjectName("textLabel3_2_2")
32
 
        self.gridlayout1.addWidget(self.textLabel3_2_2,0,0,1,1)
33
 
 
 
27
        self.gridlayout1.addWidget(self.textLabel3_2_2, 0, 0, 1, 1)
34
28
        self.line1_2_2 = QtGui.QFrame(self.AutoRefresh)
35
29
        self.line1_2_2.setFrameShape(QtGui.QFrame.HLine)
36
30
        self.line1_2_2.setFrameShadow(QtGui.QFrame.Sunken)
37
31
        self.line1_2_2.setObjectName("line1_2_2")
38
 
        self.gridlayout1.addWidget(self.line1_2_2,1,0,1,1)
39
 
 
 
32
        self.gridlayout1.addWidget(self.line1_2_2, 1, 0, 1, 1)
40
33
        self.AutoRefreshCheckBox = QtGui.QCheckBox(self.AutoRefresh)
41
34
        self.AutoRefreshCheckBox.setObjectName("AutoRefreshCheckBox")
42
 
        self.gridlayout1.addWidget(self.AutoRefreshCheckBox,2,0,1,1)
43
 
 
 
35
        self.gridlayout1.addWidget(self.AutoRefreshCheckBox, 2, 0, 1, 1)
44
36
        self.RefreshRateGroupBox = QtGui.QGroupBox(self.AutoRefresh)
45
37
        self.RefreshRateGroupBox.setEnabled(True)
46
38
        self.RefreshRateGroupBox.setObjectName("RefreshRateGroupBox")
47
 
 
48
39
        self.gridlayout2 = QtGui.QGridLayout(self.RefreshRateGroupBox)
49
40
        self.gridlayout2.setObjectName("gridlayout2")
50
 
 
51
41
        self.textLabel1_4 = QtGui.QLabel(self.RefreshRateGroupBox)
52
42
        self.textLabel1_4.setWordWrap(False)
53
43
        self.textLabel1_4.setObjectName("textLabel1_4")
54
 
        self.gridlayout2.addWidget(self.textLabel1_4,0,0,1,1)
55
 
 
 
44
        self.gridlayout2.addWidget(self.textLabel1_4, 0, 0, 1, 1)
56
45
        self.hboxlayout = QtGui.QHBoxLayout()
57
46
        self.hboxlayout.setObjectName("hboxlayout")
58
 
 
59
47
        self.AutoRefreshRateSpinBox = QtGui.QSpinBox(self.RefreshRateGroupBox)
60
48
        self.AutoRefreshRateSpinBox.setEnabled(False)
61
49
        self.AutoRefreshRateSpinBox.setWrapping(True)
62
50
        self.AutoRefreshRateSpinBox.setButtonSymbols(QtGui.QAbstractSpinBox.PlusMinus)
63
51
        self.AutoRefreshRateSpinBox.setMinimum(10)
64
52
        self.AutoRefreshRateSpinBox.setMaximum(300)
65
 
        self.AutoRefreshRateSpinBox.setProperty("value",QtCore.QVariant(30))
 
53
        self.AutoRefreshRateSpinBox.setProperty("value", QtCore.QVariant(30))
66
54
        self.AutoRefreshRateSpinBox.setObjectName("AutoRefreshRateSpinBox")
67
55
        self.hboxlayout.addWidget(self.AutoRefreshRateSpinBox)
68
 
        self.gridlayout2.addLayout(self.hboxlayout,0,1,1,1)
69
 
 
70
 
        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
71
 
        self.gridlayout2.addItem(spacerItem,0,2,1,1)
72
 
        self.gridlayout1.addWidget(self.RefreshRateGroupBox,3,0,1,1)
73
 
 
 
56
        self.gridlayout2.addLayout(self.hboxlayout, 0, 1, 1, 1)
 
57
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
 
58
        self.gridlayout2.addItem(spacerItem, 0, 2, 1, 1)
 
59
        self.gridlayout1.addWidget(self.RefreshRateGroupBox, 3, 0, 1, 1)
74
60
        self.RefreshTypeGroupBox = QtGui.QGroupBox(self.AutoRefresh)
75
61
        self.RefreshTypeGroupBox.setObjectName("RefreshTypeGroupBox")
76
 
 
77
62
        self.gridlayout3 = QtGui.QGridLayout(self.RefreshTypeGroupBox)
78
63
        self.gridlayout3.setObjectName("gridlayout3")
79
 
 
80
64
        self.RefreshCurrentRadioButton = QtGui.QRadioButton(self.RefreshTypeGroupBox)
81
65
        self.RefreshCurrentRadioButton.setEnabled(False)
82
66
        self.RefreshCurrentRadioButton.setChecked(True)
83
67
        self.RefreshCurrentRadioButton.setObjectName("RefreshCurrentRadioButton")
84
 
        self.gridlayout3.addWidget(self.RefreshCurrentRadioButton,0,0,1,1)
85
 
 
 
68
        self.gridlayout3.addWidget(self.RefreshCurrentRadioButton, 0, 0, 1, 1)
86
69
        self.RefreshAllRadioButton = QtGui.QRadioButton(self.RefreshTypeGroupBox)
87
70
        self.RefreshAllRadioButton.setEnabled(False)
88
71
        self.RefreshAllRadioButton.setObjectName("RefreshAllRadioButton")
89
 
        self.gridlayout3.addWidget(self.RefreshAllRadioButton,1,0,1,1)
90
 
        self.gridlayout1.addWidget(self.RefreshTypeGroupBox,4,0,1,1)
91
 
 
92
 
        spacerItem1 = QtGui.QSpacerItem(446,41,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
93
 
        self.gridlayout1.addItem(spacerItem1,5,0,1,1)
94
 
        self.TabWidget.addTab(self.AutoRefresh,"")
95
 
 
 
72
        self.gridlayout3.addWidget(self.RefreshAllRadioButton, 1, 0, 1, 1)
 
73
        self.gridlayout1.addWidget(self.RefreshTypeGroupBox, 4, 0, 1, 1)
 
74
        spacerItem1 = QtGui.QSpacerItem(446, 41, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
 
75
        self.gridlayout1.addItem(spacerItem1, 5, 0, 1, 1)
 
76
        self.TabWidget.addTab(self.AutoRefresh, "")
96
77
        self.SystemTray = QtGui.QWidget()
97
78
        self.SystemTray.setObjectName("SystemTray")
98
 
 
99
79
        self.gridlayout4 = QtGui.QGridLayout(self.SystemTray)
100
80
        self.gridlayout4.setObjectName("gridlayout4")
101
 
 
102
81
        self.textLabel3_2_3 = QtGui.QLabel(self.SystemTray)
103
82
        self.textLabel3_2_3.setWordWrap(False)
104
83
        self.textLabel3_2_3.setObjectName("textLabel3_2_3")
105
 
        self.gridlayout4.addWidget(self.textLabel3_2_3,0,0,1,1)
106
 
 
 
84
        self.gridlayout4.addWidget(self.textLabel3_2_3, 0, 0, 1, 1)
107
85
        self.line1_2_3 = QtGui.QFrame(self.SystemTray)
108
86
        self.line1_2_3.setFrameShape(QtGui.QFrame.HLine)
109
87
        self.line1_2_3.setFrameShadow(QtGui.QFrame.Sunken)
110
88
        self.line1_2_3.setObjectName("line1_2_3")
111
 
        self.gridlayout4.addWidget(self.line1_2_3,1,0,1,1)
112
 
 
 
89
        self.gridlayout4.addWidget(self.line1_2_3, 1, 0, 1, 1)
113
90
        self.SystemTraySettings = SystrayFrame(self.SystemTray)
114
 
 
115
 
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
 
91
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
116
92
        sizePolicy.setHorizontalStretch(0)
117
93
        sizePolicy.setVerticalStretch(0)
118
94
        sizePolicy.setHeightForWidth(self.SystemTraySettings.sizePolicy().hasHeightForWidth())
119
95
        self.SystemTraySettings.setSizePolicy(sizePolicy)
120
96
        self.SystemTraySettings.setFrameShadow(QtGui.QFrame.Raised)
121
97
        self.SystemTraySettings.setObjectName("SystemTraySettings")
122
 
        self.gridlayout4.addWidget(self.SystemTraySettings,2,0,1,1)
123
 
        self.TabWidget.addTab(self.SystemTray,"")
124
 
 
 
98
        self.gridlayout4.addWidget(self.SystemTraySettings, 2, 0, 1, 1)
 
99
        self.TabWidget.addTab(self.SystemTray, "")
125
100
        self.Commands = QtGui.QWidget()
126
101
        self.Commands.setObjectName("Commands")
127
 
 
128
102
        self.gridlayout5 = QtGui.QGridLayout(self.Commands)
129
103
        self.gridlayout5.setObjectName("gridlayout5")
130
 
 
131
104
        self.textLabel3_2_2_2 = QtGui.QLabel(self.Commands)
132
105
        self.textLabel3_2_2_2.setWordWrap(False)
133
106
        self.textLabel3_2_2_2.setObjectName("textLabel3_2_2_2")
134
 
        self.gridlayout5.addWidget(self.textLabel3_2_2_2,0,0,1,2)
135
 
 
 
107
        self.gridlayout5.addWidget(self.textLabel3_2_2_2, 0, 0, 1, 2)
136
108
        self.line1_2_2_3 = QtGui.QFrame(self.Commands)
137
109
        self.line1_2_2_3.setFrameShape(QtGui.QFrame.HLine)
138
110
        self.line1_2_2_3.setFrameShadow(QtGui.QFrame.Sunken)
139
111
        self.line1_2_2_3.setObjectName("line1_2_2_3")
140
 
        self.gridlayout5.addWidget(self.line1_2_2_3,1,0,1,2)
141
 
 
 
112
        self.gridlayout5.addWidget(self.line1_2_2_3, 1, 0, 1, 2)
142
113
        self.groupBox_3 = QtGui.QGroupBox(self.Commands)
143
114
        self.groupBox_3.setObjectName("groupBox_3")
144
 
 
145
115
        self.gridlayout6 = QtGui.QGridLayout(self.groupBox_3)
146
116
        self.gridlayout6.setObjectName("gridlayout6")
147
 
 
148
117
        self.textLabel1_2 = QtGui.QLabel(self.groupBox_3)
149
118
        self.textLabel1_2.setEnabled(False)
150
119
        self.textLabel1_2.setWordWrap(False)
151
120
        self.textLabel1_2.setObjectName("textLabel1_2")
152
 
        self.gridlayout6.addWidget(self.textLabel1_2,0,0,1,1)
153
 
 
 
121
        self.gridlayout6.addWidget(self.textLabel1_2, 0, 0, 1, 1)
154
122
        self.PrintCommandLineEdit = QtGui.QLineEdit(self.groupBox_3)
155
123
        self.PrintCommandLineEdit.setEnabled(False)
156
124
        self.PrintCommandLineEdit.setObjectName("PrintCommandLineEdit")
157
 
        self.gridlayout6.addWidget(self.PrintCommandLineEdit,1,0,1,1)
158
 
 
 
125
        self.gridlayout6.addWidget(self.PrintCommandLineEdit, 1, 0, 1, 1)
159
126
        self.textLabel2_2 = QtGui.QLabel(self.groupBox_3)
160
127
        self.textLabel2_2.setWordWrap(False)
161
128
        self.textLabel2_2.setObjectName("textLabel2_2")
162
 
        self.gridlayout6.addWidget(self.textLabel2_2,2,0,1,1)
163
 
 
 
129
        self.gridlayout6.addWidget(self.textLabel2_2, 2, 0, 1, 1)
164
130
        self.ScanCommandLineEdit = QtGui.QLineEdit(self.groupBox_3)
165
131
        self.ScanCommandLineEdit.setObjectName("ScanCommandLineEdit")
166
 
        self.gridlayout6.addWidget(self.ScanCommandLineEdit,3,0,1,1)
167
 
 
 
132
        self.gridlayout6.addWidget(self.ScanCommandLineEdit, 3, 0, 1, 1)
168
133
        self.textLabel3_3 = QtGui.QLabel(self.groupBox_3)
169
134
        self.textLabel3_3.setEnabled(False)
170
135
        self.textLabel3_3.setWordWrap(False)
171
136
        self.textLabel3_3.setObjectName("textLabel3_3")
172
 
        self.gridlayout6.addWidget(self.textLabel3_3,4,0,1,1)
173
 
 
 
137
        self.gridlayout6.addWidget(self.textLabel3_3, 4, 0, 1, 1)
174
138
        self.SendFaxCommandLineEdit = QtGui.QLineEdit(self.groupBox_3)
175
139
        self.SendFaxCommandLineEdit.setEnabled(False)
176
140
        self.SendFaxCommandLineEdit.setObjectName("SendFaxCommandLineEdit")
177
 
        self.gridlayout6.addWidget(self.SendFaxCommandLineEdit,5,0,1,1)
178
 
 
 
141
        self.gridlayout6.addWidget(self.SendFaxCommandLineEdit, 5, 0, 1, 1)
179
142
        self.textLabel4 = QtGui.QLabel(self.groupBox_3)
180
143
        self.textLabel4.setEnabled(False)
181
144
        self.textLabel4.setWordWrap(False)
182
145
        self.textLabel4.setObjectName("textLabel4")
183
 
        self.gridlayout6.addWidget(self.textLabel4,6,0,1,1)
184
 
 
 
146
        self.gridlayout6.addWidget(self.textLabel4, 6, 0, 1, 1)
185
147
        self.AccessPCardCommandLineEdit = QtGui.QLineEdit(self.groupBox_3)
186
148
        self.AccessPCardCommandLineEdit.setEnabled(False)
187
149
        self.AccessPCardCommandLineEdit.setObjectName("AccessPCardCommandLineEdit")
188
 
        self.gridlayout6.addWidget(self.AccessPCardCommandLineEdit,7,0,1,1)
189
 
 
 
150
        self.gridlayout6.addWidget(self.AccessPCardCommandLineEdit, 7, 0, 1, 1)
190
151
        self.textLabel5 = QtGui.QLabel(self.groupBox_3)
191
152
        self.textLabel5.setEnabled(False)
192
153
        self.textLabel5.setWordWrap(False)
193
154
        self.textLabel5.setObjectName("textLabel5")
194
 
        self.gridlayout6.addWidget(self.textLabel5,8,0,1,1)
195
 
 
 
155
        self.gridlayout6.addWidget(self.textLabel5, 8, 0, 1, 1)
196
156
        self.MakeCopiesCommandLineEdit = QtGui.QLineEdit(self.groupBox_3)
197
157
        self.MakeCopiesCommandLineEdit.setEnabled(False)
198
158
        self.MakeCopiesCommandLineEdit.setObjectName("MakeCopiesCommandLineEdit")
199
 
        self.gridlayout6.addWidget(self.MakeCopiesCommandLineEdit,9,0,1,1)
200
 
        self.gridlayout5.addWidget(self.groupBox_3,2,0,1,2)
201
 
 
202
 
        spacerItem2 = QtGui.QSpacerItem(20,60,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
203
 
        self.gridlayout5.addItem(spacerItem2,3,1,1,1)
204
 
 
 
159
        self.gridlayout6.addWidget(self.MakeCopiesCommandLineEdit, 9, 0, 1, 1)
 
160
        self.gridlayout5.addWidget(self.groupBox_3, 2, 0, 1, 2)
 
161
        spacerItem2 = QtGui.QSpacerItem(20, 60, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
 
162
        self.gridlayout5.addItem(spacerItem2, 3, 1, 1, 1)
205
163
        self.SetDefaultsButton = QtGui.QPushButton(self.Commands)
206
164
        self.SetDefaultsButton.setEnabled(True)
207
165
        self.SetDefaultsButton.setObjectName("SetDefaultsButton")
208
 
        self.gridlayout5.addWidget(self.SetDefaultsButton,4,0,1,1)
209
 
 
210
 
        spacerItem3 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
211
 
        self.gridlayout5.addItem(spacerItem3,4,1,1,1)
212
 
        self.TabWidget.addTab(self.Commands,"")
213
 
        self.gridlayout.addWidget(self.TabWidget,0,0,1,2)
214
 
 
215
 
        spacerItem4 = QtGui.QSpacerItem(301,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
216
 
        self.gridlayout.addItem(spacerItem4,1,0,1,1)
217
 
 
 
166
        self.gridlayout5.addWidget(self.SetDefaultsButton, 4, 0, 1, 1)
 
167
        spacerItem3 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
 
168
        self.gridlayout5.addItem(spacerItem3, 4, 1, 1, 1)
 
169
        self.TabWidget.addTab(self.Commands, "")
 
170
        self.gridlayout.addWidget(self.TabWidget, 0, 0, 1, 2)
 
171
        spacerItem4 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
 
172
        self.gridlayout.addItem(spacerItem4, 1, 0, 1, 1)
218
173
        self.StdButtons = QtGui.QDialogButtonBox(SettingsDialog_base)
219
174
        self.StdButtons.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
220
175
        self.StdButtons.setCenterButtons(False)
221
176
        self.StdButtons.setObjectName("StdButtons")
222
 
        self.gridlayout.addWidget(self.StdButtons,1,1,1,1)
 
177
        self.gridlayout.addWidget(self.StdButtons, 1, 1, 1, 1)
223
178
        self.textLabel1_4.setBuddy(self.AutoRefreshRateSpinBox)
224
179
        self.textLabel1_2.setBuddy(self.PrintCommandLineEdit)
225
180
        self.textLabel2_2.setBuddy(self.ScanCommandLineEdit)
229
184
 
230
185
        self.retranslateUi(SettingsDialog_base)
231
186
        self.TabWidget.setCurrentIndex(2)
232
 
        QtCore.QObject.connect(self.AutoRefreshCheckBox,QtCore.SIGNAL("toggled(bool)"),self.AutoRefreshRateSpinBox.setEnabled)
233
 
        QtCore.QObject.connect(self.AutoRefreshCheckBox,QtCore.SIGNAL("toggled(bool)"),self.RefreshAllRadioButton.setEnabled)
234
 
        QtCore.QObject.connect(self.AutoRefreshCheckBox,QtCore.SIGNAL("toggled(bool)"),self.RefreshCurrentRadioButton.setEnabled)
235
 
        QtCore.QObject.connect(self.StdButtons,QtCore.SIGNAL("accepted()"),SettingsDialog_base.accept)
236
 
        QtCore.QObject.connect(self.StdButtons,QtCore.SIGNAL("rejected()"),SettingsDialog_base.reject)
 
187
        QtCore.QObject.connect(self.AutoRefreshCheckBox, QtCore.SIGNAL("toggled(bool)"), self.AutoRefreshRateSpinBox.setEnabled)
 
188
        QtCore.QObject.connect(self.AutoRefreshCheckBox, QtCore.SIGNAL("toggled(bool)"), self.RefreshAllRadioButton.setEnabled)
 
189
        QtCore.QObject.connect(self.AutoRefreshCheckBox, QtCore.SIGNAL("toggled(bool)"), self.RefreshCurrentRadioButton.setEnabled)
 
190
        QtCore.QObject.connect(self.StdButtons, QtCore.SIGNAL("accepted()"), SettingsDialog_base.accept)
 
191
        QtCore.QObject.connect(self.StdButtons, QtCore.SIGNAL("rejected()"), SettingsDialog_base.reject)
237
192
        QtCore.QMetaObject.connectSlotsByName(SettingsDialog_base)
238
 
        SettingsDialog_base.setTabOrder(self.TabWidget,self.AutoRefreshCheckBox)
239
 
        SettingsDialog_base.setTabOrder(self.AutoRefreshCheckBox,self.AutoRefreshRateSpinBox)
240
 
        SettingsDialog_base.setTabOrder(self.AutoRefreshRateSpinBox,self.RefreshCurrentRadioButton)
241
 
        SettingsDialog_base.setTabOrder(self.RefreshCurrentRadioButton,self.RefreshAllRadioButton)
242
 
        SettingsDialog_base.setTabOrder(self.RefreshAllRadioButton,self.PrintCommandLineEdit)
243
 
        SettingsDialog_base.setTabOrder(self.PrintCommandLineEdit,self.ScanCommandLineEdit)
244
 
        SettingsDialog_base.setTabOrder(self.ScanCommandLineEdit,self.SendFaxCommandLineEdit)
245
 
        SettingsDialog_base.setTabOrder(self.SendFaxCommandLineEdit,self.AccessPCardCommandLineEdit)
246
 
        SettingsDialog_base.setTabOrder(self.AccessPCardCommandLineEdit,self.MakeCopiesCommandLineEdit)
247
 
        SettingsDialog_base.setTabOrder(self.MakeCopiesCommandLineEdit,self.SetDefaultsButton)
248
 
        SettingsDialog_base.setTabOrder(self.SetDefaultsButton,self.StdButtons)
 
193
        SettingsDialog_base.setTabOrder(self.TabWidget, self.AutoRefreshCheckBox)
 
194
        SettingsDialog_base.setTabOrder(self.AutoRefreshCheckBox, self.AutoRefreshRateSpinBox)
 
195
        SettingsDialog_base.setTabOrder(self.AutoRefreshRateSpinBox, self.RefreshCurrentRadioButton)
 
196
        SettingsDialog_base.setTabOrder(self.RefreshCurrentRadioButton, self.RefreshAllRadioButton)
 
197
        SettingsDialog_base.setTabOrder(self.RefreshAllRadioButton, self.PrintCommandLineEdit)
 
198
        SettingsDialog_base.setTabOrder(self.PrintCommandLineEdit, self.ScanCommandLineEdit)
 
199
        SettingsDialog_base.setTabOrder(self.ScanCommandLineEdit, self.SendFaxCommandLineEdit)
 
200
        SettingsDialog_base.setTabOrder(self.SendFaxCommandLineEdit, self.AccessPCardCommandLineEdit)
 
201
        SettingsDialog_base.setTabOrder(self.AccessPCardCommandLineEdit, self.MakeCopiesCommandLineEdit)
 
202
        SettingsDialog_base.setTabOrder(self.MakeCopiesCommandLineEdit, self.SetDefaultsButton)
 
203
        SettingsDialog_base.setTabOrder(self.SetDefaultsButton, self.StdButtons)
249
204
 
250
205
    def retranslateUi(self, SettingsDialog_base):
251
206
        SettingsDialog_base.setWindowTitle(QtGui.QApplication.translate("SettingsDialog_base", "HP Device Manager - Settings", None, QtGui.QApplication.UnicodeUTF8))
252
207
        self.textLabel3_2_2.setText(QtGui.QApplication.translate("SettingsDialog_base", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
253
 
        "p, li { white-space: pre-wrap; }\n"
254
 
        "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
255
 
        "<p 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;\">Configure if and when devices are automatically refreshed</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
 
208
"p, li { white-space: pre-wrap; }\n"
 
209
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
 
210
"<p 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;\">Configure if and when devices are automatically refreshed</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
256
211
        self.AutoRefreshCheckBox.setText(QtGui.QApplication.translate("SettingsDialog_base", "&Enable device auto refresh", None, QtGui.QApplication.UnicodeUTF8))
257
212
        self.RefreshRateGroupBox.setTitle(QtGui.QApplication.translate("SettingsDialog_base", "Refresh Interval", None, QtGui.QApplication.UnicodeUTF8))
258
213
        self.textLabel1_4.setText(QtGui.QApplication.translate("SettingsDialog_base", "&Refresh every:", None, QtGui.QApplication.UnicodeUTF8))
262
217
        self.RefreshAllRadioButton.setText(QtGui.QApplication.translate("SettingsDialog_base", "&All devices", None, QtGui.QApplication.UnicodeUTF8))
263
218
        self.TabWidget.setTabText(self.TabWidget.indexOf(self.AutoRefresh), QtGui.QApplication.translate("SettingsDialog_base", "Auto Refresh", None, QtGui.QApplication.UnicodeUTF8))
264
219
        self.textLabel3_2_3.setText(QtGui.QApplication.translate("SettingsDialog_base", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
265
 
        "p, li { white-space: pre-wrap; }\n"
266
 
        "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
267
 
        "<p 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;\">Configure the behavior of the HP Status Service (hp-systray)</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
 
220
"p, li { white-space: pre-wrap; }\n"
 
221
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
 
222
"<p 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;\">Configure the behavior of the HP Status Service (hp-systray)</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
268
223
        self.TabWidget.setTabText(self.TabWidget.indexOf(self.SystemTray), QtGui.QApplication.translate("SettingsDialog_base", "System Tray Icon", None, QtGui.QApplication.UnicodeUTF8))
269
224
        self.textLabel3_2_2_2.setText(QtGui.QApplication.translate("SettingsDialog_base", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
270
 
        "p, li { white-space: pre-wrap; }\n"
271
 
        "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
272
 
        "<p 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;\">Configure what commands to run for device actions</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
 
225
"p, li { white-space: pre-wrap; }\n"
 
226
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
 
227
"<p 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;\">Configure what commands to run for device actions</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
273
228
        self.groupBox_3.setTitle(QtGui.QApplication.translate("SettingsDialog_base", "Commands", None, QtGui.QApplication.UnicodeUTF8))
274
229
        self.textLabel1_2.setText(QtGui.QApplication.translate("SettingsDialog_base", "&Print:", None, QtGui.QApplication.UnicodeUTF8))
275
230
        self.textLabel2_2.setText(QtGui.QApplication.translate("SettingsDialog_base", "&Scan:", None, QtGui.QApplication.UnicodeUTF8))