Newer
Older
Import / research / ui / TweakableProperties / TestUI.xml
<?xml version="1.0" encoding="utf-8"?>
<UI>
	<VBox>
		<HBox>
			<VBox>
				<RadioButton name="rb1" property="m_radioButtonChecked1" text="Hello World" />
				<RadioButton name="rb2" property="m_radioButtonChecked2" text="Hello World" disabled="true" />
				<RadioButton name="rb3" property="m_radioButtonChecked3" text="Hello World" default="true" />
				<RadioButton name="rb4" property="m_radioButtonChecked4" text="Hello World" focus="true" />
				<Button name="but1" text="Hello World" />
				<Button name="but2" text="Hello World" disabled="true" />
				<Button name="but3" text="Hello World" default="true" />
				<Button name="but4" text="Hello World" focus="true" />
				<VSpace />
			</VBox>
			<VBox>
				<CheckBox name="cb1" property="m_checkBoxChecked1" text="Hello World" />
				<CheckBox name="cb2" property="m_checkBoxChecked2" text="Hello World" disabled="true" />
				<CheckBox name="cb3" property="m_checkBoxChecked3" text="Hello World" default="true" />
				<CheckBox name="cb4" property="m_checkBoxChecked4" text="Hello World" focus="true" />
				<Label name="l1" property="m_labelText" />
				<Label name="l2" property="m_labelText" disabled="true" />
				<Label name="l3" property="m_labelText" />		
				<Label name="l4" property="m_labelText" />
				<LineEdit name="le1" property="m_labelText" />
				<VSpace />
				<VSpace />
			</VBox>
			<VBox>
				<Slider name="sl" property="m_sliderValue" />
				<ComboBox name="cb" property="m_comboValue">
          <Item text="blah item 1" />
          <Item text="foo item 2" />
          <Item text="bar item 3" />
        </ComboBox>
				<GroupBox name="gb" property="m_labelText">
					<CheckBox name="cb5" property="m_checkBoxChecked1" text="Test" />
					<CheckBox name="cb6" property="m_checkBoxChecked2" text="Test" />
					<Label property="m_labelText" />
					<LineEdit property="m_labelText" />
					<Slider property="m_sliderValue" />
				</GroupBox>
				<VSpace />
				<VSpace />
			</VBox>
		</HBox>
		<ProgressBar name="pb" property="m_sliderValue" />
		<VSpace />
	</VBox>
</UI>