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.
199 lines
6.4 KiB
199 lines
6.4 KiB
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
|
<class>PHPNewClassDlgBase</class>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>m_ClassDLG</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>439</width>
|
|
<height>386</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>New Class</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Class &name:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_classNameEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<spacer row="5" column="0" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>Spacer1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQPushButton" row="5" column="3" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>m_okButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&OK</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="5" column="5" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>m_cancelButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="0" column="4" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>m_baseClassEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>m_classNameEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="2" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Base class:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_baseClassEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="3" column="0" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>TextLabel4</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Class &template:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_classTemplate</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Directory:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_dirEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&File name:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_fileNameEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQToolButton" row="2" column="6">
|
|
<property name="name">
|
|
<cstring>m_dirButton</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>TabFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>m_fileNameEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="5">
|
|
<property name="name">
|
|
<cstring>m_dirEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQTextEdit" row="4" column="0" rowspan="1" colspan="7">
|
|
<property name="name">
|
|
<cstring>m_classTemplate</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><?php
|
|
if (!defined("FILENAME")){
|
|
define("FILENAME",0);
|
|
/*
|
|
* @author AUTHOR
|
|
*/
|
|
|
|
class CLASSNAME extends BASECLASS {
|
|
//constructor
|
|
function CLASSNAME(){
|
|
BASECLASS::BASECLASS();
|
|
}
|
|
}
|
|
}
|
|
?></string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>m_okButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>m_ClassDLG</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_cancelButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>m_ClassDLG</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>m_classNameEdit</tabstop>
|
|
<tabstop>m_baseClassEdit</tabstop>
|
|
<tabstop>m_fileNameEdit</tabstop>
|
|
<tabstop>m_dirEdit</tabstop>
|
|
<tabstop>m_dirButton</tabstop>
|
|
<tabstop>m_classTemplate</tabstop>
|
|
<tabstop>m_okButton</tabstop>
|
|
<tabstop>m_cancelButton</tabstop>
|
|
</tabstops>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
<include location="global" impldecl="in implementation">klineedit.h</include>
|
|
</includes>
|
|
</UI>
|