ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Today I stumbled upon QT designer. I was wondering if those of you who program in C++ using QT libraries like it or hate it. Does it generate all your program code or just the code to draw the windows? It wasn't immediately obvious to me from the tutorials.
Nearly all people programming in Qt use Qt Designer. In its earlier versions it was possible to write the whole app using that program, but currently it's becoming just a tool to draw the windows (well, it's not that simple).
For me it's very useful. Writing all the code to draw a not very complicated window with tooltips, menu etc by hand is long and boring work. With Designer it's much faster.
It's a good tool, but, as with any other tool, you need to learn how to use it.
Thank you for the advice and responses. At first I was a little worried that it would write all the code and not leave anything for creativity. I'm excited to begin working on a GUI-based program as soon as I finish my time at the University in a few weeks.
Because it is so easy to use, and combined it with the power of C++, I find it would acutally help your creativity!
It would take you some trial and error to find out what is the best way to name and arrange these classes.
Fo me, I find that since I frequently modified these ui design, and I do not want uic overwrote my change everything there is a change, I only use the generated ui classes as base classes and put my program logic in my derived classes.
I'm not a very good programmer, but I have found Qt Designer to be an excellent tool. I've written a few small apps with it for personal use. For my tasks, everything could have been done on the command line with various files. But Qt Designer made it pretty trivial to add a GUI.
Another thing that I really like, is to use Qt Designer with the PyQt libraries. Creating functional, easy to use programs with Python and Qt is a very easy and can be done very quickly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.