ui_scientific_number_scroller_widget.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:MDT 作者: cbclab 项目源码 文件源码
def setupUi(self, ScientificScroller):
        ScientificScroller.setObjectName("ScientificScroller")
        ScientificScroller.resize(283, 61)
        self.horizontalLayout = QtWidgets.QHBoxLayout(ScientificScroller)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.mantissa = QDoubleSpinBoxDotSeparator(ScientificScroller)
        self.mantissa.setSpecialValueText("")
        self.mantissa.setDecimals(4)
        self.mantissa.setMinimum(-1000.0)
        self.mantissa.setMaximum(1000.0)
        self.mantissa.setSingleStep(0.01)
        self.mantissa.setObjectName("mantissa")
        self.horizontalLayout.addWidget(self.mantissa)
        self.label = QtWidgets.QLabel(ScientificScroller)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.exponent = QtWidgets.QSpinBox(ScientificScroller)
        self.exponent.setMinimum(-99)
        self.exponent.setObjectName("exponent")
        self.horizontalLayout.addWidget(self.exponent)
        self.horizontalLayout.setStretch(0, 1)

        self.retranslateUi(ScientificScroller)
        QtCore.QMetaObject.connectSlotsByName(ScientificScroller)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号