Python Forum
Binding functions in Qt Designerr
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Binding functions in Qt Designerr
#6
First I tip my hat to @Axel_Erfurt comment as it is basically inline with my thoughts on it

But to be specific @Mocap it is like this -- one of the major elements to how pyqt was designed to be used is Layouts -- now while you can use Layouts while developing a GUI in Designer when you are done and you get that mess of code the Designer barfs out you will notice that their is next to no Layouts (and often not a single one) within that code -- instead it uses a sort of static coordinate system which has issues. So in order of issues they are:

1) The Designer does not use the essential Layout system of pyqt in the code it produces
2) The code the Designer produces is extremely ugly and thus hard to debug and maintain
3) The code the Designer produces is filled with inessential items making it unnecessarily complex
4) The code the Designer produces does not use Class encapsulation as it should in conjunction with pyqt
5) Creating bad code with the Designer takes as much time or more time than creating good code without it

Those are my issues with that tool - yes some folks use it but I would argue that ought never be used because that the reason I hear for its use is often simply a case of programmer laziness and inefficiency. Something that could easily be adjusted if the programmer were to be a bit more thoughtful about what they were doing.
Reply


Messages In This Thread
Binding functions in Qt Designerr - by Mocap - Aug-04-2019, 01:31 AM
RE: Binding functions in Qt Designerr - by Denni - Aug-08-2019, 12:45 PM
RE: Binding functions in Qt Designerr - by Mocap - Aug-15-2019, 03:08 AM
RE: Binding functions in Qt Designerr - by Denni - Aug-15-2019, 02:54 PM
RE: Binding functions in Qt Designerr - by Alfalfa - Aug-15-2019, 05:38 PM
RE: Binding functions in Qt Designerr - by Denni - Aug-15-2019, 06:30 PM
RE: Binding functions in Qt Designerr - by Alfalfa - Aug-17-2019, 01:05 AM
RE: Binding functions in Qt Designerr - by Denni - Aug-19-2019, 03:28 PM
RE: Binding functions in Qt Designerr - by Alfalfa - Aug-21-2019, 10:06 PM
RE: Binding functions in Qt Designerr - by Denni - Aug-22-2019, 03:38 PM
Functions in Qt Designer - by Mocap - Aug-07-2019, 11:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Key Binding scope angus1964 1 1,224 Jun-30-2022, 08:17 PM
Last Post: deanhystad
  kivy binding issue hammer 8 3,043 Nov-07-2021, 11:34 PM
Last Post: hammer
  [Tkinter] binding versus disable DPaul 6 6,811 May-05-2021, 05:17 PM
Last Post: DPaul
  [Tkinter] Binding Entry box to <Button-3> created in for loop iconit 5 4,995 Apr-22-2020, 05:47 AM
Last Post: iconit
  TkInter Binding Buttons ifigazsi 5 4,458 Apr-06-2020, 08:30 AM
Last Post: ifigazsi
  Making text clickable with binding DT2000 10 5,171 Apr-02-2020, 10:11 PM
Last Post: DT2000
  [Tkinter] Setting Binding to Entry created with a loop? p_hobbs 1 2,091 Nov-25-2019, 10:29 AM
Last Post: Larz60+
  Binding functions to Menus in tkinter?? Mocap 1 2,476 Jul-23-2019, 01:37 AM
Last Post: Larz60+
  [Kivy] Kivy property (in .kv) loses binding to a variable (in .py) j.crater 3 5,159 Aug-14-2018, 12:37 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020