The Edit Custom Widgets Dialog

Figure 9-4. The custom widgets dialog

This dialog lets you create descriptions for custom widgets, i.e., widgets that are not included in Qt but that you have written yourself or purchased from a third-party manufacturer. You can invoke it by selecting Tools|Custom|Edit Custom Widgets. The unlabeled list box to the left always shows the list of custom widgets known to Qt Designer.

New Widget

Click on this button to start the description of a new custom widget. Qt Designer will create a new description with some default values for a widget class called MyCustomWidget.

Delete Widget

Deletes the description for the currently selected custom widget.

Load Descriptions

Loads a file with descriptions for custom widgets. Chapters 9 and 10 explain the format of these files.

Save Descriptions

Saves the descriptions for the custom widgets to a file.