I was create a form in Qt Designer and saved as UR.ui (main title of this forms is "MainWindow") next write in terminal:
and open created file UR.py and write:
from PyQt4 import QtCore, QtGui
from UR import Ui_MainWindow
def __init__(self, parent=None):
self.ui = Ui_MainWindow()
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
myapp = StartQT4()
now when run I have error message "ImportError: cannot import name Ui_MainWindow"
wrrrrrr i have enough.... please help me how run and show this form in python???