[Qt-interest] New to QT - Beginners questions
Jens Saathoff
jens.saathoff at zsr-verlag.de
Thu Sep 2 09:40:18 CEST 2010
Hi!
I think that's exactly what i meant. Thank you!
Got my QT-Book today.
Byebye!
> Jens Saathoff schrieb:
>>
>>
>> For wxWidgets-GUI i don't use any GUI-Designer. Would you recommend
>> using QtCreator or switch back to "design it without a GUI-Designer"?
> I would start with the gui designer and study the generated code.
> Apart from that you could have a look at the Qt books:
> http://qt.nokia.com/developer/books/cpp-gui-programming-with-qt-4-2nd-edition
>
> or http://cartan.cas.suffolk.edu/oopdocbook/opensource/
> for example code.
>
> I personaly only use self generated code if the gui depends on
> something - for example the number of available devices, or
> if I create simple widgets I want to reuse very often.
>
> Anyway I would create the ui the way QtCreator does it:
>
> ---- header: ----
> namespace Ui
> {
> class DialogABC;
> }
>
> class DialogABC : public QDialog
> {
> Q_OBJECT
> public:
> ...
>
> private:
> Ui::DialogABC * ui;
> };
>
> ---- cpp: ----
> #include "DialogABC.h"
> #include "ui_DialogABC.h"
>
> DialogABC::DialogABC(QWidget* parent /*= 0*/, Qt::WFlags flags /*= 0*/)
> : QDialog(parent, flags)
> , ui(new Ui::DialogABC)
> { ui->setupUi(this);
> ...
> }
>
> Matthias
>
>
>
> Eingehende eMail ist virenfrei.
> Von AVG überprüft - www.avg.de
> Version: 9.0.851 / Virendatenbank: 271.1.1/3105 - Ausgabedatum: 08/31/10 20:34:00
>
--
__________________________________________________________
zsr Verlag oHG
Hatter Landstr. 34
D-26209 Hatten Germany
Fon: (+49) 4481- 90 70 880
Fax: (+49) 4481- 90 70 888
Mail: info at zsr-verlag.de
Amtsgericht Oldenburg, HRA 201249
Geschäftsführer: Maik Thomas
Ust.-ID-Nr.: DE259115158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100902/f368ae08/attachment.html
More information about the Qt-interest-old
mailing list