[PySide] Advice for QTcpSocket

2024-01-08 Thread henry.wede--- via PySide
Hello, So far, my life with sockets has been very easy.  Now I have something more complicated and hope that somebody can provide some guidance. There are thousands of positions that need to be sent to a robot controller via TCP.  The controller can buffer eight positions, so the program has to

Re: [PySide] Help importing compiled Qt resource file from subfolder

2023-09-28 Thread henry.wede--- via PySide
t Charlottenburg, HRB 144331 B | | | | | | | | | | | | | | | | | | Von: PySide im Auftrag von henry.wede--- via PySide Gesendet: Montag, 25. September 2023 01:00 An: pyside@qt-project.org Betreff: [PySide] Help importing compiled Qt resource file from subfolder Hello, I have s

[PySide] Help importing compiled Qt resource file from subfolder

2023-09-24 Thread henry.wede--- via PySide
Hello, I have spend the last few hours trying to figure this out and now I have to ask for some help. My project has grown to the point where is needs to be more organized, so I am moving modules from one huge folder into subfolders.  I use a resource file in QtDesigner and then compile it

[PySide] Confusion about QGraphicsView mouse events

2023-04-04 Thread henry.wede--- via PySide
Hello, My graphics scene has enough objects now so I need to implement pan and zoom functionality.  The examples I have found all subclass the QGraphicsView and layout things manually - but my workflow uses QtDesigner and I don't think that I should need to recreate a graphics view object just

Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-27 Thread henry.wede--- via PySide
one object from Python.Then since QListWidget inherits QObject, you can connect something to its "destroyed" signal to see when it gets deleted.https://doc.qt.io/qt-6/qobject.html#destroyed Alexis.On Mon, 2023-03-27 at 03:26 +0000, henry.wede--- via PySide wrote: Hello all, I've spent

Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-27 Thread henry.wede--- via PySide
to its "destroyed" signal to see when it gets deleted.https://doc.qt.io/qt-6/qobject.html#destroyed Alexis.On Mon, 2023-03-27 at 03:26 +, henry.wede--- via PySide wrote: Hello all, I've spent hours trying to figure out a solution to this and I just don't understand what is happening. T

[PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted

2023-03-26 Thread henry.wede--- via PySide
Hello all, I've spent hours trying to figure out a solution to this and I just don't understand what is happening. The GUI has a QListWidget that contains some objects that subclass  QListWidgetItem.  The user can drag these onto a QGraphicsScene and then all kinds of wonderful stuff happens. 

Re: [PySide] Problem with garbage collection

2023-02-09 Thread henry.wede--- via PySide
David, Thanks for looking that up.  It knew learning C++ would make me a better Python programmer :)  Seems too hard though... My method probably does seem strange, but I will try to explain it.  I have to store a bunch of lists containing both commands and robot positions.  I made different

Re: [PySide] Problem with garbage collection

2023-02-09 Thread henry.wede--- via PySide
ects will not be deleted until the positions list goes out of scope, or is explicitly deleted. I hope this solves your problem. On Thu, Feb 9, 2023 at 12:53 AM henry.wede--- via PySide wrote: Hello, I am trying to track down a " Internal C++ object (RobotPosition) already deleted" err

Re: [PySide] Problem with garbage collection

2023-02-08 Thread henry.wede--- via PySide
he objects will not be deleted until the positions list goes out of scope, or is explicitly deleted. I hope this solves your problem. On Thu, Feb 9, 2023 at 12:53 AM henry.wede--- via PySide wrote: Hello, I am trying to track down a " Internal C++ object (RobotPosition) already deleted" error

[PySide] Problem with garbage collection

2023-02-08 Thread henry.wede--- via PySide
Hello, I am trying to track down a " Internal C++ object (RobotPosition) already deleted" error.  The Internet says that my object is being garbage collected because it falls out of scope.  This is part of a big application so I can't just post a folder of code, but please let me try to explain

[PySide] How to get more details about what caused a program crash

2022-11-06 Thread henry.wede--- via PySide
Hello, I am creating a program using PySide2 and Python V3.9.0 under Windows 10.  There is no fancy IDE involved... just QtDesigner to create the UI files, Notepad++ to do the editing, and a DOS Window to run the program.   When running the program, the user can add items to a QTreeWidget. 

Re: [PySide] Using a QSvgWidget in Qt Designer

2020-07-23 Thread henry.wede--- via PySide
Voilà :)ëRiC On Thu, Jul 23, 2020 at 10:16 PM henry.wede--- via PySide wrote: Hello, I am trying to display some SVG files in a QMainWindow.  I am using QtDesigner and not really interested in hand-coding the UI widgets.  How to I insert a QSvgWidget into a layout using QtDesigner?  I suspect t

[PySide] Using a QSvgWidget in Qt Designer

2020-07-23 Thread henry.wede--- via PySide
Hello, I am trying to display some SVG files in a QMainWindow.  I am using QtDesigner and not really interested in hand-coding the UI widgets.  How to I insert a QSvgWidget into a layout using QtDesigner?  I suspect that I drag a QWidget onto the layout and then "promote" it somehow but I don't

[PySide] How to get QPixmap from QCamera

2019-05-18 Thread henry.wede--- via PySide
Hello,I am trying to create a program so I can use a USB microscope/camera for alignment on a CNC router.  The image needs to have cross-hairs and other helpful geometry overlayed on top of the camera image.  I have spent a few hours looking at examples and trying to come up with a solution