On this tab page you specify some general properties of the custom widget, such as what the class is called and how it should be represented in Qt Designer.
Fill in the class name of the custom widget in this field.
Fill in the name of the header file for the custom widget class in this field. By clicking on the button labeled ... next to the entry field, you can bring up a file selection dialog to make selection of the header filename easier. Finally, in the combo box next to the button you can select whether the header file should be included globally (by surrounding the filename with <>in the include statement) or locally (by surrounding the filename with “”).
The row labeled pixmap shows the pixmap that Qt Designer uses to represent your custom widget (in the menu and in the toolbar). The Qt logo is used by default, but you can select another pixmap by clicking on the button labeled ... .
In this row you can specify the size hint for the custom widget, i.e., the size at which the widget displays best. If there is no such size for your widget, or the size hint can only be computed dynamically because it is dependent on runtime characteristics, leave the default -1, -1 here.
In this row you can specify the horizontal and vertical size policies for the custom widget. For an explanation of the possible values, please see the Qt Reference Documentation.