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.
204 lines
7.1 KiB
204 lines
7.1 KiB
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
<class>QConstantEditor</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>QConstantEditor</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>388</width>
|
|
<height>341</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Constant Editor</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQPushButton" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>cmdDelete</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delete</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>delete selected constant</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click here to delete the selected constant; it can only be removed if it is not currently used by a plot.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>cmdEdit</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Change Value...</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Change the value of a user-defined constant</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click here to edit the value of the selected constant. Its name cannot be changed.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="3" column="1">
|
|
<property name="name">
|
|
<cstring>cmdDuplicate</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>D&uplicate</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Duplicate the selected constant</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click here to Copy the selected constant to another constant. You can choose the new name from a list.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>cmdNew</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New...</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add a new constant</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click this button to add a new constant.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KListView" row="0" column="0" rowspan="5" colspan="1">
|
|
<column>
|
|
<property name="text">
|
|
<string>Variable</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Value</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>varlist</cstring>
|
|
</property>
|
|
<property name="showSortIndicator">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="itemsMovable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>List of user-defined constants</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Select a constant to change its value, remove it or duplicate it.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="4" column="1">
|
|
<property name="name">
|
|
<cstring>spacer2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>147</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>cmdNew</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>cmdNew_clicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>cmdEdit</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>cmdEdit_clicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>cmdDelete</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>cmdDelete_clicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>varlist</sender>
|
|
<signal>clicked(TQListViewItem*)</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>varlist_clicked(TQListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>cmdDuplicate</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>cmdDuplicate_clicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>varlist</sender>
|
|
<signal>doubleClicked(TQListViewItem*)</signal>
|
|
<receiver>QConstantEditor</receiver>
|
|
<slot>varlist_doubleClicked(TQListViewItem*)</slot>
|
|
</connection>
|
|
</connections>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">qconstanteditor.ui.h</include>
|
|
</includes>
|
|
<forwards>
|
|
<forward>class TQListViewItem;</forward>
|
|
</forwards>
|
|
<Q_SLOTS>
|
|
<slot>cmdCancel_clicked()</slot>
|
|
<slot>cmdNew_clicked()</slot>
|
|
<slot>cmdEdit_clicked()</slot>
|
|
<slot>cmdDelete_clicked()</slot>
|
|
<slot>varlist_clicked( TQListViewItem * item )</slot>
|
|
<slot>cmdDuplicate_clicked()</slot>
|
|
<slot>newNewConstantSlot()</slot>
|
|
<slot>varlist_doubleClicked( TQListViewItem * )</slot>
|
|
</Q_SLOTS>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<includehints>
|
|
<includehint>klistview.h</includehint>
|
|
</includehints>
|
|
</UI>
|