472,973 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,973 software developers and data experts.

Qt Designer required for PyQt?

is it possible to write the GUI code for PyQt applications by hand or
is using the Qt Designer an essential part of the process? Coming from a
Tkinter background, with a little exposure to wxPython, I'm very
comfortable and productive writing GUI code by hand. I understand the
appeal of using the GUI builder to visualize how your GUI will look, but
it also can add a layer of complexity. Does anyone write complex PyQt
apps without using Designer?

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Nov 23 '07 #1
2 1787
Hi Kevin,
designer is not required for producing your UI, you can code it by
hand. The are examples in both the C++ distribution of Qt and PyQt on
how to do so but it is pretty straightforward, especially since you
have a background on other GUI toolkits.

My general approach is to create the "fancy" stuff my application
needs by hand and generate the trivial ones using the designer.

Regards,
Yorgos

On Nov 23, 2007 6:46 AM, Kevin Walzer <kw@codebykevin.comwrote:
is it possible to write the GUI code for PyQt applications by hand or
is using the Qt Designer an essential part of the process? Coming from a
Tkinter background, with a little exposure to wxPython, I'm very
comfortable and productive writing GUI code by hand. I understand the
appeal of using the GUI builder to visualize how your GUI will look, but
it also can add a layer of complexity. Does anyone write complex PyQt
apps without using Designer?

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Nov 23 '07 #2
On Friday 23 November 2007, Kevin Walzer wrote:
is it possible to write the GUI code for PyQt applications by hand or
is using the Qt Designer an essential part of the process? Coming from a
Tkinter background, with a little exposure to wxPython, I'm very
comfortable and productive writing GUI code by hand. I understand the
appeal of using the GUI builder to visualize how your GUI will look, but
it also can add a layer of complexity. Does anyone write complex PyQt
apps without using Designer?
Do whatever fits your brain the best. Typically I would do both in an
application.

One particular advantage of the Designer approach is that you can sit down
with a user and quickly produce a working GUI that they are happy with.

Phil
Nov 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Vamsi Mudrageda | last post by:
I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another...
6
by: John Bradbury | last post by:
Is there any way to take the output produced by Qt designer (or any other GUI designer) and use it in Python to create a screen? There must be a better way of creating screens than having to use...
34
by: Fred | last post by:
Hi, I'm currently checking out Python as an alternative to VB.Net to moving from VB, but can't find a GUI designer that is as good as VB. I tried wxDesigner and wxGlade, but neither lets me...
10
by: svenn.are | last post by:
Hi, I wanted to run a program that is written in PyQt on my mac, and went over to Riverbank to get PyQ 3.13 and SIP 4.1.1 sources. I followed the installation guide except for the compiling...
10
by: Simon John | last post by:
After quite a while of wxPython I'm getting back into PyQt, mainly due to the announcement by Trolltech that they will make a GPL version of Qt4 for Windows (and Phil-T said he will make a PyQt to...
2
by: Madhusudan Singh | last post by:
Hi Two questions : 1. Is it possible to use an import command in a qt3 designer code ? (I know that it is possible to write python inside the braces -- but is it possible to use an import...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
12
by: diffuser78 | last post by:
I am newbie learning wxPython. I tried using GUI designer called wxGlade. When it generated code I couldnt get the same level of flexibility as writing the code by oneself. Any view on what you...
3
by: borntonetwork | last post by:
I am creating a simple form using designer (qt4) on Ubuntu. I use pyuic to create a python script from the form. I run the script and the form shows up fine. The idiosyncrasy occurs when I try to...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.