Re: Are PyQt5 questions/issues accepted here?
Thomas Passin <[email protected]> Tue, 2 Dec 2025 18:27:10 -0500
| Newsgroups | gmane.comp.python.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/2/2025 5:03 PM, Rich Shepard wrote: > On Tue, 2 Dec 2025, Thomas Passin wrote: > >> Why not? Nothing very complicated, please. But you should be learning >> PyQt6, not v5. There's not a huge difference but go with v6 since almost >> it's getting all the new development. > > Thomas, > > Thanks. Most questions are simple (and more Python than PyQt.). This > desktop > currently runs PyQt5; during this month I'll upgrade the OS to the current > stable release and install either PyQt6 or PySide6. > > The question that prompted me to write is how to write a slot (funcion > in response > to a widget's signal/action.) The application is databased so accepting > entries on a form (dialog) using the 'Save' button will be a SQL query. > What > I've not found is the method to call when the 'Close' button is pressed to > reject all entries and close the dialog box/window. > > Regards, > > Rich Is your dialog modeless or modal? BTW, in Internet searches it can be helpful to search for Qt, not just pyqt. It's usually not hard to see how to make the Qt things work in PyQt.