Modify Object Properties

Use the options in the Property Editor to modify objects in your user interface design.

Object Properties

The Widget Box contains the objects that are available for your interface design. Each object includes a set of properties that you can modify through the Property Editor.
The following properties are common for all objects.
uiObject Property Description
objectName Specify a name for the object.
uiWidget Property Description
enabled Select this property to enable the object in the GUI.

This property correlates to the enable property in the uicontrol object.

geometry Expand the geometry settings and define the object dimensions as X and Y or Width and Height.

This property correlates to the position property of the uicontrol object. All geometry settings will be saved as ‘normalized’ unit positions, relative to theparent.

visible Select this property to set the visibility of the widget as on or off.

This property correlates to the visible property of the uicontrol object. If the visibility is off, the widget is not visible.

toolTip Enter the tooltip text or specify a file for the tooltip.

Button Properties

The following properties are specific to push buttons, radio buttons and check boxes.

uiButton Property Description
text
  • Enter the text that you want to display. Note that the text appears on a push button and next to a radio button or check box.
  • Expand the settings for the text:

    translatable: Select this option if the text can be translated. Selected = true; Deselected = false.

checkable Select this property to create the uicontrol style of togglebutton. Otherwise, the code generated is for pushbutton.
checked (applies to radio buttons and check boxes.) Select this property to set the default state of the check box as selected. Selected = true; Not selected = false.

Input Widget Properties

The following properties are specific to line edit and slider objects.

uiAbstractSlider Property Description
minimum Minimum value of the slider.
maximum Maximum value of the slider.
pageStep Set the page value for the slider. This value corresponds to the PageUp and PageDown keys.
value Initial value of the slider.
orientation Select Horizontal or Vertical.