Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sun, 2 Apr 2023 19:52:05 +0200, Dietmar Schwertberger wrote: > On 02.04.2023 18:20, Michael Torrie wrote: >>> Well the thing is you don't need to generate Python code at all. Qt >>> provides a UI loader class that loads the UI file at run time, builds >>> the objects in memory, and connects al

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sun, 02 Apr 2023 13:50:45 -0700 (PDT), Grant Edwards wrote: > On 2023-04-02, Michael Torrie wrote: >> On 4/2/23 05:09, Dietmar Schwertberger wrote: >>> I also did evaluate all the GUI builder from time to time between 2000 >>> and 2016 to find one that I could recommend to colleagues, but coul

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sat, 1 Apr 2023 19:19:17 -0600, Michael Torrie wrote: > Qt's commerical licensing is very hostile to small companies, I can say > that much. It's too bad really. But the LGPL will work for most > companies, except for those that might wish to use the embedded version, > such as in cars where

Re: Windows Gui Frontend

2023-04-03 Thread Jach Feng
Jim Schwartz 在 2023年4月1日 星期六晚上8:00:19 [UTC+8] 的信中寫道: > I have another question. I have an app written in python, but I want to add > a windows GUI front end to it. Can this be done in python? What packages > would allow me to do that? > > > > Thanks. There is a GUI Generator for tkinter https

Re: Windows Gui Frontend

2023-04-03 Thread rbowman
On Sat, 1 Apr 2023 10:37:34 -0500, Eryk Sun wrote: > On 4/1/23, Jim Schwartz wrote: >> I have another question. I have an app written in python, but I want >> to add a windows GUI front end to it. Can this be done in python? >> What packages would allow me to do that? > > Here are a few of th

Re: Windows Gui Frontend

2023-04-03 Thread Rolf Blum
Am 02.04.2023 um 01:13 schrieb Alan Gauld: On 01/04/2023 18:21, Jim Schwartz wrote: Are there any ide’s that will let me design the screen and convert it to python? There is nothing remotely like the VB or Delphi GUI builders. The latest Delphi versions themself can create GUIs for Python. I

Re: Windows Gui Frontend

2023-04-02 Thread dn via Python-list
On 03/04/2023 02.45, Michael Torrie wrote: On 4/2/23 05:09, Dietmar Schwertberger wrote: I also did evaluate all the GUI builder from time to time between 2000 and 2016 to find one that I could recommend to colleagues, but could not find one. Then I started contributing to wxGlade and I can s

Re: Windows Gui Frontend

2023-04-02 Thread Grant Edwards
On 2023-04-02, Michael Torrie wrote: > On 4/2/23 05:09, Dietmar Schwertberger wrote: >> I also did evaluate all the GUI builder from time to time between >> 2000 and 2016 to find one that I could recommend to colleagues, >> but could not find one. Then I started contributing to wxGlade >> and I ca

Re: Windows Gui Frontend

2023-04-02 Thread Igor Korot
Hi, Dietmer, On Sun, Apr 2, 2023 at 1:14 PM Dietmar Schwertberger wrote: > > On 02.04.2023 18:26, Michael Torrie wrote: > > Been a long time. I was initially turned off by the event handling > > system of wx compared to the signals and slots of Gtk and Qt. > When starting with Python GUIs in 1999

Re: Windows Gui Frontend

2023-04-02 Thread Dietmar Schwertberger
On 02.04.2023 18:26, Michael Torrie wrote: Been a long time. I was initially turned off by the event handling system of wx compared to the signals and slots of Gtk and Qt. When starting with Python GUIs in 1999, I evaluated both. Qt event handling had an advantage for C++ where the wxWidgets peo

Re: Windows Gui Frontend

2023-04-02 Thread Dietmar Schwertberger
On 02.04.2023 18:20, Michael Torrie wrote: Well the thing is you don't need to generate Python code at all. Qt provides a UI loader class that loads the UI file at run time, builds the objects in memory, and connects all your signals for you. I know, but having to load the .ui file is awkward.

Re: Windows Gui Frontend

2023-04-02 Thread Michael Torrie
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote: >> I've tried wxGlade but never could get into it, or wxWidgets in general. > > Which version? Up to 0.7.2 I agree. Been a long time. I was initially turned off by the event handling system of wx compared to the signals and slots of Gtk and Qt

Re: Windows Gui Frontend

2023-04-02 Thread Michael Torrie
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote: > That's what I hated with Qt Designer: it does not output Python code > but  a .ui file. > This was the point where I could not recommend it to anyone. Well the thing is you don't need to generate Python code at all. Qt provides a UI loader

Re: Windows Gui Frontend

2023-04-02 Thread Dietmar Schwertberger
On 02.04.2023 16:45, Michael Torrie wrote: But any modern GUI toolkit has sizers and layout managers. If you're manually placing elements you cannot deal with HiDPI or changing window sizes. Rearranging happens automatically when using sizers and layout managers. I did not talk about pixel pla

Re: Windows Gui Frontend

2023-04-02 Thread Michael Torrie
On 4/1/23 09:37, Eryk Sun wrote: > Here are a few of the GUI toolkit libraries in common use: > > * tkinter (Tk) > * PyQt (Qt) > * PySide (Qt) > * wxPython (wxWidgets) > * PyGObject (GTK) > > tkinter is included in Python's standard library. Another good one is Kivy. Especia

Re: Windows Gui Frontend

2023-04-02 Thread Michael Torrie
On 4/2/23 05:09, Dietmar Schwertberger wrote: > I also did evaluate all the GUI builder from time to time between > 2000 and 2016 to find one that I could recommend to colleagues, > but could not find one. Then I started contributing to wxGlade > and I can say that since a few years it's as easy ag

Re: Windows Gui Frontend

2023-04-02 Thread Dietmar Schwertberger
On 02.04.2023 01:13, Alan Gauld wrote: I did a deep dive examination of GUI builders back around v2.6 and came away less than enthused. Things may have improved since then but I've seen no real evidence of that. I also did evaluate all the GUI builder from time to time between 2000 and 2016 to f

Aw: Re: Windows Gui Frontend

2023-04-02 Thread Karsten Hilbert
> The real time consuming stuff in building GUIs is getting > the basic design right and keeping all the controls, > keyboard bindings and menus in sync. State management > in other words. And cominmg up with sensible design choices _at all_. > I did a deep dive examination of GUI builders back a

Re: Windows Gui Frontend

2023-04-01 Thread Michael Torrie
On 4/1/23 15:33, Thomas Passin wrote: > OTOH, Qt isn't free for commercial use and the OP seems to be > speculating on coming up with a product to sell at some point. Careful. That's not actually true, even though the marketing team at Qt lets people believe it is. Qt is licensed under the LGPL,

Re: Windows Gui Frontend

2023-04-01 Thread Alan Gauld
On 01/04/2023 18:21, Jim Schwartz wrote: > Are there any ide’s that will let me design the screen and convert it to > python? There is nothing remotely like the VB or Delphi GUI builders. There are some tools somewhat similar to the Java Swing and FX GUI builders with varying degrees of buggine

Re: Windows Gui Frontend

2023-04-01 Thread Grant Edwards
On 2023-04-01, Thomas Passin wrote: > Having worked with both, I'd rather use PyQt, although Tk might be > easier to get a toy app going with. Both editing windows and packing > are easier for me to understand with PyQt, for one thing. With tk it is _very_ easy to get small apps going. As the

Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin
On 4/1/2023 5:11 PM, Barry Scott wrote: On 1 Apr 2023, at 18:47, Igor Korot wrote: I suggest going with wxPython/wxGlade. I ported all my wxPython code to PyQt and have not regretted it. wxPython was (its been a while so may not be an issue now) far to hard to make consistent across OS, m

Re: Windows Gui Frontend

2023-04-01 Thread Barry Scott
> On 1 Apr 2023, at 18:47, Igor Korot wrote: > > I suggest going with wxPython/wxGlade. I ported all my wxPython code to PyQt and have not regretted it. wxPython was (its been a while so may not be an issue now) far to hard to make consistent across OS, my apps run on Linux, macOS and Window

Re: Windows Gui Frontend

2023-04-01 Thread Egon Frerich
tkinter is part of python e. Am 01.04.23 um 13:59 schrieb Jim Schwartz: I have another question. I have an app written in python, but I want to add a windows GUI front end to it. Can this be done in python? What packages would allow me to do that? Thanks. -- https://mail.python.org/m

Re: Windows Gui Frontend

2023-04-01 Thread Mats Wichmann
On 4/1/23 11:34, Eryk Sun wrote: On 4/1/23, Jim Schwartz wrote: Are there any ide’s that will let me design the screen and convert it to python? I doubt it because it was mentioned that this is time consuming. Thanks for the responses everyone. I appreciate it. For Qt, the WYSIWYG UI editor

Re: Windows Gui Frontend

2023-04-01 Thread Dietmar Schwertberger
On 01.04.2023 19:30, Igor Korot wrote: Look at wxGlade (a project designed for wxWidgets). You will design you layout and then just save it as a py file. wxGlade also includes a tutorial to get you started with wxPython itself. You should be able create basic GUIs within a few hours. See https

Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, Thomas, On Sat, Apr 1, 2023 at 12:40 PM Thomas Passin wrote: > > On 4/1/2023 1:28 PM, Thomas Passin wrote: > > On 4/1/2023 1:21 PM, Jim Schwartz wrote: > >> Are there any ide’s that will let me design the screen and convert it > >> to python? I doubt it because it was mentioned that this is

Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin
On 4/1/2023 1:28 PM, Thomas Passin wrote: On 4/1/2023 1:21 PM, Jim Schwartz wrote: Are there any ide’s that will let me design the screen and convert it to python?  I doubt it because it was mentioned that this is time consuming. Depends on what you mean by "let me design the screen", but Pys

Re: Windows Gui Frontend

2023-04-01 Thread Eryk Sun
On 4/1/23, Jim Schwartz wrote: > Are there any ide’s that will let me design the screen and convert it to > python? I doubt it because it was mentioned that this is time consuming. > > Thanks for the responses everyone. I appreciate it. For Qt, the WYSIWYG UI editor is Qt Designer. The basics ar

Re: Windows Gui Frontend

2023-04-01 Thread Igor Korot
Hi, On Sat, Apr 1, 2023 at 12:24 PM Jim Schwartz wrote: > > Are there any ide’s that will let me design the screen and convert it to > python? I doubt it because it was mentioned that this is time consuming. Look at wxGlade (a project designed for wxWidgets). You will design you layout and the

Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin
On 4/1/2023 1:21 PM, Jim Schwartz wrote: Are there any ide’s that will let me design the screen and convert it to python? I doubt it because it was mentioned that this is time consuming. Depends on what you mean by "let me design the screen", but Pyside (which I think is now called Pyside2)

Re: Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
Are there any ide’s that will let me design the screen and convert it to python? I doubt it because it was mentioned that this is time consuming. Thanks for the responses everyone. I appreciate it. Sent from my iPhone > On Apr 1, 2023, at 10:37 AM, Eryk Sun wrote: > > On 4/1/23, Jim Schwa

Re: Windows Gui Frontend

2023-04-01 Thread Eryk Sun
On 4/1/23, Jim Schwartz wrote: > I have another question. I have an app written in python, but I want to > add a windows GUI front end to it. Can this be done in python? What > packages would allow me to do that? Here are a few of the GUI toolkit libraries in common use: * tkinter (Tk)

Re: Windows Gui Frontend

2023-04-01 Thread Thomas Passin
On 4/1/2023 7:59 AM, Jim Schwartz wrote: I have another question. I have an app written in python, but I want to add a windows GUI front end to it. Can this be done in python? What packages would allow me to do that? WxWindows, Tk, and PyQt are some of the common ones. Be aware that GUI pro

Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
I have another question. I have an app written in python, but I want to add a windows GUI front end to it. Can this be done in python? What packages would allow me to do that? Thanks. -- https://mail.python.org/mailman/listinfo/python-list