The main design window of Ebuilder holding the TreeWidget More...
#include <dsgnmdl.h>
The DesignModule is the main window of Ebuilder. All operations like load, save, export and construction of new subwidgets is done through this window.
Create a design module. This will also create a number of other modules like MemberFuncListModule, MemberVarListModule and InclListModule.
Delete a DesignModule
[signal]
This signal is emitted by the DesignModule when file->exit was selected from the menu bar.
[private]
Handle resize events. This mainly resizes the TreeWidget since the menu bar resizes itself.
[private]
Check names for validity. Empty names or names with special characters in them are not accepted.
[private]
Rebuild the tree view of a widget. For each subwidget a TreeNode is created and added to the TreeWidget. This member function is recursive.
[private]
Return the correct QPixmap to use for a widget type in the TreeWidget.
[private, slot]
Create a new design. This slot is called when file->new is selected.
[private, slot]
Save the current design to disk using a proprietary format. This slot is activated when file->save is selected.
[private, slot]
Load a design from disk. The design should be store in the proprietary format used by Ebuilder. If any error occurs during loading, the current design will not be overwritten.
[private, slot]
Export the current design to C++. This slot is activated when file->export is selected.
[private, slot]
Emits a quit signal.
[private, slot]
Add a subwidget to the currently selected widget and let the user set its properties.
[private, slot]
Delete the currently selected node and all its children from the design.
[private, slot]
Edit the properties of the currently selected node using a WidgetInspector.
[private, slot]
Rename the current node and its accompanying widget. If the current node is the root node, the WidgetInfo data will be updated as well.
[private, slot]
Activate a node after it has been selected. This moves the PlaceHolder to the widget associated with this node.
[private, slot]
Unselects all nodes and hides the PlaceHolder.
[private, slot]
Update the visibility of the different windows such as the member function window.
[private, slot]
Edit the preferences for Ebuilder. These include x- and y grid settings and extensions used for exporting C++ code.
[private, slot]
Edit the inheritance properties of the design. This may force us to re-load the whole design. This happens if the substitute class is changed from QWidget to QDialog or vice-versa.
[private]
The popup menu used on the TreeWidget nodes
[private]
The popup menu used for adding new nodes
[private]
The popup used for the TreeWidget background
[private]
The popup used for the edit menu item
[private]
The popup used for the window menu item
[private]
The menu bar
[private]
The TreeWidget used for the hierarchical widget view
[private]
The PlaceHolder used for widget resize/move operations
[private]
A general modal for asking questions to the user
[private]
The member function window
[private]
The member variable window
[private]
The include file window
[private]
All info about the widget that's being designed
[private]
The pixmaps used for the different widget types
[private]
The next free number for automatic widget naming
[private]
The header extension used for exporting
[private]
The implementation extension used for exporting
[private]
The directory used for exporting
[private]
The size of the layout grid in the x-direction
[private]
The size of the layout grid in the y-direction