I got Python embedded into a PyQt4 app back when it was in the beta stages and only worked on a git branch of Ipython. I haven't looked at the code for a year or so, and a LOT has changed since then …
This code works:
from PyQt4 import QtGui
But this doesnt:
I have a tough problem with PySide and Python3. The program crushes randomly because of memory problems. It doesn't throw an unhandled exception or anything, it's the interpreter that dies due to ...
Here i have some code where i don't know why i can't create multiple instances of a class. I am new to PyQt or Systray-handling, so I guess my problem is a very easy one.
My problem is, that if i ...
I am currently looking at using PySide for mobile app development. I've done a few tutorials for creating desktop applications using Pyside and loving it. I understand PySide/PyQt is a port or mapping …
I'm using PyQt4 to make an interface for a project that I'm working on, and I want to remove tab widget which I have and replace it with another. Here's what my remove function looks like:
I'm facing a strange problem with a simple media player using PySide through Phonon library.
The problem is associated with the behaviour of this function: Phonon.MediaObject.pause().
Now I've ...
While it is possible to automatically remove a QGraphicsTextItem from a scene using a timer and Qt's signal-slot mechanism like
QTimer::singleShot(1000, QGraphicsTextItem*, SLOT(deleteLater()));
Is it possible to insert some default items, like the TCP Server TCP Client UDP Server/Client/Group in the above picture, to tree view with Qt designer ?
I have created a Qwizard in PyQT with 5 pages. I can not figure out how to connect signals to them. How it's works to connect to a next button of a certain page?
Any help is appreciated!
Using Python 3.2x and PyQT 4.8x:
I initialized an action and assigned to a menu item:
self.__actionOpen = QtGui.QAction(self.__mw)
I try to hide all widgets in layout. But looks like findChildren doesn't
work for layout.
Here's my sample code:
QLayout * layout = widget -> findChild<QLayout *> (layoutName);
Qt uses signals and slots normally in a single thread, so calling a signal will call a slot in the same thread signal called. Is it any way to use a signal-slot mechanism to pass a message to qt ...
I am new to PyQt programming. I am trying to create simple application but struck while connecting signal to custom function. Every time i run
i get the same error "AttributeError: 'AppGui' object …
I'm trying to connect a custom signal (in a TCP client class) to a method that updates a log with the data sent by the server and whatnot.
Here's the declaration of the TCP client class:
I'm very new to Python, so I'm sorry ahead of time if this is a simple mistake.
...(some init stuff here)....
I am building a Qt-based GUI using Pyside. Inside a specific class who has access to a QMainWindow (_theMainWindow) class which in turn has access to 2 other Qt Widgets (theScan & theScanProgress) …
I'm a 3D technical artist, using pyqt in Maya, a bit of a novice with pyqt.
I have 2 pyqt UI files created in Designer, and I load them into Maya with uic.loadUiType()
I want to assign the 2nd UI …
__event = threading.Event()
I have a HTML page which is displayed by QWebView control in PyQT. This HTML page consists of an 'input' element as given below
I search how to add a checkbox on the end on each rows of a QtableView in PyQt.
Thanks in advance for your help.
I have problem with rotation check with QGraphicsItemGroup. Several items are grouped into group which is rotating in scene. After rotation, the QGraphicsItem.rotation() always returns 0. The group is …
Please, help me with designing MVC-pattern with PyQt.
I want to split all program at 3 parts:
some class that is abstracted from all Qt classes(model)
some class that provides data from model to ...
I'm trying to play a single mp3 file on my software when a button is pressed.
Here's how i did it:
QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), playsong)
and the …
I'm currently trying to install PyQt4 on Mac OSX 10.8.3 and can't seem to execute the configure-ng.py file.
I've installed Qt 5.0.2 and SIP 4.14.6 successfully. However, I ran into an error with the …
I have a SQlite database I'm trying to read with the QtSql.QSqlTableModel. The issue is it won't read any table where the field name contains a "." via the setTable method.
As an example if I have …
I want to write some simple PyQt torrent client, but I've got some snag with that.
I would like to run some loop which takes care of downloading files (simple code using libtorrent) in a PyQt code.
In Qt, if a signal is called from a temporary object, such that the object may be deleted by the time the slot is called, is it an error?
In case it's relevant, the code is emitting the signal from …
well I'm using Pyqt4 in Maya2012 to make a reference editor alike ui. I working with a QtableWidget to make the reference list and i have subwidgets in each cell. One of the widgets is a checkbox ...
I have a TableWidget with ComboBoxes created by pressing a button. I need to get the row of a ComboBox if I interact with is so another CombobBox changes its contents. I found the this but I can't ...