样式: import sys from PyQt5.QtWidgets import QApplication, QWidget, QSpinBox, QDoubleSpinBox, QHBoxLayout class Demo(QWidget): def __init__(self): super(Demo, self).__init__() self.spinbox = QSpinBox(self) #实例化数字调节框 self.spinbox.setRange(-99, 99) # 设置范…