Re: [PySide] Problem with garbage collection

2023-02-09 Thread David Ching
>from: "henry.w...@yahoo.com " >mailto:henry.w...@yahoo.com> > > >Thanks for looking that up. It knew learning C++ would make me a better >Python programmer :) > Seems too hard though... Sure, I learned Qt with C++ and only recently switched to Python for

Re: [PySide] Problem with garbage collection

2023-02-09 Thread David Ching
>from: "henry.w...@yahoo.com" Henry> it seems like the clear method of the listwidget was the problem.? Here is what I tried. [...] The objects are ~just~ created from XML. When I display those items using the ListWidget .addItem() method they display correctly.? But only the first time!? If I

Re: [PySide] LGPL licensing obligations

2023-01-13 Thread David Ching
For now, I just posted a written offer. The app is not expected to have widespread interest, I would be surprised if anyone bothered to ask. If they do, I will get the needed info at the time. I would be interested in commercially licensing Qt under the startup plan (it is $500/year), but it

[PySide] LGPL licensing obligations

2023-01-10 Thread David Ching
Hello, I am preparing to deploy an application which has a dependency on Qt for Python, which I am licensing under the LGPL license. I have not found any specific documentation on how to do this. In the Qt Licensing FAQ at https://www.qt.io/faq/tag/qt-open-source-licensing?hsLang=en, it says:

Re: [PySide] pyside6-qtpy2cpp

2022-10-28 Thread David Ching
> Date: Thu, 27 Oct 2022 07:05:30 -0700 > From: "David Ching" > Subject: [PySide] pyside6-qtpy2cpp > Is there any update on when pyside6-qtpy2cpp will be available? Thanks for including it in 6.4.0.1!  Thanks, David _

[PySide] pyside6-qtpy2cpp (was RE: New Qt for Python release: 6.4.0 is out!)

2022-10-27 Thread David Ching
, October 17, 2022 10:26 AM To: David Ching ; pyside@qt-project.org Subject: AW: [PySide] New Qt for Python release: 6.4.0 is out! Hi David, thank you for bringing this to our attention, I can confirm your report. We will look into it asap. Best, Adrian Herrmann Software Engineer, Qt for Python

Re: [PySide] New Qt for Python release: 6.4.0 is out!

2022-10-17 Thread David Ching
> Date: Mon, 17 Oct 2022 09:20:28 +0200 > From: Cristi?n Maureira-Fredes > Hello, > > Can you try to install PySide6 on a fresh virtual environment and verify this? > > If you are unfamiliar with that: > https://doc.qt.io/qtforpython/quickstart.html > > It might be that you are installing

Re: [PySide] New Qt for Python release: 6.4.0 is out!

2022-10-16 Thread David Ching
From: Cristi?n Maureira-Fredes Subject: [PySide] New Qt for Python release: 6.4.0 is out! > New tools: pyside6-qml (for qml preview), pyside6-qtpy2cpp (to translate python to c++ code), pyside6-deploy (to simplify the deployment story, based on nuitka) pyside6-qtpy2cpp seems to be missing

Re: [PySide] setting colour via stylesheet causes indented combobox items

2022-09-18 Thread David Ching
David Ching> I tried with PySide2 and PySide6 on Windows 10. Today I repeated the test with PySide2 and PySide6 on MacOS 12.5.1. Both failed in the same way Frank reported (indented tick appeared). Thanks, David ___ PySide mailing l

Re: [PySide] setting colour via stylesheet causes indented combobox items

2022-09-17 Thread David Ching
I tried with PySide2 and PySide6 on Windows 10. PySide2 shows small text not adjusted for high-dpi monitor. It did not seem to alter the default display at all. PySide6 was entirely correct. See below On Windows 10, Pyside 5.15.2.1: Selection doesn't become red. No indented tick.

Re: [PySide] editing selected cells in QTabelWidget

2022-08-31 Thread David Ching
> From: Frank Rueter mailto:fr...@ohufx.com > Thanks, I solved that part by not using the persistent editor at all as that > seemed to interrupt things. > Instead I just use the mousePressEvent on the table to make single clicks > edit the cells. Then I have > the delegate's setModelData

Re: [PySide] editing selected cells in QTabelWidget

2022-08-30 Thread David Ching
Even if you got the right click to actually set focus to the combo box on one item, I am not sure the user would find that intuitive. Right-clicking usually brings up a context menu. On deeper thought, it seems to be a conflict of using the persistent editor with a selection of multiple items.

Re: [PySide] PySide2 on OSX 12.5.1 not working?

2022-08-29 Thread David Ching
> Date: Sat, 27 Aug 2022 10:30:41 +1200 > From: Frank Rueter > Subject: [PySide] PySide2 on OSX 12.5.1 not working? > > Hi all, > > I just set up PySide2 on my laptop but when I run a simple test like the below all I get is an empty window which freezes/beachballs straight away. ... > from

Re: [PySide] editing selected cells in QTabelWidget

2022-08-25 Thread David Ching
> Date: Thu, 25 Aug 2022 20:36:01 +1200 > From: Frank Rueter > Subject: [PySide] editing selected cells in QTabelWidget > Hi all, > > I have a simple table which will never hold much data, so I opted for QTabelWidget rather than QTabelView. > Two columns have combo boxes set as cell widgets; all

[PySide] : Re: Qt Designer is no longer shipped with the latest PySide6

2022-05-19 Thread David Ching
Date: Thu, 19 May 2022 16:50:03 +0800 (CST) From: "Zhao Lee" Subject: Re: [PySide] Qt Designer is no longer shipped with the latest PySide6 Zhao Lee> I tested with Python 3.9 on win11, there is no pyside6-designer I tested with Python 3.10 on Windows 10. There is a pyside6-designer:

Re: [PySide] QtDesigner ???

2022-04-27 Thread David Ching
>From what I can tell, the root problem is not 6.3 related. It is also there in 6.2. The difference is the code generated by 6.3 activated a different tab, and this tab contains a layout causing the issue. When I changed the 6.2 generated code to activate the same tab, it also had the issue.

Re: [PySide] QtDesigner ???

2022-04-27 Thread David Ching
o De Stefani Sent: Tuesday, April 26, 2022 11:04 AM To: David Ching Cc: pyside@qt-project.org Subject: Re: [PySide] QtDesigner ??? I also noted that the error message is different if a modify the generated pyDBManagerMainWIndowBad.py the original error is: C:\PyWare\pyDBManager\Bug>python pyDB

Re: [PySide] QtDesigner ???

2022-04-25 Thread David Ching
> Date: Mon, 25 Apr 2022 20:26:45 +0200 > From: Paolo De Stefani > Subject: Re: [PySide] QtDesigner ??? > Message-ID: <6bb50e91a39bb8ec77e88f85d9d4e...@paolodestefani.it> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > I removed completly my python 3.10 installation (in

Re: [PySide] QtDesigner ???

2022-04-25 Thread David Ching
> From: Paolo De Stefani > Sent: Monday, April 25, 2022 11:27 AM > Subject: Re: QtDesigner ??? > ... > C:\Python310>pip install pyside6-essentials Collecting pyside6-essentials Paolo, FWIW, I did a "pip install pyside6" and not the "pyside6-essentials". Maybe that makes a difference. Like I

Re: [PySide] QtDesigner ???

2022-04-25 Thread David Ching
From: Paolo De Stefani Sent: Sunday, April 24, 2022 8:25 AM ... > AttributeError: 'PySide6.QtWidgets.QHBoxLayout' object has no attribute 'isEmpty' ... > AttributeError: 'PySide6.QtWidgets.QHBoxLayout' object has no attribute 'setContentsMargins'. Did you mean: 'getContentsMargins'? ... >

Re: [PySide] QtDesigner ???

2022-04-24 Thread David Ching
Hi Paolo, I could not reproduce. Either: [pyDBManager.py] #from Ui.DBManagerMainWindowGood import Ui_DBManagerMainWindow from Ui.DBManagerMainWindowBad import Ui_DBManagerMainWindow Or: [pyDBManager.py] from Ui.DBManagerMainWindowGood import Ui_DBManagerMainWindow #from

[PySide] Nuitka issue on macOS

2022-02-01 Thread David Ching
Hello, I am trying to use Nuitka to compile and distribute my Qt for Python app. https://doc.qt.io/qtforpython/deployment-nuitka.html cites a known problem: "Nuitka currently has a problem with the macOS bundle files on current macOS versions. That has the effect that -standalone and -onefile