[QUOTE=pthomas]Thanks for the links, however I've been through each one of those links already before posting and still couldn't put the whole picture together for creating a simple dialog with them.[quote]
What are you loking for then?The first link is the most helpful, but isn't quite what I'm looking for.
Do they have to deal with Qt4? The overall mechanism is identical both in Qt3 and Qt4. Only minor things changed when it comes to the technique of writing applications and they are covered (those changes) either by that video tutorial from Trolltech or one of Johan's articles at digitalfanatics. If you want a huge tutorial about eveything, you won't find it.And the last 3 either don't deal with Qt4,
They do, you didn't look well enough (although they may not necessary be walk-by-hand tutorials).or don't have any tutorials at all (link 2).
What is wrong with your dialog? I stress it once again, that you CAN'T use KDevelop's embedded Designer component to create Qt4 widgets, I think that's your problem -- you don't have any Qt4 features of Designer.I'm still trying to figure out how to get my simple dialog working, I've been referencing this link mainly, but still no luck.
Could you explain? I don't see them jumping around, just presenting choices one has -- that page is especialy usefull for people transfering from Qt3.http://doc.trolltech.com/4.1/designe...component.html
Sure it talks about sub classing the dialog, but the dialog they build leading up to that point isn't straight forward. They jump around way too much.
You can't use KDevelop to manage Qt4 project, please remember that. You have to do it by changing the .pro file directly and making sure KDevelop doesn't mess it up. And answering your last question -- that's where the tutorial page you mentioned comes in -- you have there different choices you can take at that moment. One way or the other, you have to create a class derived from one of Qt widget classes and apply that UI there. It is explained in the tutorial how to do it.I can build a dialog with Qt4 designer, but can't figure out how to make use of it. I can hop in Kdevelop ( I agree Kdevelop doesn't have Qt4 designer integrated!) and then can create a new project (c++ -> QMake project -> Hello world). Then under the project settings, select Qt4 and give it the path to the header files and such (/usr/include/qt4). Then in the automake manager I can add a main.cpp and the created dialog. But now what? Subclass the .UI file? Thats where I get the most lost.
Bookmarks