You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui

583 lines
26 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Form1</class>
<widget class="TQWidget">
<property name="name">
<cstring>Form1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>646</width>
<height>456</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>PreviewBox</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Preview</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>Preview</cstring>
</property>
<property name="text">
<string>none</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Button text:</string>
</property>
<property name="buddy" stdset="0">
<cstring>text</cstring>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>Text</cstring>
</property>
</widget>
</hbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>Mode</cstring>
</property>
<property name="title">
<string>Base Image</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout15</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>Srcimg</cstring>
</property>
<property name="text">
<string>Source &amp;image:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="KURLRequester">
<property name="name">
<cstring>BaseImage</cstring>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>X scale:</string>
</property>
</widget>
<widget class="KIntSpinBox">
<property name="name">
<cstring>Xscale</cstring>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
<property name="text">
<string>Y scale:</string>
</property>
</widget>
<widget class="KIntSpinBox">
<property name="name">
<cstring>Yscale</cstring>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout17</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>Pillbox</cstring>
</property>
<property name="text">
<string>Generate pillbox</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Width:</string>
</property>
</widget>
<widget class="KIntSpinBox">
<property name="name">
<cstring>Xsize</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>512</number>
</property>
<property name="value">
<number>128</number>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Height:</string>
</property>
</widget>
<widget class="KIntSpinBox">
<property name="name">
<cstring>Ysize</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>512</number>
</property>
<property name="value">
<number>32</number>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer8</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout15</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>Base color:</string>
</property>
</widget>
<widget class="KColorButton">
<property name="name">
<cstring>BaseColor</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
<property name="color">
<color>
<red>0</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>TextBox</cstring>
</property>
<property name="title">
<string>Text Style</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Font style:</string>
</property>
<property name="buddy" stdset="0">
<cstring>font</cstring>
</property>
</widget>
<widget class="TDEFontRequester">
<property name="name">
<cstring>Font</cstring>
</property>
<property name="preview">
<bool>false</bool>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Text X offset:</string>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>XOffset</cstring>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2_2</cstring>
</property>
<property name="text">
<string>Text Y offset:</string>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>YOffset</cstring>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer6_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Text colors:</string>
</property>
<property name="buddy" stdset="0">
<cstring>textColors</cstring>
</property>
</widget>
<widget class="KDualColorButton">
<property name="name">
<cstring>TextColors</cstring>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>Shadow offset:</string>
</property>
<property name="buddy" stdset="0">
<cstring>offset</cstring>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>Offset</cstring>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>Srcimg</sender>
<signal>toggled(bool)</signal>
<receiver>BaseImage</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Srcimg</sender>
<signal>toggled(bool)</signal>
<receiver>Xscale</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Srcimg</sender>
<signal>toggled(bool)</signal>
<receiver>Yscale</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Pillbox</sender>
<signal>toggled(bool)</signal>
<receiver>Ysize</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Pillbox</sender>
<signal>toggled(bool)</signal>
<receiver>Xsize</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>Pillbox</sender>
<signal>toggled(bool)</signal>
<receiver>BaseColor</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="global" impldecl="in implementation">kdualcolorbutton.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
<include location="global" impldecl="in implementation">tdefontrequester.h</include>
</includes>
</UI>