当前位置: 首页>>代码示例>>Python>>正文


Python MatplotlibWidget.setMaximumSize方法代码示例

本文整理汇总了Python中matplotlibwidget.MatplotlibWidget.setMaximumSize方法的典型用法代码示例。如果您正苦于以下问题:Python MatplotlibWidget.setMaximumSize方法的具体用法?Python MatplotlibWidget.setMaximumSize怎么用?Python MatplotlibWidget.setMaximumSize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在matplotlibwidget.MatplotlibWidget的用法示例。


在下文中一共展示了MatplotlibWidget.setMaximumSize方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: Ui_FrequencyResponse

# 需要导入模块: from matplotlibwidget import MatplotlibWidget [as 别名]
# 或者: from matplotlibwidget.MatplotlibWidget import setMaximumSize [as 别名]
class Ui_FrequencyResponse(object):
    def setupUi(self, FrequencyResponse):
        FrequencyResponse.setObjectName(_fromUtf8("FrequencyResponse"))
        FrequencyResponse.resize(801, 608)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/frequency_response.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        FrequencyResponse.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(FrequencyResponse)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setMinimumSize(QtCore.QSize(281, 0))
        self.frame.setMaximumSize(QtCore.QSize(281, 16777215))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.toolBox = QtGui.QToolBox(self.frame)
        self.toolBox.setObjectName(_fromUtf8("toolBox"))
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 253, 274))
        self.page.setObjectName(_fromUtf8("page"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_26 = QtGui.QHBoxLayout()
        self.horizontalLayout_26.setObjectName(_fromUtf8("horizontalLayout_26"))
        self.label_28 = QtGui.QLabel(self.page)
        self.label_28.setMaximumSize(QtCore.QSize(51, 16777215))
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.horizontalLayout_26.addWidget(self.label_28)
        self.inputDevices = QtGui.QComboBox(self.page)
        self.inputDevices.setObjectName(_fromUtf8("inputDevices"))
        self.horizontalLayout_26.addWidget(self.inputDevices)
        self.verticalLayout_4.addLayout(self.horizontalLayout_26)
        self.horizontalLayout_27 = QtGui.QHBoxLayout()
        self.horizontalLayout_27.setObjectName(_fromUtf8("horizontalLayout_27"))
        self.label_30 = QtGui.QLabel(self.page)
        self.label_30.setMaximumSize(QtCore.QSize(51, 16))
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.horizontalLayout_27.addWidget(self.label_30)
        self.outputDevices = QtGui.QComboBox(self.page)
        self.outputDevices.setObjectName(_fromUtf8("outputDevices"))
        self.horizontalLayout_27.addWidget(self.outputDevices)
        self.verticalLayout_4.addLayout(self.horizontalLayout_27)
        spacerItem = QtGui.QSpacerItem(20, 211, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/speaker.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolBox.addItem(self.page, icon1, _fromUtf8(""))
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 253, 274))
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.signalType = QtGui.QComboBox(self.page_2)
        self.signalType.setObjectName(_fromUtf8("signalType"))
        self.signalType.addItem(_fromUtf8(""))
        self.signalType.addItem(_fromUtf8(""))
        self.signalType.addItem(_fromUtf8(""))
        self.signalType.addItem(_fromUtf8(""))
        self.verticalLayout_5.addWidget(self.signalType)
        self.signalOptions = QtGui.QStackedWidget(self.page_2)
        self.signalOptions.setObjectName(_fromUtf8("signalOptions"))
        self.page_5 = QtGui.QWidget()
        self.page_5.setObjectName(_fromUtf8("page_5"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.page_5)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_4 = QtGui.QLabel(self.page_5)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_9.addWidget(self.label_4)
        self.numTaps = QtGui.QSpinBox(self.page_5)
        self.numTaps.setObjectName(_fromUtf8("numTaps"))
        self.horizontalLayout_9.addWidget(self.numTaps)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem1)
        self.verticalLayout_7.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_23 = QtGui.QLabel(self.page_5)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.horizontalLayout_8.addWidget(self.label_23)
        self.numBursts = QtGui.QSpinBox(self.page_5)
        self.numBursts.setObjectName(_fromUtf8("numBursts"))
        self.horizontalLayout_8.addWidget(self.numBursts)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem2)
        self.verticalLayout_7.addLayout(self.horizontalLayout_8)
        self.signalOptions.addWidget(self.page_5)
        self.page_6 = QtGui.QWidget()
        self.page_6.setObjectName(_fromUtf8("page_6"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.page_6)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
#.........这里部分代码省略.........
开发者ID:lancejenkin-uct,项目名称:RapidAlpha,代码行数:103,代码来源:FrequencyResponse.py


注:本文中的matplotlibwidget.MatplotlibWidget.setMaximumSize方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。