本文整理汇总了Python中mplwidget.MplWidget.setGeometry方法的典型用法代码示例。如果您正苦于以下问题:Python MplWidget.setGeometry方法的具体用法?Python MplWidget.setGeometry怎么用?Python MplWidget.setGeometry使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mplwidget.MplWidget
的用法示例。
在下文中一共展示了MplWidget.setGeometry方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Ui_Plotterui
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_Plotterui(object):
def setupUi(self, Plotterui):
Plotterui.setObjectName(_fromUtf8("Plotterui"))
Plotterui.setEnabled(True)
Plotterui.resize(687, 624)
self.MPLArea = MplWidget(Plotterui)
self.MPLArea.setGeometry(QtCore.QRect(20, 40, 651, 561))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
self.MPLArea.setSizePolicy(sizePolicy)
self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
self.Plot_comboBox = QtGui.QComboBox(Plotterui)
self.Plot_comboBox.setGeometry(QtCore.QRect(20, 10, 141, 22))
self.Plot_comboBox.setMaxVisibleItems(100)
self.Plot_comboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
self.Plot_comboBox.setObjectName(_fromUtf8("Plot_comboBox"))
self.retranslateUi(Plotterui)
QtCore.QObject.connect(self.Plot_comboBox, QtCore.SIGNAL(_fromUtf8("activated(int)")), Plotterui.myPlot)
QtCore.QMetaObject.connectSlotsByName(Plotterui)
def retranslateUi(self, Plotterui):
Plotterui.setWindowTitle(
QtGui.QApplication.translate("Plotterui", "Plotter", None, QtGui.QApplication.UnicodeUTF8)
)
示例2: Ui_Plotterui
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_Plotterui(object):
def setupUi(self, Plotterui):
Plotterui.setObjectName(_fromUtf8("Plotterui"))
Plotterui.setEnabled(True)
Plotterui.resize(803, 586)
self.MPLArea = MplWidget(Plotterui)
self.MPLArea.setGeometry(QtCore.QRect(150, 10, 641, 561))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
self.MPLArea.setSizePolicy(sizePolicy)
self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
self.PLOT_Button = QtGui.QPushButton(Plotterui)
self.PLOT_Button.setGeometry(QtCore.QRect(20, 250, 75, 23))
self.PLOT_Button.setObjectName(_fromUtf8("PLOT_Button"))
self.checkTotalInt = QtGui.QCheckBox(Plotterui)
self.checkTotalInt.setEnabled(True)
self.checkTotalInt.setGeometry(QtCore.QRect(11, 101, 62, 17))
self.checkTotalInt.setMouseTracking(False)
self.checkTotalInt.setChecked(False)
self.checkTotalInt.setAutoExclusive(True)
self.checkTotalInt.setObjectName(_fromUtf8("checkTotalInt"))
self.checkFlammenhoehe = QtGui.QCheckBox(Plotterui)
self.checkFlammenhoehe.setGeometry(QtCore.QRect(11, 124, 95, 17))
self.checkFlammenhoehe.setChecked(True)
self.checkFlammenhoehe.setAutoExclusive(True)
self.checkFlammenhoehe.setObjectName(_fromUtf8("checkFlammenhoehe"))
self.checkFlammenhoeheGauss = QtGui.QCheckBox(Plotterui)
self.checkFlammenhoeheGauss.setGeometry(QtCore.QRect(10, 150, 131, 17))
self.checkFlammenhoeheGauss.setChecked(False)
self.checkFlammenhoeheGauss.setAutoExclusive(True)
self.checkFlammenhoeheGauss.setObjectName(_fromUtf8("checkFlammenhoeheGauss"))
self.checkFlammenoberflaecheGauss = QtGui.QCheckBox(Plotterui)
self.checkFlammenoberflaecheGauss.setGeometry(QtCore.QRect(10, 180, 131, 17))
self.checkFlammenoberflaecheGauss.setChecked(False)
self.checkFlammenoberflaecheGauss.setAutoExclusive(True)
self.checkFlammenoberflaecheGauss.setObjectName(_fromUtf8("checkFlammenoberflaecheGauss"))
self.retranslateUi(Plotterui)
QtCore.QObject.connect(self.PLOT_Button, QtCore.SIGNAL(_fromUtf8("clicked()")), Plotterui.myPlot)
QtCore.QMetaObject.connectSlotsByName(Plotterui)
def retranslateUi(self, Plotterui):
Plotterui.setWindowTitle(QtGui.QApplication.translate("Plotterui", "Plotter", None, QtGui.QApplication.UnicodeUTF8))
self.PLOT_Button.setText(QtGui.QApplication.translate("Plotterui", "PLOT!", None, QtGui.QApplication.UnicodeUTF8))
self.checkTotalInt.setText(QtGui.QApplication.translate("Plotterui", "total Int", None, QtGui.QApplication.UnicodeUTF8))
self.checkFlammenhoehe.setText(QtGui.QApplication.translate("Plotterui", "Flammenhoehe", None, QtGui.QApplication.UnicodeUTF8))
self.checkFlammenhoeheGauss.setText(QtGui.QApplication.translate("Plotterui", "Flammenhoehe Gauss", None, QtGui.QApplication.UnicodeUTF8))
self.checkFlammenoberflaecheGauss.setText(QtGui.QApplication.translate("Plotterui", "Flammenoberflaeche", None, QtGui.QApplication.UnicodeUTF8))
示例3: Ui_MplMainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MplMainWindow(object):
def setupUi(self, MplMainWindow):
MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
MplMainWindow.resize(646, 600)
self.centralWidget = QtGui.QWidget(MplMainWindow)
self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.horizontalLayoutWidget = QtGui.QWidget(self.centralWidget)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 581, 51))
self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.mpllineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget)
self.mpllineEdit.setObjectName(_fromUtf8("mpllineEdit"))
self.horizontalLayout.addWidget(self.mpllineEdit)
self.mplpushButton = QtGui.QPushButton(self.horizontalLayoutWidget)
self.mplpushButton.setObjectName(_fromUtf8("mplpushButton"))
self.horizontalLayout.addWidget(self.mplpushButton)
self.mpl = MplWidget(self.centralWidget)
self.mpl.setGeometry(QtCore.QRect(20, 90, 571, 441))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
self.mpl.setSizePolicy(sizePolicy)
self.mpl.setObjectName(_fromUtf8("mpl"))
MplMainWindow.setCentralWidget(self.centralWidget)
self.menuBar = QtGui.QMenuBar(MplMainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 646, 23))
self.menuBar.setObjectName(_fromUtf8("menuBar"))
self.mplmenuFile = QtGui.QMenu(self.menuBar)
self.mplmenuFile.setObjectName(_fromUtf8("mplmenuFile"))
MplMainWindow.setMenuBar(self.menuBar)
self.mplactionOpen = QtGui.QAction(MplMainWindow)
self.mplactionOpen.setObjectName(_fromUtf8("mplactionOpen"))
self.mplactionQuit = QtGui.QAction(MplMainWindow)
self.mplactionQuit.setObjectName(_fromUtf8("mplactionQuit"))
self.mplmenuFile.addAction(self.mplactionOpen)
self.mplmenuFile.addSeparator()
self.mplmenuFile.addAction(self.mplactionQuit)
self.menuBar.addAction(self.mplmenuFile.menuAction())
self.retranslateUi(MplMainWindow)
QtCore.QMetaObject.connectSlotsByName(MplMainWindow)
def retranslateUi(self, MplMainWindow):
MplMainWindow.setWindowTitle(_translate("MplMainWindow", "MainWindow", None))
self.mplpushButton.setText(_translate("MplMainWindow", "PushButton", None))
self.mplmenuFile.setTitle(_translate("MplMainWindow", "File", None))
self.mplactionOpen.setText(_translate("MplMainWindow", "Open", None))
self.mplactionQuit.setText(_translate("MplMainWindow", "Quit", None))
示例4: Ui_FrameViewWidget
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_FrameViewWidget(object):
def setupUi(self, FrameViewWidget):
FrameViewWidget.setObjectName("FrameViewWidget")
FrameViewWidget.resize(603, 221)
self.confWidget1 = MplWidget(FrameViewWidget)
self.confWidget1.setGeometry(QtCore.QRect(0, 10, 501, 51))
self.confWidget1.setObjectName("confWidget1")
self.confWidget3 = MplWidget(FrameViewWidget)
self.confWidget3.setGeometry(QtCore.QRect(0, 110, 501, 51))
self.confWidget3.setObjectName("confWidget3")
self.le_max = QtGui.QLineEdit(FrameViewWidget)
self.le_max.setGeometry(QtCore.QRect(530, 10, 61, 23))
self.le_max.setObjectName("le_max")
self.confWidget4 = MplWidget(FrameViewWidget)
self.confWidget4.setGeometry(QtCore.QRect(0, 160, 501, 51))
self.confWidget4.setObjectName("confWidget4")
self.btn_set = QtGui.QPushButton(FrameViewWidget)
self.btn_set.setGeometry(QtCore.QRect(540, 40, 41, 41))
self.btn_set.setObjectName("btn_set")
self.w_colourbar = MplWidget(FrameViewWidget)
self.w_colourbar.setGeometry(QtCore.QRect(500, 10, 31, 201))
self.w_colourbar.setObjectName("w_colourbar")
self.le_min = QtGui.QLineEdit(FrameViewWidget)
self.le_min.setGeometry(QtCore.QRect(530, 130, 61, 23))
self.le_min.setObjectName("le_min")
self.btn_clear = QtGui.QPushButton(FrameViewWidget)
self.btn_clear.setGeometry(QtCore.QRect(540, 80, 41, 41))
self.btn_clear.setObjectName("btn_clear")
self.confWidget2 = MplWidget(FrameViewWidget)
self.confWidget2.setGeometry(QtCore.QRect(0, 60, 501, 51))
self.confWidget2.setObjectName("confWidget2")
self.pb_open = QtGui.QPushButton(FrameViewWidget)
self.pb_open.setGeometry(QtCore.QRect(540, 160, 41, 41))
self.pb_open.setObjectName("pb_open")
self.retranslateUi(FrameViewWidget)
QtCore.QMetaObject.connectSlotsByName(FrameViewWidget)
def retranslateUi(self, FrameViewWidget):
FrameViewWidget.setWindowTitle(QtGui.QApplication.translate("FrameViewWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
self.btn_set.setText(QtGui.QApplication.translate("FrameViewWidget", "set", None, QtGui.QApplication.UnicodeUTF8))
self.btn_clear.setText(QtGui.QApplication.translate("FrameViewWidget", "clear", None, QtGui.QApplication.UnicodeUTF8))
self.pb_open.setText(QtGui.QApplication.translate("FrameViewWidget", "open", None, QtGui.QApplication.UnicodeUTF8))
示例5: Ui_MainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1056, 687)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.confWidget1 = MplWidget(self.centralwidget)
self.confWidget1.setGeometry(QtCore.QRect(10, 30, 501, 51))
self.confWidget1.setObjectName("confWidget1")
self.btn_redraw = QtGui.QPushButton(self.centralwidget)
self.btn_redraw.setGeometry(QtCore.QRect(740, 390, 94, 24))
self.btn_redraw.setObjectName("btn_redraw")
self.confWidget2 = MplWidget(self.centralwidget)
self.confWidget2.setGeometry(QtCore.QRect(10, 90, 501, 51))
self.confWidget2.setObjectName("confWidget2")
self.confWidget3 = MplWidget(self.centralwidget)
self.confWidget3.setGeometry(QtCore.QRect(10, 150, 501, 51))
self.confWidget3.setObjectName("confWidget3")
self.confWidget4 = MplWidget(self.centralwidget)
self.confWidget4.setGeometry(QtCore.QRect(10, 210, 501, 51))
self.confWidget4.setObjectName("confWidget4")
self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(110, 330, 521, 171))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.btn_generateData = QtGui.QPushButton(self.centralwidget)
self.btn_generateData.setGeometry(QtCore.QRect(740, 320, 94, 24))
self.btn_generateData.setObjectName("btn_generateData")
self.btn_loadData = QtGui.QPushButton(self.centralwidget)
self.btn_loadData.setGeometry(QtCore.QRect(740, 360, 94, 24))
self.btn_loadData.setObjectName("btn_loadData")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1056, 21))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
self.btn_redraw.setText(QtGui.QApplication.translate("MainWindow", "redraw", None, QtGui.QApplication.UnicodeUTF8))
self.btn_generateData.setText(QtGui.QApplication.translate("MainWindow", "generate data", None, QtGui.QApplication.UnicodeUTF8))
self.btn_loadData.setText(QtGui.QApplication.translate("MainWindow", "load data", None, QtGui.QApplication.UnicodeUTF8))
示例6: Ui_Dialog
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.resize(1232, 727)
Dialog.setMinimumSize(QtCore.QSize(1232, 727))
Dialog.setMaximumSize(QtCore.QSize(1232, 727))
self.g_naglowek = QtGui.QGroupBox(Dialog)
self.g_naglowek.setGeometry(QtCore.QRect(10, 40, 281, 681))
self.g_naglowek.setMinimumSize(QtCore.QSize(281, 681))
self.g_naglowek.setObjectName(_fromUtf8("g_naglowek"))
self.n_dane = QtGui.QTableWidget(self.g_naglowek)
self.n_dane.setGeometry(QtCore.QRect(10, 20, 261, 651))
self.n_dane.setObjectName(_fromUtf8("n_dane"))
self.n_dane.setColumnCount(0)
self.n_dane.setRowCount(0)
self.g_pomiary = QtGui.QGroupBox(Dialog)
self.g_pomiary.setGeometry(QtCore.QRect(830, 40, 391, 301))
self.g_pomiary.setMinimumSize(QtCore.QSize(391, 301))
self.g_pomiary.setObjectName(_fromUtf8("g_pomiary"))
self.m_odczyt = QtGui.QPushButton(self.g_pomiary)
self.m_odczyt.setGeometry(QtCore.QRect(10, 20, 261, 101))
self.m_odczyt.setAutoDefault(True)
self.m_odczyt.setDefault(True)
self.m_odczyt.setFlat(False)
self.m_odczyt.setObjectName(_fromUtf8("m_odczyt"))
self.m_koniec = QtGui.QPushButton(self.g_pomiary)
self.m_koniec.setGeometry(QtCore.QRect(90, 260, 181, 31))
self.m_koniec.setObjectName(_fromUtf8("m_koniec"))
self.m_czysc = QtGui.QPushButton(self.g_pomiary)
self.m_czysc.setGeometry(QtCore.QRect(10, 270, 41, 20))
self.m_czysc.setObjectName(_fromUtf8("m_czysc"))
self.label_2 = QtGui.QLabel(self.g_pomiary)
self.label_2.setGeometry(QtCore.QRect(20, 130, 16, 16))
self.label_2.setObjectName(_fromUtf8("label_2"))
self.label_3 = QtGui.QLabel(self.g_pomiary)
self.label_3.setGeometry(QtCore.QRect(150, 130, 16, 16))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.m_wbielp = QtGui.QLineEdit(self.g_pomiary)
self.m_wbielp.setGeometry(QtCore.QRect(30, 130, 31, 20))
self.m_wbielp.setObjectName(_fromUtf8("m_wbielp"))
self.m_wbielk = QtGui.QLineEdit(self.g_pomiary)
self.m_wbielk.setGeometry(QtCore.QRect(160, 130, 31, 20))
self.m_wbielk.setObjectName(_fromUtf8("m_wbielk"))
self.m_bielp = QtGui.QPushButton(self.g_pomiary)
self.m_bielp.setGeometry(QtCore.QRect(70, 130, 75, 23))
self.m_bielp.setObjectName(_fromUtf8("m_bielp"))
self.m_bielk = QtGui.QPushButton(self.g_pomiary)
self.m_bielk.setGeometry(QtCore.QRect(200, 130, 75, 23))
self.m_bielk.setObjectName(_fromUtf8("m_bielk"))
self.label_4 = QtGui.QLabel(self.g_pomiary)
self.label_4.setGeometry(QtCore.QRect(30, 160, 61, 16))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.m_wczesne = QtGui.QCheckBox(self.g_pomiary)
self.m_wczesne.setGeometry(QtCore.QRect(100, 160, 70, 17))
self.m_wczesne.setObjectName(_fromUtf8("m_wczesne"))
self.m_pozne = QtGui.QCheckBox(self.g_pomiary)
self.m_pozne.setGeometry(QtCore.QRect(170, 160, 70, 17))
self.m_pozne.setObjectName(_fromUtf8("m_pozne"))
self.m_kasuj = QtGui.QPushButton(self.g_pomiary)
self.m_kasuj.setGeometry(QtCore.QRect(10, 180, 261, 41))
self.m_kasuj.setObjectName(_fromUtf8("m_kasuj"))
self.m_odczyty = QtGui.QTextEdit(self.g_pomiary)
self.m_odczyty.setGeometry(QtCore.QRect(280, 20, 101, 271))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(False)
font.setItalic(False)
font.setWeight(50)
self.m_odczyty.setFont(font)
self.m_odczyty.setObjectName(_fromUtf8("m_odczyty"))
self.label = QtGui.QLabel(self.g_pomiary)
self.label.setGeometry(QtCore.QRect(40, 230, 61, 16))
self.label.setObjectName(_fromUtf8("label"))
self.p_przesun = QtGui.QLineEdit(self.g_pomiary)
self.p_przesun.setGeometry(QtCore.QRect(120, 230, 61, 20))
self.p_przesun.setObjectName(_fromUtf8("p_przesun"))
self.label_7 = QtGui.QLabel(self.g_pomiary)
self.label_7.setGeometry(QtCore.QRect(190, 230, 46, 13))
self.label_7.setObjectName(_fromUtf8("label_7"))
self.g_promienie = QtGui.QGroupBox(Dialog)
self.g_promienie.setGeometry(QtCore.QRect(300, 40, 521, 301))
self.g_promienie.setMinimumSize(QtCore.QSize(521, 301))
self.g_promienie.setObjectName(_fromUtf8("g_promienie"))
self.r_dane = QtGui.QTableWidget(self.g_promienie)
self.r_dane.setGeometry(QtCore.QRect(10, 20, 501, 241))
self.r_dane.setObjectName(_fromUtf8("r_dane"))
self.r_dane.setColumnCount(0)
self.r_dane.setRowCount(0)
self.r_nowy = QtGui.QPushButton(self.g_promienie)
self.r_nowy.setGeometry(QtCore.QRect(10, 270, 75, 23))
self.r_nowy.setObjectName(_fromUtf8("r_nowy"))
self.r_edytuj = QtGui.QPushButton(self.g_promienie)
self.r_edytuj.setGeometry(QtCore.QRect(90, 270, 75, 23))
self.r_edytuj.setObjectName(_fromUtf8("r_edytuj"))
self.r_koreluj = QtGui.QPushButton(self.g_promienie)
self.r_koreluj.setGeometry(QtCore.QRect(350, 270, 75, 23))
self.r_koreluj.setObjectName(_fromUtf8("r_koreluj"))
self.r_usun = QtGui.QPushButton(self.g_promienie)
self.r_usun.setGeometry(QtCore.QRect(170, 270, 75, 23))
self.r_usun.setObjectName(_fromUtf8("r_usun"))
#.........这里部分代码省略.........
示例7: Ui_Hucha
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_Hucha(object):
def setupUi(self, Hucha):
Hucha.setObjectName(_fromUtf8("Hucha"))
Hucha.resize(800, 600)
Hucha.setWindowTitle(QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
self.centralwidget = QtGui.QWidget(Hucha)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.combo_Tipo = QtGui.QComboBox(self.centralwidget)
self.combo_Tipo.setGeometry(QtCore.QRect(170, 20, 111, 29))
self.combo_Tipo.setObjectName(_fromUtf8("combo_Tipo"))
self.combo_Tipo.addItem(_fromUtf8(""))
self.combo_Tipo.setItemText(0, QtGui.QApplication.translate("Hucha", "Ingreso", None, QtGui.QApplication.UnicodeUTF8))
self.combo_Tipo.addItem(_fromUtf8(""))
self.combo_Tipo.setItemText(1, QtGui.QApplication.translate("Hucha", "Gasto", None, QtGui.QApplication.UnicodeUTF8))
self.combo_Lugar = QtGui.QComboBox(self.centralwidget)
self.combo_Lugar.setGeometry(QtCore.QRect(430, 20, 111, 29))
self.combo_Lugar.setObjectName(_fromUtf8("combo_Lugar"))
self.combo_Lugar.addItem(_fromUtf8(""))
self.combo_Lugar.setItemText(0, QtGui.QApplication.translate("Hucha", "Banco", None, QtGui.QApplication.UnicodeUTF8))
self.combo_Lugar.addItem(_fromUtf8(""))
self.combo_Lugar.setItemText(1, QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
self.dateEdit = QtGui.QDateEdit(self.centralwidget)
self.dateEdit.setGeometry(QtCore.QRect(170, 74, 110, 29))
self.dateEdit.setDateTime(QtCore.QDateTime(QtCore.QDate(2000, 1, 1), QtCore.QTime(0, 0, 0)))
self.dateEdit.setObjectName(_fromUtf8("dateEdit"))
self.label = QtGui.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(90, 20, 41, 30))
self.label.setText(QtGui.QApplication.translate("Hucha", "Tipo:", None, QtGui.QApplication.UnicodeUTF8))
self.label.setObjectName(_fromUtf8("label"))
self.label_2 = QtGui.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(350, 20, 51, 30))
self.label_2.setText(QtGui.QApplication.translate("Hucha", "Lugar:", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setObjectName(_fromUtf8("label_2"))
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(90, 74, 50, 30))
self.label_3.setText(QtGui.QApplication.translate("Hucha", "Fecha:", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(90, 130, 90, 30))
self.label_4.setText(QtGui.QApplication.translate("Hucha", "Comentarios:", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.boton_Ok = QtGui.QPushButton(self.centralwidget)
self.boton_Ok.setGeometry(QtCore.QRect(600, 120, 41, 41))
self.boton_Ok.setToolTip(QtGui.QApplication.translate("Hucha", "Ingresar nuevo movimiento", None, QtGui.QApplication.UnicodeUTF8))
self.boton_Ok.setText(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/32/dialog-ok.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.boton_Ok.setIcon(icon)
self.boton_Ok.setIconSize(QtCore.QSize(32, 32))
self.boton_Ok.setObjectName(_fromUtf8("boton_Ok"))
self.text_Cantidad = QtGui.QTextEdit(self.centralwidget)
self.text_Cantidad.setGeometry(QtCore.QRect(430, 74, 111, 31))
self.text_Cantidad.setObjectName(_fromUtf8("text_Cantidad"))
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(340, 80, 67, 21))
self.label_5.setText(QtGui.QApplication.translate("Hucha", "Cantidad:", None, QtGui.QApplication.UnicodeUTF8))
self.label_5.setObjectName(_fromUtf8("label_5"))
self.text_Comentarios = QtGui.QTextEdit(self.centralwidget)
self.text_Comentarios.setGeometry(QtCore.QRect(170, 130, 411, 31))
self.text_Comentarios.setObjectName(_fromUtf8("text_Comentarios"))
self.groupBox = QtGui.QGroupBox(self.centralwidget)
self.groupBox.setGeometry(QtCore.QRect(580, 10, 181, 101))
self.groupBox.setAutoFillBackground(False)
self.groupBox.setTitle(_fromUtf8(""))
self.groupBox.setFlat(False)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.label_6 = QtGui.QLabel(self.groupBox)
self.label_6.setGeometry(QtCore.QRect(20, 0, 51, 30))
self.label_6.setText(QtGui.QApplication.translate("Hucha", "Hucha:", None, QtGui.QApplication.UnicodeUTF8))
self.label_6.setObjectName(_fromUtf8("label_6"))
self.label_8 = QtGui.QLabel(self.groupBox)
self.label_8.setGeometry(QtCore.QRect(20, 60, 51, 30))
self.label_8.setText(QtGui.QApplication.translate("Hucha", "Total:", None, QtGui.QApplication.UnicodeUTF8))
self.label_8.setObjectName(_fromUtf8("label_8"))
self.label_Total = QtGui.QLabel(self.groupBox)
self.label_Total.setGeometry(QtCore.QRect(100, 60, 71, 30))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_Total.setFont(font)
self.label_Total.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
self.label_Total.setObjectName(_fromUtf8("label_Total"))
self.label_Banco = QtGui.QLabel(self.groupBox)
self.label_Banco.setGeometry(QtCore.QRect(100, 30, 71, 30))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_Banco.setFont(font)
self.label_Banco.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
self.label_Banco.setObjectName(_fromUtf8("label_Banco"))
self.label_7 = QtGui.QLabel(self.groupBox)
self.label_7.setGeometry(QtCore.QRect(20, 30, 51, 30))
self.label_7.setText(QtGui.QApplication.translate("Hucha", "Banco:", None, QtGui.QApplication.UnicodeUTF8))
self.label_7.setObjectName(_fromUtf8("label_7"))
self.label_Hucha = QtGui.QLabel(self.groupBox)
self.label_Hucha.setGeometry(QtCore.QRect(100, 0, 71, 30))
#.........这里部分代码省略.........
示例8: Ui_MainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(693, 554)
self.centralWidget = QtGui.QWidget(MainWindow)
self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.BeamDisplay = MplWidget(self.centralWidget)
self.BeamDisplay.setGeometry(QtCore.QRect(30, 280, 251, 191))
self.BeamDisplay.setObjectName(_fromUtf8("BeamDisplay"))
self.xplot = MplWidget(self.centralWidget)
self.xplot.setGeometry(QtCore.QRect(30, 150, 256, 100))
self.xplot.setObjectName(_fromUtf8("xplot"))
self.yplot = MplWidget(self.centralWidget)
self.yplot.setGeometry(QtCore.QRect(300, 210, 100, 256))
self.yplot.setObjectName(_fromUtf8("yplot"))
self.TwoD_region = QtGui.QGraphicsView(self.centralWidget)
self.TwoD_region.setGeometry(QtCore.QRect(590, 10, 91, 91))
self.TwoD_region.setObjectName(_fromUtf8("TwoD_region"))
self.TwoD_fit = QtGui.QGraphicsView(self.centralWidget)
self.TwoD_fit.setGeometry(QtCore.QRect(590, 110, 91, 81))
self.TwoD_fit.setObjectName(_fromUtf8("TwoD_fit"))
self.FitResultsSummary = QtGui.QTextBrowser(self.centralWidget)
self.FitResultsSummary.setGeometry(QtCore.QRect(420, 180, 161, 121))
self.FitResultsSummary.setObjectName(_fromUtf8("FitResultsSummary"))
self.ErrorMessages = QtGui.QTextBrowser(self.centralWidget)
self.ErrorMessages.setGeometry(QtCore.QRect(420, 340, 161, 131))
self.ErrorMessages.setObjectName(_fromUtf8("ErrorMessages"))
self.label = QtGui.QLabel(self.centralWidget)
self.label.setGeometry(QtCore.QRect(320, 20, 331, 31))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Courier New"))
font.setPointSize(14)
self.label.setFont(font)
self.label.setObjectName(_fromUtf8("label"))
self.StartButton = QtGui.QPushButton(self.centralWidget)
self.StartButton.setGeometry(QtCore.QRect(30, 20, 115, 32))
self.StartButton.setObjectName(_fromUtf8("StartButton"))
self.PauseButton = QtGui.QPushButton(self.centralWidget)
self.PauseButton.setGeometry(QtCore.QRect(160, 20, 115, 32))
self.PauseButton.setObjectName(_fromUtf8("PauseButton"))
self.fileDialog = QtGui.QPushButton(self.centralWidget)
self.fileDialog.setGeometry(QtCore.QRect(410, 60, 115, 32))
self.fileDialog.setObjectName(_fromUtf8("fileDialog"))
self.fileOutput = QtGui.QTextBrowser(self.centralWidget)
self.fileOutput.setGeometry(QtCore.QRect(40, 70, 361, 21))
self.fileOutput.setObjectName(_fromUtf8("fileOutput"))
MainWindow.setCentralWidget(self.centralWidget)
self.menuBar = QtGui.QMenuBar(MainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 693, 22))
self.menuBar.setMouseTracking(False)
self.menuBar.setObjectName(_fromUtf8("menuBar"))
self.menuSome_menu = QtGui.QMenu(self.menuBar)
self.menuSome_menu.setMouseTracking(False)
self.menuSome_menu.setObjectName(_fromUtf8("menuSome_menu"))
self.menuSome_other_menu = QtGui.QMenu(self.menuBar)
self.menuSome_other_menu.setObjectName(_fromUtf8("menuSome_other_menu"))
MainWindow.setMenuBar(self.menuBar)
self.mainToolBar = QtGui.QToolBar(MainWindow)
self.mainToolBar.setObjectName(_fromUtf8("mainToolBar"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
self.statusBar = QtGui.QStatusBar(MainWindow)
self.statusBar.setObjectName(_fromUtf8("statusBar"))
MainWindow.setStatusBar(self.statusBar)
self.menuBar.addAction(self.menuSome_menu.menuAction())
self.menuBar.addAction(self.menuSome_other_menu.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.FitResultsSummary.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'.Helvetica Neue DeskInterface\'; font-size:13pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8.25pt;\"><br /></p></body></html>", None))
self.label.setText(_translate("MainWindow", "Python gaussian beam fitter", None))
self.StartButton.setText(_translate("MainWindow", "Start", None))
self.PauseButton.setText(_translate("MainWindow", "Pause", None))
self.fileDialog.setText(_translate("MainWindow", "Choose file", None))
self.menuSome_menu.setTitle(_translate("MainWindow", "some menu", None))
self.menuSome_other_menu.setTitle(_translate("MainWindow", "some other menu", None))
示例9: Ui_MainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(1100, 827)
self.centralWidget = QtGui.QWidget(MainWindow)
self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.BeamDisplay = MplWidget(self.centralWidget)
self.BeamDisplay.setGeometry(QtCore.QRect(30, 280, 331, 311))
self.BeamDisplay.setObjectName(_fromUtf8("BeamDisplay"))
self.xplot = MplWidget(self.centralWidget)
self.xplot.setGeometry(QtCore.QRect(30, 120, 331, 141))
self.xplot.setObjectName(_fromUtf8("xplot"))
self.yplot = MplWidget(self.centralWidget)
self.yplot.setGeometry(QtCore.QRect(380, 280, 141, 311))
self.yplot.setObjectName(_fromUtf8("yplot"))
self.TwoD_region = QtGui.QGraphicsView(self.centralWidget)
self.TwoD_region.setGeometry(QtCore.QRect(880, 450, 91, 91))
self.TwoD_region.setObjectName(_fromUtf8("TwoD_region"))
self.TwoD_fit = QtGui.QGraphicsView(self.centralWidget)
self.TwoD_fit.setGeometry(QtCore.QRect(740, 470, 91, 81))
self.TwoD_fit.setObjectName(_fromUtf8("TwoD_fit"))
self.FitResultsHorizontal = QtGui.QTextBrowser(self.centralWidget)
self.FitResultsHorizontal.setGeometry(QtCore.QRect(540, 160, 161, 121))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Arial"))
font.setPointSize(12)
self.FitResultsHorizontal.setFont(font)
self.FitResultsHorizontal.setObjectName(_fromUtf8("FitResultsHorizontal"))
self.FitResultsVertical = QtGui.QTextBrowser(self.centralWidget)
self.FitResultsVertical.setGeometry(QtCore.QRect(540, 340, 161, 121))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Arial"))
font.setPointSize(12)
self.FitResultsVertical.setFont(font)
self.FitResultsVertical.setObjectName(_fromUtf8("FitResultsVertical"))
self.label = QtGui.QLabel(self.centralWidget)
self.label.setGeometry(QtCore.QRect(420, 20, 331, 31))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Courier New"))
font.setPointSize(14)
self.label.setFont(font)
self.label.setObjectName(_fromUtf8("label"))
self.StartButton = QtGui.QPushButton(self.centralWidget)
self.StartButton.setGeometry(QtCore.QRect(30, 20, 115, 32))
self.StartButton.setObjectName(_fromUtf8("StartButton"))
self.PauseButton = QtGui.QPushButton(self.centralWidget)
self.PauseButton.setGeometry(QtCore.QRect(160, 20, 115, 32))
self.PauseButton.setObjectName(_fromUtf8("PauseButton"))
self.fileDialog = QtGui.QPushButton(self.centralWidget)
self.fileDialog.setGeometry(QtCore.QRect(500, 70, 115, 31))
self.fileDialog.setObjectName(_fromUtf8("fileDialog"))
self.fileOutput = QtGui.QTextBrowser(self.centralWidget)
self.fileOutput.setGeometry(QtCore.QRect(30, 70, 461, 31))
self.fileOutput.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.fileOutput.setAcceptRichText(True)
self.fileOutput.setObjectName(_fromUtf8("fileOutput"))
self.label_2 = QtGui.QLabel(self.centralWidget)
self.label_2.setGeometry(QtCore.QRect(940, 730, 134, 23))
font = QtGui.QFont()
font.setPointSize(14)
self.label_2.setFont(font)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.ErrorMessages = QtGui.QTextBrowser(self.centralWidget)
self.ErrorMessages.setGeometry(QtCore.QRect(30, 630, 331, 91))
self.ErrorMessages.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.ErrorMessages.setObjectName(_fromUtf8("ErrorMessages"))
self.label_3 = QtGui.QLabel(self.centralWidget)
self.label_3.setGeometry(QtCore.QRect(530, 120, 181, 31))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_3.setFont(font)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.label_4 = QtGui.QLabel(self.centralWidget)
self.label_4.setGeometry(QtCore.QRect(540, 310, 161, 21))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.label_5 = QtGui.QLabel(self.centralWidget)
self.label_5.setGeometry(QtCore.QRect(30, 600, 111, 21))
font = QtGui.QFont()
font.setPointSize(12)
self.label_5.setFont(font)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.PowerMeter = QtGui.QLCDNumber(self.centralWidget)
self.PowerMeter.setGeometry(QtCore.QRect(380, 630, 191, 91))
self.PowerMeter.setObjectName(_fromUtf8("PowerMeter"))
self.label_6 = QtGui.QLabel(self.centralWidget)
self.label_6.setGeometry(QtCore.QRect(380, 600, 111, 21))
font = QtGui.QFont()
font.setPointSize(12)
self.label_6.setFont(font)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.label_7 = QtGui.QLabel(self.centralWidget)
self.label_7.setGeometry(QtCore.QRect(600, 660, 51, 41))
font = QtGui.QFont()
#.........这里部分代码省略.........
示例10: Ui_MainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1056, 687)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.confWidget1 = MplWidget(self.centralwidget)
self.confWidget1.setGeometry(QtCore.QRect(10, 30, 501, 51))
self.confWidget1.setObjectName("confWidget1")
self.btn_redraw = QtGui.QPushButton(self.centralwidget)
self.btn_redraw.setGeometry(QtCore.QRect(740, 390, 94, 24))
self.btn_redraw.setObjectName("btn_redraw")
self.confWidget2 = MplWidget(self.centralwidget)
self.confWidget2.setGeometry(QtCore.QRect(10, 80, 501, 51))
self.confWidget2.setObjectName("confWidget2")
self.confWidget3 = MplWidget(self.centralwidget)
self.confWidget3.setGeometry(QtCore.QRect(10, 130, 501, 51))
self.confWidget3.setObjectName("confWidget3")
self.confWidget4 = MplWidget(self.centralwidget)
self.confWidget4.setGeometry(QtCore.QRect(10, 180, 501, 51))
self.confWidget4.setObjectName("confWidget4")
self.btn_generateData = QtGui.QPushButton(self.centralwidget)
self.btn_generateData.setGeometry(QtCore.QRect(740, 320, 94, 24))
self.btn_generateData.setObjectName("btn_generateData")
self.btn_loadData = QtGui.QPushButton(self.centralwidget)
self.btn_loadData.setGeometry(QtCore.QRect(740, 360, 94, 24))
self.btn_loadData.setObjectName("btn_loadData")
self.w_colourbar = MplWidget(self.centralwidget)
self.w_colourbar.setGeometry(QtCore.QRect(510, 30, 31, 201))
self.w_colourbar.setObjectName("w_colourbar")
self.le_max = QtGui.QLineEdit(self.centralwidget)
self.le_max.setGeometry(QtCore.QRect(540, 60, 61, 23))
self.le_max.setObjectName("le_max")
self.le_min = QtGui.QLineEdit(self.centralwidget)
self.le_min.setGeometry(QtCore.QRect(540, 180, 61, 23))
self.le_min.setObjectName("le_min")
self.btn_set = QtGui.QPushButton(self.centralwidget)
self.btn_set.setGeometry(QtCore.QRect(550, 90, 41, 41))
self.btn_set.setObjectName("btn_set")
self.btn_clear = QtGui.QPushButton(self.centralwidget)
self.btn_clear.setGeometry(QtCore.QRect(550, 130, 41, 41))
self.btn_clear.setObjectName("btn_clear")
self.widget = FrameViewWidget(self.centralwidget)
self.widget.setGeometry(QtCore.QRect(60, 300, 581, 211))
self.widget.setObjectName("widget")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1056, 21))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
self.btn_redraw.setText(QtGui.QApplication.translate("MainWindow", "redraw", None, QtGui.QApplication.UnicodeUTF8))
self.btn_generateData.setText(QtGui.QApplication.translate("MainWindow", "generate data", None, QtGui.QApplication.UnicodeUTF8))
self.btn_loadData.setText(QtGui.QApplication.translate("MainWindow", "load data", None, QtGui.QApplication.UnicodeUTF8))
self.btn_set.setText(QtGui.QApplication.translate("MainWindow", "set", None, QtGui.QApplication.UnicodeUTF8))
self.btn_clear.setText(QtGui.QApplication.translate("MainWindow", "clear", None, QtGui.QApplication.UnicodeUTF8))
示例11: Ui_MainWindow
# 需要导入模块: from mplwidget import MplWidget [as 别名]
# 或者: from mplwidget.MplWidget import setGeometry [as 别名]
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(370, 570)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setMinimumSize(QtCore.QSize(370, 570))
MainWindow.setMaximumSize(QtCore.QSize(370, 570))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/sc_icon_16x16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
self.centralwidget = QtGui.QWidget(MainWindow)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
self.centralwidget.setSizePolicy(sizePolicy)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.actionsBox = QtGui.QGroupBox(self.centralwidget)
self.actionsBox.setGeometry(QtCore.QRect(10, 0, 351, 211))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Eras Demi ITC"))
font.setItalic(False)
self.actionsBox.setFont(font)
self.actionsBox.setObjectName(_fromUtf8("actionsBox"))
self.label_4 = QtGui.QLabel(self.actionsBox)
self.label_4.setGeometry(QtCore.QRect(250, 140, 16, 16))
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
self.label_4.setWordWrap(True)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.clearButton = QtGui.QPushButton(self.actionsBox)
self.clearButton.setGeometry(QtCore.QRect(10, 170, 61, 31))
font = QtGui.QFont()
font.setPointSize(10)
self.clearButton.setFont(font)
self.clearButton.setObjectName(_fromUtf8("clearButton"))
self.effectlabel = QtGui.QLabel(self.actionsBox)
self.effectlabel.setGeometry(QtCore.QRect(90, 170, 41, 23))
font = QtGui.QFont()
font.setPointSize(10)
self.effectlabel.setFont(font)
self.effectlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
self.effectlabel.setObjectName(_fromUtf8("effectlabel"))
self.rollButton = QtGui.QPushButton(self.actionsBox)
self.rollButton.setGeometry(QtCore.QRect(10, 80, 61, 81))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(False)
font.setItalic(False)
font.setUnderline(False)
font.setWeight(50)
font.setStrikeOut(False)
font.setKerning(True)
self.rollButton.setFont(font)
self.rollButton.setFlat(False)
self.rollButton.setObjectName(_fromUtf8("rollButton"))
self.label_7 = QtGui.QLabel(self.actionsBox)
self.label_7.setGeometry(QtCore.QRect(200, 140, 21, 16))
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
self.label_7.setWordWrap(True)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.effect_result = QtGui.QLabel(self.actionsBox)
self.effect_result.setGeometry(QtCore.QRect(130, 170, 211, 31))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.effect_result.sizePolicy().hasHeightForWidth())
self.effect_result.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.effect_result.setFont(font)
self.effect_result.setFrameShape(QtGui.QFrame.Box)
self.effect_result.setFrameShadow(QtGui.QFrame.Sunken)
self.effect_result.setText(_fromUtf8(""))
self.effect_result.setAlignment(QtCore.Qt.AlignCenter)
self.effect_result.setObjectName(_fromUtf8("effect_result"))
self.label = QtGui.QLabel(self.actionsBox)
self.label.setGeometry(QtCore.QRect(10, 20, 351, 20))
font = QtGui.QFont()
font.setPointSize(10)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.label.setObjectName(_fromUtf8("label"))
self.diffdial = QtGui.QDial(self.actionsBox)
self.diffdial.setGeometry(QtCore.QRect(200, 80, 71, 71))
self.diffdial.setMinimum(-6)
self.diffdial.setMaximum(6)
self.diffdial.setSingleStep(2)
self.diffdial.setPageStep(2)
self.diffdial.setSliderPosition(0)
self.diffdial.setTracking(True)
self.diffdial.setWrapping(False)
self.diffdial.setNotchTarget(3.7)
self.diffdial.setNotchesVisible(True)
self.diffdial.setObjectName(_fromUtf8("diffdial"))
#.........这里部分代码省略.........