Dlgedit Help - Window Properties
In order to set the properties for the entire window you are
editing, select the background with the left mouse button.
From here the size of the window can be changed by clicking
and dragging the indicators on the right, bottom and
bottom-right corner.
In order to set more properties on the window, bring up the
window's property dialog. This can be accomplished by
selecting the Options:Properties menu item from the main menu
bar or by selecting the Properties menu item from the popup
menu shown when the right mouse button is clicked on the
window. The Window Properties dialog has three tabs which can
set the base class for the window, file generation properties,
and general properties for the window. The tabs are described
below.
Base class
The Base Class tab sets the class from which the window is
derived. This class can be:
- QDialog - For creating both modal and non-modal
dialogs.
- QTabDialog - For creating tabbed dialogs.
- QWidget - For creating property pages to be inserted
into QTabDialogs
- QFrame - For creating windows that can have the QFrame
border styles
The modal dialog check box is used to set the modal flag in
a QDialog or QTabDialog derived window.
File Generation
The File Generation tab sets the properties for the header and
source files exported by Dlgedit. Dlgedit exports two sets of
header and source files - the window class and the window data
class. Both sets are explained below:
- Window class. This is the class that will be used in
the program to declare the window made in Dlgedit. In it
will be member data and methods that the user will add to
make the dialog work correctly. These files will be
created once when the dialog is first generated. The
files will never be automatically overwritten.
- Window data class. This is the class that Dlgedit
uses to declare and initialize all the widgets created
with Dlgedit. This class is derived from the class set in
the Base class tab. This class
is also the base class of the Window class. Since it is a
publically derived class, all the mapped widgets set for
the window will be visible in the Window class. This
class usually has the same name as the Window class but
with "Data" appended onto it, e.g. Window class -
MyDialog, Window data class - MyDialogData.
Window
The Window tab sets the following properties for the window:
- Caption - The caption of the window which appears in
the title bar.
[Home]
[Window Properties]
[Widget Creation]
[Widget Layout]
[Widget Properties]
Last modified: Wed Apr 16 21:49:46 EDT 1997