summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/qconstanteditor.ui
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/qconstanteditor.ui')
-rw-r--r--kmplot/kmplot/qconstanteditor.ui200
1 files changed, 200 insertions, 0 deletions
diff --git a/kmplot/kmplot/qconstanteditor.ui b/kmplot/kmplot/qconstanteditor.ui
new file mode 100644
index 00000000..92baf7e5
--- /dev/null
+++ b/kmplot/kmplot/qconstanteditor.ui
@@ -0,0 +1,200 @@
+<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
+<class>QConstantEditor</class>
+<widget class="QWidget">
+ <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="QPushButton" row="2" column="1">
+ <property name="name">
+ <cstring>cmdDelete</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>&amp;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="QPushButton" row="1" column="1">
+ <property name="name">
+ <cstring>cmdEdit</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>&amp;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="QPushButton" row="3" column="1">
+ <property name="name">
+ <cstring>cmdDuplicate</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>D&amp;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="QPushButton" row="0" column="1">
+ <property name="name">
+ <cstring>cmdNew</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;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(QListViewItem*)</signal>
+ <receiver>QConstantEditor</receiver>
+ <slot>varlist_clicked(QListViewItem*)</slot>
+ </connection>
+ <connection>
+ <sender>cmdDuplicate</sender>
+ <signal>clicked()</signal>
+ <receiver>QConstantEditor</receiver>
+ <slot>cmdDuplicate_clicked()</slot>
+ </connection>
+ <connection>
+ <sender>varlist</sender>
+ <signal>doubleClicked(QListViewItem*)</signal>
+ <receiver>QConstantEditor</receiver>
+ <slot>varlist_doubleClicked(QListViewItem*)</slot>
+ </connection>
+</connections>
+<includes>
+ <include location="local" impldecl="in implementation">qconstanteditor.ui.h</include>
+</includes>
+<slots>
+ <slot>cmdCancel_clicked()</slot>
+ <slot>cmdNew_clicked()</slot>
+ <slot>cmdEdit_clicked()</slot>
+ <slot>cmdDelete_clicked()</slot>
+ <slot>varlist_clicked( QListViewItem * item )</slot>
+ <slot>cmdDuplicate_clicked()</slot>
+ <slot>newNewConstantSlot()</slot>
+ <slot>varlist_doubleClicked( QListViewItem * )</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <includehint>klistview.h</includehint>
+</includehints>
+</UI>