"Fossies" - the Fresh Open Source Software Archive

Member "asymptote-2.60/GUI/pyUIClass/widg_addPolyOpt.py" (6 Nov 2019, 2192 Bytes) of package /linux/misc/asymptote-2.60.src.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "widg_addPolyOpt.py" see the Fossies "Dox" file reference documentation.

    1 # -*- coding: utf-8 -*-
    2 
    3 # Form implementation generated from reading ui file 'GUI/windows/widg_addPolyOpt.ui'
    4 #
    5 # Created by: PyQt5 UI code generator 5.11.3
    6 #
    7 # WARNING! All changes made in this file will be lost!
    8 
    9 from PyQt5 import QtCore, QtGui, QtWidgets
   10 
   11 class Ui_Form(object):
   12     def setupUi(self, Form):
   13         Form.setObjectName("Form")
   14         Form.setWindowModality(QtCore.Qt.NonModal)
   15         Form.resize(326, 35)
   16         sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
   17         sizePolicy.setHorizontalStretch(0)
   18         sizePolicy.setVerticalStretch(0)
   19         sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
   20         Form.setSizePolicy(sizePolicy)
   21         Form.setMinimumSize(QtCore.QSize(0, 35))
   22         Form.setMaximumSize(QtCore.QSize(16777215, 35))
   23         self.horizontalLayout_2 = QtWidgets.QHBoxLayout(Form)
   24         self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
   25         self.horizontalLayout_2.setSpacing(0)
   26         self.horizontalLayout_2.setObjectName("horizontalLayout_2")
   27         self.horizontalLayout = QtWidgets.QHBoxLayout()
   28         self.horizontalLayout.setObjectName("horizontalLayout")
   29         self.chkInscribed = QtWidgets.QCheckBox(Form)
   30         self.chkInscribed.setObjectName("chkInscribed")
   31         self.horizontalLayout.addWidget(self.chkInscribed)
   32         self.txtSides = QtWidgets.QLineEdit(Form)
   33         self.txtSides.setObjectName("txtSides")
   34         self.horizontalLayout.addWidget(self.txtSides)
   35         spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
   36         self.horizontalLayout.addItem(spacerItem)
   37         self.horizontalLayout_2.addLayout(self.horizontalLayout)
   38 
   39         self.retranslateUi(Form)
   40         QtCore.QMetaObject.connectSlotsByName(Form)
   41 
   42     def retranslateUi(self, Form):
   43         _translate = QtCore.QCoreApplication.translate
   44         Form.setWindowTitle(_translate("Form", "Form"))
   45         self.chkInscribed.setText(_translate("Form", "Start at Vertex"))
   46         self.txtSides.setToolTip(_translate("Form", "Number of Sides"))
   47         self.txtSides.setPlaceholderText(_translate("Form", "Sides"))
   48