pyqt4
pyQt signals/slots with QtDesigner
I\'m trying to write a program that will interact with QGraphicsView.I want to gather mouse and keyboard events when the happen in the QGraphicsView. For example, if the user clicks on the QGraphicsVi[详细]
2023-04-07 02:14 分类:问答Getting all items of QComboBox - PyQt4 (Python)
I have A LOT of QComboBoxes, and at a certain point, I need to fetch every item of a particular QComboBox to iterate through.[详细]
2023-04-06 14:00 分类:问答PyQt4 - Remove Item Widget from QListWidget
I have a QListWidget and I need to remove some items. From what I\'ve researched, this is a generally unpleasant thing to do.[详细]
2023-04-05 22:40 分类:问答setSelected in QTreeWidget
I have a project where I need to change the selection of a tree widget in code. This needs to be done after I clear out the tree and populate it again.[详细]
2023-04-05 02:05 分类:问答Python QtWebKit save webpage to file
What\'s the best and simplest way to save a webpage displayed with QWebView() to file? from PyQt4.QtCore import *[详细]
2023-04-04 22:32 分类:问答QLabel.setText() not working?
I have been trying to get QLabel.setText in PySide working for several days, but no succes. I have following code(simplified):[详细]
2023-04-04 15:36 分类:问答Native PyQt function that tells you what widget is at a given position?
I am building a footage library, where each thumbnail is a QIcon on a QPushButton. I\'d like the thumbnails to advance a frame as the user middle-mouse-button scrolls on top of the QPushButton. The ch[详细]
2023-04-04 12:16 分类:问答Qt: open resizable window with recommended width
How can I open a dialog window in Qt/PyQt with a recommended size which can be shrinked 开发者_运维技巧and expanded ? I find only methods for setting a miniumSize, but not to set a actual size.QWidget[详细]
2023-04-04 08:08 分类:问答Destructor isn't called after adding a qmenubar
I have the following files (Main window/UI): files UI: # -*- coding: utf-8 -*- # Form implementation generated from reading ui file \'mainwindow.ui\'[详细]
2023-04-04 03:17 分类:问答How to add border around QWidget?
I am using PyQT4 to create a sample application for a prospective client. I am looking for some way to put a border around a specific widget. Please give me some pointers to look for.[详细]
2023-04-03 19:06 分类:问答
加载中,请稍侯......