# a very simple template to test PyQT widgets
# PyQT free from:
# http://www.riverbankcomputing.co.uk/software/pyqt/download
# used Windows installer PyQt-Py3.2-x86-gpl-4.8.4-1.exe
# tested with PyQT 4.8 and Python 3.2

from PyQt4.QtCore import *
from PyQt4.QtGui import *

app = QApplication([])

# ----- start your widget test code ----


# create the label
label = QLabel()
label.show()
# insert a text string
label.setText('hello all together')


# ---- end of widget test code -----

app.exec_()

Edited 4 Years Ago by HiHe

So sorry for mistake, i have already discover why it wasn't working, and deleted files from my dropbox folder, it's why it doesn't work. i just used class() instead variable = class(), class.ui.etc.etc.

This question has already been answered. Start a new discussion instead.