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.
kxmleditor/part/kxetexteditordialogbase.ui

155 lines
4.9 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KXETextEditorDialogBase</class>
<comment>Dialog for editing XML node as raw text</comment>
<author>Lumir Vanek</author>
<widget class="TQDialog">
<property name="name">
<cstring>KXETextEditorDialogBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>511</width>
<height>318</height>
</rect>
</property>
<property name="caption">
<string>Edit XML as raw text</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KTextEdit" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>m_pTextEditor</cstring>
</property>
<property name="font">
<font>
<family>Courier</family>
</font>
</property>
<property name="vScrollBarMode">
<enum>AlwaysOn</enum>
</property>
<property name="hScrollBarMode">
<enum>Auto</enum>
</property>
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="wordWrap">
<enum>NoWrap</enum>
</property>
<property name="autoFormatting">
<set>AutoAll</set>
</property>
<property name="whatsThis" stdset="0">
<string>You can edit your XML document as raw text in this editor.</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="2">
<property name="name">
<cstring>m_pButtonOk</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="TQPushButton" row="1" column="3">
<property name="name">
<cstring>m_pButtonCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<widget class="TQPushButton" row="1" column="0">
<property name="name">
<cstring>m_pButtonValidate</cstring>
</property>
<property name="text">
<string>&amp;Validate</string>
</property>
<property name="accel">
<string>Alt+V</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Validate&lt;/b&gt;&lt;br/&gt;
Press this button, if you want your XML document in the above editor to be validated.</string>
</property>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>160</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<connections>
<connection>
<sender>m_pButtonOk</sender>
<signal>clicked()</signal>
<receiver>KXETextEditorDialogBase</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>m_pButtonCancel</sender>
<signal>clicked()</signal>
<receiver>KXETextEditorDialogBase</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>m_pButtonValidate</sender>
<signal>clicked()</signal>
<receiver>KXETextEditorDialogBase</receiver>
<slot>slotValidate()</slot>
</connection>
</connections>
<tabstops>
<tabstop>m_pTextEditor</tabstop>
<tabstop>m_pButtonValidate</tabstop>
</tabstops>
<slots>
<slot access="protected">slotValidate()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>ktextedit.h</includehint>
</includehints>
</UI>