|
|
|
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
|
|
<class>Form1</class>
|
|
|
|
<widget class="Dialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Form1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>412</width>
|
|
|
|
<height>161</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>Text Editor</string>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>11</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TextEdit">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textEdit</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="associations" stdset="0">
|
|
|
|
<stringlist>
|
|
|
|
<string>@widgetText</string>
|
|
|
|
</stringlist>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Layout1</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<widget class="FileSelector">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>fileChooser</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="associations" stdset="0">
|
|
|
|
<stringlist>
|
|
|
|
<string>@widgetText</string>
|
|
|
|
</stringlist>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="ExecButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>saveButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save</string>
|
|
|
|
</property>
|
|
|
|
<property name="associations" stdset="0">
|
|
|
|
<stringlist>
|
|
|
|
<string>echo '@textEdit' > @fileChooser</string>
|
|
|
|
</stringlist>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="CloseButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>closeButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Close</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
</UI>
|