| Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Attached are the files to this example. To compile the ui file (juic comes in the qt-jambi bundle): juic -cp src It will generate a file src/ui/Ui_Example.java (this is also included in the attachment if you can't get juic to work). To view the ui file, there is a "designer" program that is in the same place as juic (under bin), run that program. designer is very useful for creating GUI's. Very easy to use and you can create connections. In the example there are two. One is for closing the program using the menu, the other is where pushButton_2 makes a group box dissappear and reappear. This is a very useful tool. Read the Main.java file, it is heavily documented. The buid.tar.gz attachment contains the classes and src.tar.gz contains the source code. I hope this help. David P.S: Is there a quick and lightweight tutorial for using Qt (and perhaps Jambi) that covers everything required to make a descent (but not to complex) progam. Preferable below a few hundred pages :-)
Attachment:
Attachment:
src.tar.gz Attachment:
build.tar.gz
Description: application/tgz
Description: application/tgz
Message 2 in thread
Hi, David.
David Naylor wrote:
>P.S: Is there a quick and lightweight tutorial for using Qt (and perhaps
>Jambi) that covers everything required to make a descent (but not to complex)
>progam. Preferable below a few hundred pages :-)
>
>
On the following page there is a tutorial for using Qt for C++:
http://doc.trolltech.com/4.1/examples.html
The code samples have to be translated into Java code, but they do show
some useful features of Qt in general that can be adapted to Qt Jambi.
The following document may also help you in the process:
http://doc.trolltech.com/qtjambi-1.0/qtjambi-using-qt-documentation.html
-- Eskil