473,394 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1802
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.