
python - PyQt or PySide - which one to use - Stack Overflow
2011年7月31日 · @shutefan: I for my part only scarcely use the documentation for the bindings, with PyQt as well as PySide. Commonly I read the outstanding C++ documentation for Qt (it also has quite good examples, and longer articles about Qt frameworks and techniques), and only use the binding documentation to look up Python specific things (like the signal-slot API) or …
PySide and Python - How to browse a folder and write the file …
2015年7月27日 · I would like to press a button and than open a file browser and write down selected file in a label. I have this function which I call when the button is pressed: @Slot() def browse_folder...
python - Application icon in PySide GUI - Stack Overflow
PySide needs access to a special DLL to read .ico files. I think it's qico4.dll. You could try changing the call to setWindowIcon to open the icon as a .png and put a .png of it in the ./dist directory and see if that works. If so, then your code is fine and I'm pretty sure it's the .dll problem.
python - PySide: TreeView widget for folders - Stack Overflow
2019年11月13日 · I want to create a TreeView widget using PySide for Autodesk Maya that can display the content of a directory like the example below: I did find an example using tkinter for a simple python script : Tkinter: Treeview widget. But I want to use Pyside so I can run it in Autodesk Maya. I did create a script that can display a simple TreeView widget:
PySide: Instant tooltips (no delay before showing the tooltip)
2015年7月12日 · It would be great if someone could lend some insight into how to accomplish this. I'm about a month into PySide so I'm having trouble deciphering these advanced examples/answers I've found online, so a simple code example with some comments will help me out a lot. Here's what I have so far.
pyside - how to terminate qthread in python - Stack Overflow
2014年11月9日 · EDIT: it works on linux too, I tried this on raspberry pi 4 and it works fine. the point is to make the main loop in the " run " method because " terminate " function is stopping the loop in " run " not the thread its self here is a working example for this, but unfortunately it works on windows only
python - pyside show / hide layouts - Stack Overflow
2012年8月6日 · I'm trying to display one of two layouts depending on whether a checkbox is checked or not. Only using widgets I can do the following which works fine: (each widget in this example is a QLineEdit)
calling a parent method from a child widget in pyside/pyqt
I'm trying to call a method of a parent class from within a child class. Specifically, my parent class is a PySide.QtGui.QMainWindow object, and my child class is a PySide.QtGui.QWidget object; the latter is set to be the central widget of the former. I'm trying to connect a button within the child to a method in the parent class.
PySide: QStyledItemDelegate button's stylesheet Issue
2022年3月14日 · So, the user just clicks any index and all buttons irreversibly change color? That seems just strange. What if the user wrongly clicks on any of those items by mistake, for instance while trying to get back focus on the window, or because they wanted to click on the other column and missed the right spot, or even just because they're trying to understand how the UI works?
PySide / PyQt detect if user trying to close window
2012年2月12日 · Is it possible to connect aboutToQuit from inside a separate file that only subclasses the MainWindow, as is the standard workflow using Qt Designer to define the .ui, pyside-uic to convert that to a .py that you don't manually edit, then this separate file for user implementation of the UI elements?