|
| 1 | +# |
| 2 | +# MPowerTCX: Share Schwinn A.C. indoor cycle data with Strava, GoldenCheetah |
| 3 | +# and other apps. |
| 4 | +# |
| 5 | +# Copyright (C) 2016-2017 James Roth |
| 6 | +# |
| 7 | +# This program is free software: you can redistribute it and/or modify |
| 8 | +# it under the terms of the GNU General Public License as published by |
| 9 | +# the Free Software Foundation, either version 3 of the License, or |
| 10 | +# (at your option) any later version. |
| 11 | +# |
| 12 | +# This program is distributed in the hope that it will be useful, |
| 13 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +# GNU General Public License for more details. |
| 16 | +# |
| 17 | +# You should have received a copy of the GNU General Public License |
| 18 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | +# |
| 20 | +# -*- coding: utf-8 -*- |
| 21 | + |
| 22 | +# Form implementation generated from reading ui file 'ui/about.ui' |
| 23 | +# |
| 24 | +# Created: Sat Dec 9 16:29:15 2017 |
| 25 | +# by: pyside-uic 0.2.15 running on PySide 1.2.4 |
| 26 | +# |
| 27 | +# WARNING! All changes made in this file will be lost! |
| 28 | + |
| 29 | +from PySide import QtCore, QtGui |
| 30 | + |
| 31 | +class Ui_Dialog(object): |
| 32 | + def setupUi(self, Dialog): |
| 33 | + Dialog.setObjectName("Dialog") |
| 34 | + Dialog.resize(680, 403) |
| 35 | + self.gridLayout = QtGui.QGridLayout(Dialog) |
| 36 | + self.gridLayout.setObjectName("gridLayout") |
| 37 | + self.labelVersion = QtGui.QLabel(Dialog) |
| 38 | + self.labelVersion.setObjectName("labelVersion") |
| 39 | + self.gridLayout.addWidget(self.labelVersion, 0, 0, 1, 1) |
| 40 | + self.labelSupport = QtGui.QLabel(Dialog) |
| 41 | + self.labelSupport.setObjectName("labelSupport") |
| 42 | + self.gridLayout.addWidget(self.labelSupport, 1, 0, 1, 1) |
| 43 | + self.labelLicense = QtGui.QLabel(Dialog) |
| 44 | + self.labelLicense.setObjectName("labelLicense") |
| 45 | + self.gridLayout.addWidget(self.labelLicense, 2, 0, 1, 1) |
| 46 | + self.pushButton = QtGui.QPushButton(Dialog) |
| 47 | + self.pushButton.setText("") |
| 48 | + icon = QtGui.QIcon() |
| 49 | + icon.addPixmap(QtGui.QPixmap(":/icon/mpowertcx icon flat.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
| 50 | + self.pushButton.setIcon(icon) |
| 51 | + self.pushButton.setIconSize(QtCore.QSize(256, 256)) |
| 52 | + self.pushButton.setFlat(True) |
| 53 | + self.pushButton.setObjectName("pushButton") |
| 54 | + self.gridLayout.addWidget(self.pushButton, 3, 1, 1, 1) |
| 55 | + spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
| 56 | + self.gridLayout.addItem(spacerItem, 4, 1, 1, 1) |
| 57 | + self.licenseEdit = QtGui.QPlainTextEdit(Dialog) |
| 58 | + self.licenseEdit.setFrameShape(QtGui.QFrame.Box) |
| 59 | + self.licenseEdit.setReadOnly(True) |
| 60 | + self.licenseEdit.setObjectName("licenseEdit") |
| 61 | + self.gridLayout.addWidget(self.licenseEdit, 3, 0, 2, 1) |
| 62 | + self.buttonBox = QtGui.QDialogButtonBox(Dialog) |
| 63 | + self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
| 64 | + self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok) |
| 65 | + self.buttonBox.setCenterButtons(True) |
| 66 | + self.buttonBox.setObjectName("buttonBox") |
| 67 | + self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2) |
| 68 | + |
| 69 | + self.retranslateUi(Dialog) |
| 70 | + QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Dialog.accept) |
| 71 | + QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Dialog.reject) |
| 72 | + QtCore.QMetaObject.connectSlotsByName(Dialog) |
| 73 | + |
| 74 | + def retranslateUi(self, Dialog): |
| 75 | + Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "MPowerTCX: About", None, QtGui.QApplication.UnicodeUTF8)) |
| 76 | + self.labelVersion.setText(QtGui.QApplication.translate("Dialog", "Version:", None, QtGui.QApplication.UnicodeUTF8)) |
| 77 | + self.labelSupport.setText(QtGui.QApplication.translate("Dialog", "Support: j33433@gmail.com", None, QtGui.QApplication.UnicodeUTF8)) |
| 78 | + self.labelLicense.setText(QtGui.QApplication.translate("Dialog", "License:", None, QtGui.QApplication.UnicodeUTF8)) |
| 79 | + |
| 80 | +import images_rc |
0 commit comments