-
Programming patterns, code structure? C++, Qt & wxwidgets
Basically i would like to see hod the classes are organized and how GUI functions with code behind.
I need good, tutorial, document or book where i can read/learn more about code design patterns for desktop applications in C++.
Also if there is good open source project to learn more about that it would be very very helpful.
Preferable type of application is app that works with database, enter some data to database and give some output.
I prefered Qt but also wxwidgets would be great.
Platform preferable for Linux.
Thank you very much.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
i have that book for Qt3 but it's not what i'm looking for :(
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
as i asked:
Quote:
Basically i would like to see hod the classes are organized and how GUI functions with code behind.
or if there is good open source project to learn more about that.
Preferable type of application is app that works with database, enter some data to database and give some output.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Bro, i know for all of those but i need "short cut"
practical example how is that done.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
forget about everything
if someone can help me and provide me with good practical tutorial and/or example of C++ Qt or wxwidgets application that works with database, has 3 or more forms for editing data and few outputs i would be very grateful.
I need pattern and practical example how classes are organize in such a project.
I want to see full, working project where i can see good uses of container classes and child classes + GUI
I would be very very grateful for this.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
You can find lots of applications at qt-apps.org.
You are very unclear about what you want, it's highly unlikely you will get what you want with such attitude. If you want to learn gui programming, you can't do it based upon one application. There are C++ patterns you can use and they are valid for GUI as well, that's what I'd start with if I were you.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Ok,
you are right i think.
i'm sorry about that, the best would be to erase this topic, i was very unclear :(
i'm sorry
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
If you want examples, there are a lot of them provided with Qt. Also about database programming.
And I would definitively choose Qt over wxwidgets ;)
Best regards,
Marc
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
but i like wxwidgets licence more :)
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Quote:
Originally Posted by
nardev
but i like wxwidgets licence more :)
Correct me if I'm wrong but both wxWidgets and Qt are licenced under LGPL.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
The way those two projects are maintained/built are quite different.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Quote:
Originally Posted by
nardev
The way those two projects are maintained/built are quite different.
What does the licence have to do with this?
Architecture of Qt is light years ahead of that of wxWidgets, that's what counts most.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Compare:
http://qt.nokia.com/products/licensing
http://www.wxwidgets.org/about/newlicen.htm
Quote:
The wxWindows Licence is essentially the L-GPL (Library General Public Licence), with an exception stating that derived works in binary form may be distributed on the user's own terms. This is a solution that satisfies those who wish to produce GPL'ed software using wxWidgets, and also those producing proprietary software.
where Qt does this:
Quote:
Must provide source code changes to Qt:
Source code must be provided
Can create proprietary applications:
LGPL: Yes, in accordance with the LGPL v. 2.1 terms
OR
GPL: No, applications are subject to the GPL and source code must be made available
It's not exactly the same i think.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Do you intend to modify Qt or wxWidgets?
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
I understand that Qt is way in front with capabilities i just said that i prefer more wxwidgets model of licencing.
-
Re: Programming patterns, code structure? C++, Qt & wxwidgets
Again, have you ever modified a single line of code from wxWidgets?