D
D
DumpyCoder2013-12-24 08:39:22
Python
DumpyCoder, 2013-12-24 08:39:22

Python + PyQt + Qt Designer. What's next?

I recently started learning Python, sketched a form in Qt Designer, and converted it to Python format using pyuic.
At the output, I received a description of the object:
class Ui_Dialog(object):
Now the question is how can I revive this form.
How to make progressbar work?

self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setGeometry(QtCore.QRect(20, 150, 118, 23))
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))

How to assign actions to buttons? How to read values ​​from inputs?
Maybe there are some books describing the work of Python + Qt or sites?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TomasHuk, 2013-12-24
@TomasHuk

There are a bunch of books, everything just googles. For example, the book "Prokhorenok N.A. - Python 3 and PyQt. Application Development", 2012.
From sites - Introduction to the PyQt4 environment , for example.

O
OnYourLips, 2013-12-24
@OnYourLips

Quick guide: zetcode.com/gui/pyqt4 Use
the documentation for the C++ version of Qt as you work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question