小编Mat*_*cke的帖子

pyqt 'Ui_Form' 对象没有属性 'show'

这是我的填充此代码是由 pyuic im 使用 pyqt4 和 python 2.7 生成的

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'editgui.ui'
#
# Created: Mon Nov 24 17:33:07 2014
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui
import PyQt4
import sys

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, …
Run Code Online (Sandbox Code Playgroud)

python pyqt4

3
推荐指数
1
解决办法
8594
查看次数

标签 统计

pyqt4 ×1

python ×1