|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +# Form implementation generated from reading ui file 'demoCheckbox2.ui' |
| 4 | +# |
| 5 | +# Created by: PyQt5 UI code generator 5.6 |
| 6 | +# |
| 7 | +# WARNING! All changes made in this file will be lost! |
| 8 | + |
| 9 | +from PyQt5 import QtCore, QtGui, QtWidgets |
| 10 | + |
| 11 | +class Ui_Dialog(object): |
| 12 | + def setupUi(self, Dialog): |
| 13 | + Dialog.setObjectName("Dialog") |
| 14 | + Dialog.resize(646, 537) |
| 15 | + self.label = QtWidgets.QLabel(Dialog) |
| 16 | + self.label.setGeometry(QtCore.QRect(250, 0, 71, 31)) |
| 17 | + font = QtGui.QFont() |
| 18 | + font.setPointSize(14) |
| 19 | + self.label.setFont(font) |
| 20 | + self.label.setObjectName("label") |
| 21 | + self.label_2 = QtWidgets.QLabel(Dialog) |
| 22 | + self.label_2.setGeometry(QtCore.QRect(20, 80, 181, 31)) |
| 23 | + font = QtGui.QFont() |
| 24 | + font.setPointSize(14) |
| 25 | + self.label_2.setFont(font) |
| 26 | + self.label_2.setObjectName("label_2") |
| 27 | + self.labelDrinks = QtWidgets.QLabel(Dialog) |
| 28 | + self.labelDrinks.setGeometry(QtCore.QRect(40, 290, 151, 20)) |
| 29 | + font = QtGui.QFont() |
| 30 | + font.setPointSize(14) |
| 31 | + self.labelDrinks.setFont(font) |
| 32 | + self.labelDrinks.setObjectName("labelDrinks") |
| 33 | + self.groupBoxIceCreams = QtWidgets.QGroupBox(Dialog) |
| 34 | + self.groupBoxIceCreams.setGeometry(QtCore.QRect(230, 60, 241, 181)) |
| 35 | + self.groupBoxIceCreams.setCheckable(True) |
| 36 | + self.groupBoxIceCreams.setObjectName("groupBoxIceCreams") |
| 37 | + self.layoutWidget = QtWidgets.QWidget(self.groupBoxIceCreams) |
| 38 | + self.layoutWidget.setGeometry(QtCore.QRect(10, 30, 221, 62)) |
| 39 | + self.layoutWidget.setObjectName("layoutWidget") |
| 40 | + self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget) |
| 41 | + self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) |
| 42 | + self.verticalLayout_3.setObjectName("verticalLayout_3") |
| 43 | + self.checkBoxChoclateChips = QtWidgets.QCheckBox(self.layoutWidget) |
| 44 | + font = QtGui.QFont() |
| 45 | + font.setPointSize(14) |
| 46 | + self.checkBoxChoclateChips.setFont(font) |
| 47 | + self.checkBoxChoclateChips.setObjectName("checkBoxChoclateChips") |
| 48 | + self.verticalLayout_3.addWidget(self.checkBoxChoclateChips) |
| 49 | + self.checkBoxCookieDough = QtWidgets.QCheckBox(self.layoutWidget) |
| 50 | + font = QtGui.QFont() |
| 51 | + font.setPointSize(14) |
| 52 | + self.checkBoxCookieDough.setFont(font) |
| 53 | + self.checkBoxCookieDough.setObjectName("checkBoxCookieDough") |
| 54 | + self.verticalLayout_3.addWidget(self.checkBoxCookieDough) |
| 55 | + self.layoutWidget1 = QtWidgets.QWidget(self.groupBoxIceCreams) |
| 56 | + self.layoutWidget1.setGeometry(QtCore.QRect(10, 100, 213, 62)) |
| 57 | + self.layoutWidget1.setObjectName("layoutWidget1") |
| 58 | + self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.layoutWidget1) |
| 59 | + self.verticalLayout_4.setContentsMargins(0, 0, 0, 0) |
| 60 | + self.verticalLayout_4.setObjectName("verticalLayout_4") |
| 61 | + self.checkBoxChoclateAlmond = QtWidgets.QCheckBox(self.layoutWidget1) |
| 62 | + font = QtGui.QFont() |
| 63 | + font.setPointSize(14) |
| 64 | + self.checkBoxChoclateAlmond.setFont(font) |
| 65 | + self.checkBoxChoclateAlmond.setObjectName("checkBoxChoclateAlmond") |
| 66 | + self.verticalLayout_4.addWidget(self.checkBoxChoclateAlmond) |
| 67 | + self.checkBoxRockyRoad = QtWidgets.QCheckBox(self.layoutWidget1) |
| 68 | + font = QtGui.QFont() |
| 69 | + font.setPointSize(14) |
| 70 | + self.checkBoxRockyRoad.setFont(font) |
| 71 | + self.checkBoxRockyRoad.setObjectName("checkBoxRockyRoad") |
| 72 | + self.verticalLayout_4.addWidget(self.checkBoxRockyRoad) |
| 73 | + self.groupBoxDrinks = QtWidgets.QGroupBox(Dialog) |
| 74 | + self.groupBoxDrinks.setGeometry(QtCore.QRect(230, 280, 181, 151)) |
| 75 | + self.groupBoxDrinks.setCheckable(True) |
| 76 | + self.groupBoxDrinks.setObjectName("groupBoxDrinks") |
| 77 | + self.layoutWidget2 = QtWidgets.QWidget(self.groupBoxDrinks) |
| 78 | + self.layoutWidget2.setGeometry(QtCore.QRect(10, 30, 110, 95)) |
| 79 | + self.layoutWidget2.setObjectName("layoutWidget2") |
| 80 | + self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget2) |
| 81 | + self.verticalLayout.setContentsMargins(0, 0, 0, 0) |
| 82 | + self.verticalLayout.setObjectName("verticalLayout") |
| 83 | + self.checkBoxCoffee = QtWidgets.QCheckBox(self.layoutWidget2) |
| 84 | + font = QtGui.QFont() |
| 85 | + font.setPointSize(14) |
| 86 | + self.checkBoxCoffee.setFont(font) |
| 87 | + self.checkBoxCoffee.setObjectName("checkBoxCoffee") |
| 88 | + self.verticalLayout.addWidget(self.checkBoxCoffee) |
| 89 | + self.checkBoxSoda = QtWidgets.QCheckBox(self.layoutWidget2) |
| 90 | + font = QtGui.QFont() |
| 91 | + font.setPointSize(14) |
| 92 | + self.checkBoxSoda.setFont(font) |
| 93 | + self.checkBoxSoda.setObjectName("checkBoxSoda") |
| 94 | + self.verticalLayout.addWidget(self.checkBoxSoda) |
| 95 | + self.checkBoxTea = QtWidgets.QCheckBox(self.layoutWidget2) |
| 96 | + font = QtGui.QFont() |
| 97 | + font.setPointSize(14) |
| 98 | + self.checkBoxTea.setFont(font) |
| 99 | + self.checkBoxTea.setObjectName("checkBoxTea") |
| 100 | + self.verticalLayout.addWidget(self.checkBoxTea) |
| 101 | + self.labelAmount = QtWidgets.QLabel(Dialog) |
| 102 | + self.labelAmount.setGeometry(QtCore.QRect(60, 450, 541, 31)) |
| 103 | + font = QtGui.QFont() |
| 104 | + font.setPointSize(14) |
| 105 | + self.labelAmount.setFont(font) |
| 106 | + self.labelAmount.setText("") |
| 107 | + self.labelAmount.setObjectName("labelAmount") |
| 108 | + self.groupBoxIceCreams.raise_() |
| 109 | + self.groupBoxDrinks.raise_() |
| 110 | + self.label.raise_() |
| 111 | + self.label_2.raise_() |
| 112 | + self.labelDrinks.raise_() |
| 113 | + self.labelAmount.raise_() |
| 114 | + |
| 115 | + self.retranslateUi(Dialog) |
| 116 | + QtCore.QMetaObject.connectSlotsByName(Dialog) |
| 117 | + |
| 118 | + def retranslateUi(self, Dialog): |
| 119 | + _translate = QtCore.QCoreApplication.translate |
| 120 | + Dialog.setWindowTitle(_translate("Dialog", "Dialog")) |
| 121 | + self.label.setText(_translate("Dialog", "Menu")) |
| 122 | + self.label_2.setText(_translate("Dialog", "Select your IceCream")) |
| 123 | + self.labelDrinks.setText(_translate("Dialog", "Select your drink")) |
| 124 | + self.groupBoxIceCreams.setTitle(_translate("Dialog", "IceCreams")) |
| 125 | + self.checkBoxChoclateChips.setText(_translate("Dialog", "Mint Choclate Chips $4")) |
| 126 | + self.checkBoxCookieDough.setText(_translate("Dialog", "Cookie Dough $2")) |
| 127 | + self.checkBoxChoclateAlmond.setText(_translate("Dialog", "Chocolate Almond $3")) |
| 128 | + self.checkBoxRockyRoad.setText(_translate("Dialog", "Rocky Road $5")) |
| 129 | + self.groupBoxDrinks.setTitle(_translate("Dialog", "Drinks")) |
| 130 | + self.checkBoxCoffee.setText(_translate("Dialog", "Coffee $2")) |
| 131 | + self.checkBoxSoda.setText(_translate("Dialog", "Soda $3")) |
| 132 | + self.checkBoxTea.setText(_translate("Dialog", "Tea $1")) |
| 133 | + |
0 commit comments