|
|
|
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
|
|
|
<class>AddMethodDialogBase</class>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>AddMethodDialogBase</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>613</width>
|
|
|
|
<height>568</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>Add Method</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeGripEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQListView">
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Inline</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Access</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Storage</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Return Type</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Declarator</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>methods</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="allColumnsShowFocus">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizeMode">
|
|
|
|
<enum>LastColumn</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout3</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<spacer>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>111</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>addMethodButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Add Method</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>deleteMethodButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Delete Method</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>groupBox1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Method Properties</string>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout4</cstring>
|
|
|
|
</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>Return t&ype:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>returnType</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQComboBox" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>returnType</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>declarator</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>D&eclarator:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>declarator</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout5</cstring>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQComboBox" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>storage</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel5</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>S&torage:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>storage</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQCheckBox" row="1" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>isInline</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Inline</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Acce&ss:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>access</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQComboBox" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>access</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>groupBox2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>I&mplementation File</string>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQComboBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>sourceFile</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>7</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQToolButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>browseButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>TabFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</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>
|
|
|
|
<spacer>
|
|
|
|
<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>20</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonOk</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&OK</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonCancel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonOk</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonCancel</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>addMethodButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>addMethod()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>deleteMethodButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>deleteCurrentMethod()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>methods</sender>
|
|
|
|
<signal>selectionChanged(TQListViewItem*)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>currentChanged(TQListViewItem*)</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>returnType</sender>
|
|
|
|
<signal>activated(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>declarator</sender>
|
|
|
|
<signal>textChanged(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>access</sender>
|
|
|
|
<signal>activated(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>isInline</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>storage</sender>
|
|
|
|
<signal>activated(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>returnType</sender>
|
|
|
|
<signal>textChanged(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sourceFile</sender>
|
|
|
|
<signal>textChanged(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sourceFile</sender>
|
|
|
|
<signal>activated(const TQString&)</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>browseButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>AddMethodDialogBase</receiver>
|
|
|
|
<slot>browseImplementationFile()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>methods</tabstop>
|
|
|
|
<tabstop>addMethodButton</tabstop>
|
|
|
|
<tabstop>deleteMethodButton</tabstop>
|
|
|
|
<tabstop>returnType</tabstop>
|
|
|
|
<tabstop>declarator</tabstop>
|
|
|
|
<tabstop>access</tabstop>
|
|
|
|
<tabstop>storage</tabstop>
|
|
|
|
<tabstop>isInline</tabstop>
|
|
|
|
<tabstop>sourceFile</tabstop>
|
|
|
|
<tabstop>browseButton</tabstop>
|
|
|
|
<tabstop>buttonOk</tabstop>
|
|
|
|
<tabstop>buttonCancel</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<Q_SLOTS>
|
|
|
|
<slot access="protected">init()</slot>
|
|
|
|
<slot access="protected">destroy()</slot>
|
|
|
|
<slot>addMethod()</slot>
|
|
|
|
<slot>deleteCurrentMethod()</slot>
|
|
|
|
<slot>currentChanged(TQListViewItem*)</slot>
|
|
|
|
<slot>updateGUI()</slot>
|
|
|
|
<slot>browseImplementationFile()</slot>
|
|
|
|
</Q_SLOTS>
|
|
|
|
<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>
|