Qt Made Easy!
Last updated: $Date: 1998/07/28 01:07:38 $


  Main Features Help Mailing List Tutorial FAQ Download

Information
Attributes
Components
Global Editor
Menubar
Menu Editor
Projects
Project Viewer
Slot Editors
Source Editor

You can get to the globals editor either by going to the Menubar and selecting "windows | globals editor" or alt+h on a component.
Globals Editor Screen Shot The globals editor is a series of three editors. All three can be accessed by their respective tab on the top of the dialog. They are as follows:

Header Editor: The contents of this editor will go into main.h which all objects (including the main.cpp) will include. Anything put into here is a global declaration. The editor will try to figure out including pertaining to Qt, it will fill this file out with these includes when you try to run the program, of if you close and open the globals editor.

Main Editor: Everthing in this area will be appended to the main() function in a seperate file (main.cpp). It may be a seldom used dialog as most things to start Qt into the event loop are done by QtEZ, it may still be usefull on occation to put something in here.

Raw Source: You can put source code into here that may not belong in the GUI objects, came from another project, or are even just C functions. Contents of this are put into the main.cpp just before the main() function. This means if just the Main Editor above calls the contents it isn't necesary to prototype however if you are going to use this for other features then be sure to put valid declarations and prototypes into the Header Editor (as described above).
Signature/Comments: The contents of this do NOT make it to the source code dumping, instead this is just used so you can put your name and documentation for a .qtz inside the same file. It also allows you to tell people where to contact you, or how to get updates.


Mail Author