~ubuntu-branches/debian/wheezy/agtl/wheezy

« back to all changes in this revision

Viewing changes to files/advancedcaching/qt/ui_optionsdialog.py

  • Committer: Bazaar Package Importer
  • Author(s): Heiko Stuebner
  • Date: 2011-01-22 13:55:12 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110122135512-1mik0vssgpnx2fgu
Tags: 0.8.0.3-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
 
 
3
# Form implementation generated from reading ui file 'files/qt/OptionsDialog.ui'
 
4
#
 
5
# Created: Wed Aug  4 14:54:51 2010
 
6
#      by: PyQt4 UI code generator 4.7.2
 
7
#
 
8
# WARNING! All changes made in this file will be lost!
 
9
 
 
10
from PyQt4 import QtCore, QtGui
 
11
 
 
12
class Ui_OptionsDialog(object):
 
13
    def setupUi(self, OptionsDialog):
 
14
        OptionsDialog.setObjectName("OptionsDialog")
 
15
        OptionsDialog.resize(412, 384)
 
16
        self.verticalLayout = QtGui.QVBoxLayout(OptionsDialog)
 
17
        self.verticalLayout.setObjectName("verticalLayout")
 
18
        self.groupBox = QtGui.QGroupBox(OptionsDialog)
 
19
        self.groupBox.setObjectName("groupBox")
 
20
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
 
21
        self.gridLayout.setObjectName("gridLayout")
 
22
        self.label = QtGui.QLabel(self.groupBox)
 
23
        self.label.setObjectName("label")
 
24
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
 
25
        self.lineEditUserName = QtGui.QLineEdit(self.groupBox)
 
26
        self.lineEditUserName.setObjectName("lineEditUserName")
 
27
        self.gridLayout.addWidget(self.lineEditUserName, 1, 1, 1, 1)
 
28
        self.label_2 = QtGui.QLabel(self.groupBox)
 
29
        self.label_2.setObjectName("label_2")
 
30
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
 
31
        self.lineEditPassword = QtGui.QLineEdit(self.groupBox)
 
32
        self.lineEditPassword.setInputMethodHints(QtCore.Qt.ImhNone)
 
33
        self.lineEditPassword.setEchoMode(QtGui.QLineEdit.PasswordEchoOnEdit)
 
34
        self.lineEditPassword.setObjectName("lineEditPassword")
 
35
        self.gridLayout.addWidget(self.lineEditPassword, 2, 1, 1, 1)
 
36
        self.label_4 = QtGui.QLabel(self.groupBox)
 
37
        self.label_4.setScaledContents(False)
 
38
        self.label_4.setWordWrap(True)
 
39
        self.label_4.setObjectName("label_4")
 
40
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 2)
 
41
        self.verticalLayout.addWidget(self.groupBox)
 
42
        self.groupBox_2 = QtGui.QGroupBox(OptionsDialog)
 
43
        self.groupBox_2.setObjectName("groupBox_2")
 
44
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
 
45
        self.gridLayout_2.setObjectName("gridLayout_2")
 
46
        self.checkBoxShowName = QtGui.QCheckBox(self.groupBox_2)
 
47
        self.checkBoxShowName.setObjectName("checkBoxShowName")
 
48
        self.gridLayout_2.addWidget(self.checkBoxShowName, 1, 0, 1, 1)
 
49
        self.checkBoxDoubleSize = QtGui.QCheckBox(self.groupBox_2)
 
50
        self.checkBoxDoubleSize.setObjectName("checkBoxDoubleSize")
 
51
        self.gridLayout_2.addWidget(self.checkBoxDoubleSize, 2, 0, 1, 1)
 
52
        self.checkBoxHideFound = QtGui.QCheckBox(self.groupBox_2)
 
53
        self.checkBoxHideFound.setObjectName("checkBoxHideFound")
 
54
        self.gridLayout_2.addWidget(self.checkBoxHideFound, 0, 0, 1, 1)
 
55
        self.verticalLayout.addWidget(self.groupBox_2)
 
56
        self.groupBox_3 = QtGui.QGroupBox(OptionsDialog)
 
57
        self.groupBox_3.setObjectName("groupBox_3")
 
58
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3)
 
59
        self.gridLayout_3.setObjectName("gridLayout_3")
 
60
        self.label_3 = QtGui.QLabel(self.groupBox_3)
 
61
        self.label_3.setObjectName("label_3")
 
62
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
 
63
        self.comboBoxTTS = QtGui.QComboBox(self.groupBox_3)
 
64
        self.comboBoxTTS.setObjectName("comboBoxTTS")
 
65
        self.comboBoxTTS.addItem("")
 
66
        self.comboBoxTTS.addItem("")
 
67
        self.comboBoxTTS.addItem("")
 
68
        self.comboBoxTTS.addItem("")
 
69
        self.comboBoxTTS.addItem("")
 
70
        self.comboBoxTTS.addItem("")
 
71
        self.comboBoxTTS.addItem("")
 
72
        self.comboBoxTTS.addItem("")
 
73
        self.comboBoxTTS.addItem("")
 
74
        self.comboBoxTTS.addItem("")
 
75
        self.gridLayout_3.addWidget(self.comboBoxTTS, 0, 1, 1, 1)
 
76
        self.verticalLayout.addWidget(self.groupBox_3)
 
77
        self.buttonBox = QtGui.QDialogButtonBox(OptionsDialog)
 
78
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
 
79
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
 
80
        self.buttonBox.setObjectName("buttonBox")
 
81
        self.verticalLayout.addWidget(self.buttonBox)
 
82
 
 
83
        self.retranslateUi(OptionsDialog)
 
84
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), OptionsDialog.accept)
 
85
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), OptionsDialog.reject)
 
86
        QtCore.QMetaObject.connectSlotsByName(OptionsDialog)
 
87
 
 
88
    def retranslateUi(self, OptionsDialog):
 
89
        OptionsDialog.setWindowTitle(QtGui.QApplication.translate("OptionsDialog", "Options", None, QtGui.QApplication.UnicodeUTF8))
 
90
        self.groupBox.setTitle(QtGui.QApplication.translate("OptionsDialog", "Login Data", None, QtGui.QApplication.UnicodeUTF8))
 
91
        self.label.setText(QtGui.QApplication.translate("OptionsDialog", "Username", None, QtGui.QApplication.UnicodeUTF8))
 
92
        self.label_2.setText(QtGui.QApplication.translate("OptionsDialog", "Password", None, QtGui.QApplication.UnicodeUTF8))
 
93
        self.label_4.setText(QtGui.QApplication.translate("OptionsDialog", "Please make sure that the website language ist set to english. Otherwise, downloading of geocaches won\'t work.", None, QtGui.QApplication.UnicodeUTF8))
 
94
        self.groupBox_2.setTitle(QtGui.QApplication.translate("OptionsDialog", "Map Display", None, QtGui.QApplication.UnicodeUTF8))
 
95
        self.checkBoxShowName.setText(QtGui.QApplication.translate("OptionsDialog", "Show Geocache Names on Map", None, QtGui.QApplication.UnicodeUTF8))
 
96
        self.checkBoxDoubleSize.setText(QtGui.QApplication.translate("OptionsDialog", "Show Map in double size (ugly!)", None, QtGui.QApplication.UnicodeUTF8))
 
97
        self.checkBoxHideFound.setText(QtGui.QApplication.translate("OptionsDialog", "Hide Found Geocaches", None, QtGui.QApplication.UnicodeUTF8))
 
98
        self.groupBox_3.setTitle(QtGui.QApplication.translate("OptionsDialog", "Text-to-speech settings", None, QtGui.QApplication.UnicodeUTF8))
 
99
        self.label_3.setText(QtGui.QApplication.translate("OptionsDialog", "Enable Voice Guidance", None, QtGui.QApplication.UnicodeUTF8))
 
100
        self.comboBoxTTS.setItemText(0, QtGui.QApplication.translate("OptionsDialog", "Off", None, QtGui.QApplication.UnicodeUTF8))
 
101
        self.comboBoxTTS.setItemText(1, QtGui.QApplication.translate("OptionsDialog", "Automatic", None, QtGui.QApplication.UnicodeUTF8))
 
102
        self.comboBoxTTS.setItemText(2, QtGui.QApplication.translate("OptionsDialog", "10 Seconds", None, QtGui.QApplication.UnicodeUTF8))
 
103
        self.comboBoxTTS.setItemText(3, QtGui.QApplication.translate("OptionsDialog", "20 Seconds", None, QtGui.QApplication.UnicodeUTF8))
 
104
        self.comboBoxTTS.setItemText(4, QtGui.QApplication.translate("OptionsDialog", "30 Seconds", None, QtGui.QApplication.UnicodeUTF8))
 
105
        self.comboBoxTTS.setItemText(5, QtGui.QApplication.translate("OptionsDialog", "50 Seconds", None, QtGui.QApplication.UnicodeUTF8))
 
106
        self.comboBoxTTS.setItemText(6, QtGui.QApplication.translate("OptionsDialog", "100 Seconds", None, QtGui.QApplication.UnicodeUTF8))
 
107
        self.comboBoxTTS.setItemText(7, QtGui.QApplication.translate("OptionsDialog", "3 Minutes", None, QtGui.QApplication.UnicodeUTF8))
 
108
        self.comboBoxTTS.setItemText(8, QtGui.QApplication.translate("OptionsDialog", "5 Minutes", None, QtGui.QApplication.UnicodeUTF8))
 
109
        self.comboBoxTTS.setItemText(9, QtGui.QApplication.translate("OptionsDialog", "10 Minutes", None, QtGui.QApplication.UnicodeUTF8))
 
110