PyQt
Simple hierarchical listing in PyQT
I\'m trying to create a UI with 3 columns - when you select an item in the left column, the select item is passed to a function, and it returns the items for the middle column (and of course same for[详细]
2023-04-07 14:53 分类:问答Python: map widgets to database for reading and editing it
I am relatively new to database GUI programming, and I want to make a simple app in Python, which allows user to access and edit database. I want to view/edit tables and specific records plus generate[详细]
2023-04-06 19:58 分类:问答Enigmatic TypeError with QThread usage
I have a QThread which runs, but will often need to be killed, then recreated. The problem is I\'m getting an untraceable TypeError that pops up and I have no idea what\'s causing it. I presume I\'m n[详细]
2023-04-06 12:31 分类:问答Singleshot: SLOT with arguments
I have a strange problem. Here is my code: def method1(self, arg1, delay=开发者_C百科True): \"\"\"This is a method class\"\"\"[详细]
2023-04-06 09:47 分类:问答Full screen not working in youtube embedded player JavaScript API
I am creating a PyQt Youtube player using the JavaScript player API. I used QWebView to load the url http://www.youtube.com/e/VIDEO_ID?version=3&a开发者_Python百科mp;enablejsapi=1[详细]
2023-04-05 11:04 分类:问答Achieving a border for a QTreeWidgetItem in PyQT
I don\'t see that there\'s any way to define a stylesheet for a specific QTreeWidgetItem, so I\'m resolved to attempt to figure my solution out using either SetBackground or SetForeground. The effect[详细]
2023-04-04 20:40 分类:问答QSql connect and read from Database example? - Driver not loaded
I\'ve recently started found the need to change from the __mysql module to PyQt\'s QSql but have nooo idea whatsoever where to start. All I want to do (for now) is read from a database and print the r[详细]
2023-04-04 18:20 分类:问答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 分类:问答Mixing colors in PyQt?
Is there a way to make a new QColor in PyQt by combining 2 different colors? Something like: QColo开发者_StackOverflow社区r([30, QColor(123,0,45, 100)], [70, QColor(12, 34, 56, 100)])[详细]
2023-04-04 11:48 分类:问答