pyqt4
How to execute a method automatically after entering Qt event loop?
I would like to execute a method which can only be called once my QApplication is displayed, i.e. when it has entered its main event loop exec_(). I\'m new to Qt4 (using开发者_开发百科 PyQt4): i was h[详细]
2023-03-09 20:33 分类:问答PyQt4 Windows - Toolbar Actions don't work. How can I fix them?
I have made a program that has a Toolbar with a few actions on it in Linux. The Toolbar and its actions work perfectly on a Linux OS, but when I run the code on a Windows machine, the actions just don[详细]
2023-03-09 15:24 分类:问答Attaching a non-Qt widget to a Qt Widget
I\'m wondering, is it possible to attach other tools/widget into a Qt Widget? For example, I wanna att开发者_高级运维ached Firefox to my QWidget,[详细]
2023-03-09 09:42 分类:问答pyqt4 button click handler
I have a problem usin pyqt4: here is the code I\'m using, the point is that if in the event handler for the pushOk button clicked I call chiedi_numeri() it does not show me any form, while if I call c[详细]
2023-03-09 09:32 分类:问答QTreeWidget with multiple columns limits number of child items
Could anyone help me understand the following behaviou开发者_如何学JAVAr?If I run this PyQt script I can generate a simple window with a QTreeView with multiple child items:[详细]
2023-03-08 05:54 分类:问答How to use a variable declared inside a class, outside of this class?
I\'ve got this pro开发者_开发技巧blem with a project that involves programming in Python. I made this class with which a screen pops up and so allowing me to open a xls file.[详细]
2023-03-08 01:39 分类:问答PyQt4 character encoding: 'ascii' codec can't encode character
Trying to use this following script to load a page so that I can access the page with javascript executed. I would like to log in and look at the resultant page (https://www.thomsononeim.com/v-hom.asp[详细]
2023-03-07 18:28 分类:问答pyqt4: less round-about way of removing item from QListWidget?
I want to remove an 开发者_开发技巧item whose name I know. I came up with: item = lw.findItems(name, QtCore.Qt.MatchExactly)[0][详细]
2023-03-07 13:47 分类:问答Recursively copying files with progress
I\'ve seen questions asked here before about Python and copying files, but I have a different scenario to deal with.[详细]
2023-03-07 13:36 分类:问答How to add a QPixmap to QGraphicsView that is static?
hope someone of you can help me. I have a QGraphicsView, that is displaying a jpeg. The jpeg is much bigger than the QGraphicsView, so you can drag the jpeg (with the mouse). Over that jpeg I want to[详细]
2023-03-06 20:35 分类:问答