You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
4.7 KiB

6 years ago
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'tickWidget.ui'
#
# Created by: PyQt5 UI code generator 5.7
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_tickWidget(object):
def setupUi(self, tickWidget):
tickWidget.setObjectName("tickWidget")
tickWidget.resize(453, 229)
self.D1 = QtWidgets.QPushButton(tickWidget)
self.D1.setGeometry(QtCore.QRect(10, 40, 80, 22))
self.D1.setObjectName("D1")
self.D2 = QtWidgets.QPushButton(tickWidget)
self.D2.setGeometry(QtCore.QRect(100, 40, 80, 22))
self.D2.setObjectName("D2")
self.D4 = QtWidgets.QPushButton(tickWidget)
self.D4.setGeometry(QtCore.QRect(190, 40, 80, 22))
self.D4.setObjectName("D4")
self.D8 = QtWidgets.QPushButton(tickWidget)
self.D8.setGeometry(QtCore.QRect(280, 40, 80, 22))
self.D8.setObjectName("D8")
self.D16 = QtWidgets.QPushButton(tickWidget)
self.D16.setGeometry(QtCore.QRect(370, 40, 80, 22))
self.D16.setObjectName("D16")
self.DB = QtWidgets.QPushButton(tickWidget)
self.DB.setGeometry(QtCore.QRect(10, 80, 80, 22))
self.DB.setObjectName("DB")
self.DL = QtWidgets.QPushButton(tickWidget)
self.DL.setGeometry(QtCore.QRect(100, 80, 80, 22))
self.DL.setObjectName("DL")
self.D32 = QtWidgets.QPushButton(tickWidget)
self.D32.setGeometry(QtCore.QRect(190, 80, 80, 22))
self.D32.setObjectName("D32")
self.D64 = QtWidgets.QPushButton(tickWidget)
self.D64.setGeometry(QtCore.QRect(280, 80, 80, 22))
self.D64.setObjectName("D64")
self.D128 = QtWidgets.QPushButton(tickWidget)
self.D128.setGeometry(QtCore.QRect(370, 80, 80, 22))
self.D128.setObjectName("D128")
self.ticks = QtWidgets.QSpinBox(tickWidget)
self.ticks.setGeometry(QtCore.QRect(160, 190, 161, 23))
self.ticks.setReadOnly(True)
self.ticks.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons)
self.ticks.setPrefix("")
self.ticks.setMinimum(0)
self.ticks.setMaximum(999999999)
self.ticks.setObjectName("ticks")
self.ok = QtWidgets.QPushButton(tickWidget)
self.ok.setGeometry(QtCore.QRect(60, 190, 80, 22))
self.ok.setObjectName("ok")
self.cancel = QtWidgets.QPushButton(tickWidget)
self.cancel.setGeometry(QtCore.QRect(340, 190, 80, 22))
self.cancel.setObjectName("cancel")
self.durationLabel = QtWidgets.QLabel(tickWidget)
self.durationLabel.setGeometry(QtCore.QRect(30, 150, 401, 31))
self.durationLabel.setAlignment(QtCore.Qt.AlignCenter)
self.durationLabel.setObjectName("durationLabel")
self.reset = QtWidgets.QPushButton(tickWidget)
self.reset.setGeometry(QtCore.QRect(190, 120, 80, 22))
self.reset.setObjectName("reset")
self.label = QtWidgets.QLabel(tickWidget)
self.label.setGeometry(QtCore.QRect(120, 10, 241, 20))
self.label.setObjectName("label")
self.retranslateUi(tickWidget)
QtCore.QMetaObject.connectSlotsByName(tickWidget)
def retranslateUi(self, tickWidget):
_translate = QtCore.QCoreApplication.translate
tickWidget.setWindowTitle(_translate("tickWidget", "Tick Calculator"))
self.D1.setText(_translate("tickWidget", "[1] D1"))
self.D1.setShortcut(_translate("tickWidget", "1"))
self.D2.setText(_translate("tickWidget", "[2] D2"))
self.D2.setShortcut(_translate("tickWidget", "2"))
self.D4.setText(_translate("tickWidget", "[3] D4"))
self.D4.setShortcut(_translate("tickWidget", "3"))
self.D8.setText(_translate("tickWidget", "[4] D8"))
self.D8.setShortcut(_translate("tickWidget", "4"))
self.D16.setText(_translate("tickWidget", "[5] D16"))
self.D16.setShortcut(_translate("tickWidget", "5"))
self.DB.setText(_translate("tickWidget", "DBrevis"))
self.DL.setText(_translate("tickWidget", "DLonga"))
self.D32.setText(_translate("tickWidget", "D32"))
self.D64.setText(_translate("tickWidget", "D64"))
self.D128.setText(_translate("tickWidget", "D128"))
self.ticks.setSuffix(_translate("tickWidget", " Ticks"))
self.ok.setText(_translate("tickWidget", "OK"))
self.ok.setShortcut(_translate("tickWidget", "Return"))
self.cancel.setText(_translate("tickWidget", "Cancel"))
self.cancel.setShortcut(_translate("tickWidget", "Esc"))
self.durationLabel.setText(_translate("tickWidget", "Simplest Duration"))
self.reset.setText(_translate("tickWidget", "Reset"))
self.label.setText(_translate("tickWidget", "Use buttons to add to total tick duration"))