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.
541 lines
22 KiB
541 lines
22 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>QEditParametric</class>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>QEditParametric</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>335</width>
|
|
<height>470</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Edit Parametric Plot</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQGroupBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>groupBox1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Definition</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel4</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignRight</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>kLineEditName</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>kLineEditXFunction</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>enter an expression</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Enter an expression for the function.
|
|
The dummy variable is t.
|
|
Example: cos(t)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>kLineEditName</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>f</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>name of the function</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Enter the name of the function.
|
|
The name of a function must be unique. If you leave this line empty KmPlot will set a default name. You can change it later.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>layout9</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelY</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>y</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelYF</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<bold>1</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>f</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelArgY</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(t) =</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="KLineEdit" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>kLineEditYFunction</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>enter an expression</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Enter an expression for the function.
|
|
The dummy variable is t.
|
|
Example: sin(t)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>layout8</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelX</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>x</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelXF</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<bold>1</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>f</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabelArgX</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(t) =</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>buttonGroup1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Extensions</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>checkBoxHide</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>hide the plot</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Check this box if you want to hide the plot of the function.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQFrame" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>frame6</cstring>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Sunken</enum>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Colo&r:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>kColorButtonColor</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KColorButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>kColorButtonColor</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>color of the plot line</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click this button to choose a color for the plot line.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Line &width:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>kIntNumInputLineWidth</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KIntNumInput" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>kIntNumInputLineWidth</cstring>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>width of the plot line</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Change the width of the plot line in steps of 0.1mm.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>0.1mm</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>Layout1</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonHelp</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Help</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string>F1</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<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="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>apply changes to the list</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click this button to apply the changes to the list of functions.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonCancel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>abort without changing anything</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Click here to close the dialog without changing anything.</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQFrame" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>frame5</cstring>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Sunken</enum>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Min:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>min</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Max:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>max</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>customMaxRange</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Custom plot maximum t-range:</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Customize the maximum plot range</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Check this button and enter the plot maximum range boundary below.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>customMinRange</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Custom plot minimum t-range:</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Customize the minimum plot range</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Check this button and enter the plot minimum range boundary below.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="3" column="1">
|
|
<property name="name">
|
|
<cstring>max</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>upper boundary of the plot range</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Enter the upper boundary of the plot range. Expressions like 2*pi are allowed, too.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>min</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>lower boundary of the plot range</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Enter the lower boundary of the plot range. Expressions like 2*pi are allowed, too.</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonOk</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QEditParametric</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QEditParametric</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>kLineEditName</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>textLabelXF</receiver>
|
|
<slot>setText(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>kLineEditName</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>textLabelYF</receiver>
|
|
<slot>setText(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonHelp</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QEditParametric</receiver>
|
|
<slot>slotHelp()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>kLineEditName</tabstop>
|
|
<tabstop>kLineEditXFunction</tabstop>
|
|
<tabstop>kLineEditYFunction</tabstop>
|
|
<tabstop>checkBoxHide</tabstop>
|
|
<tabstop>customMinRange</tabstop>
|
|
<tabstop>min</tabstop>
|
|
<tabstop>max</tabstop>
|
|
<tabstop>kIntNumInputLineWidth</tabstop>
|
|
<tabstop>kColorButtonColor</tabstop>
|
|
<tabstop>buttonOk</tabstop>
|
|
<tabstop>buttonCancel</tabstop>
|
|
<tabstop>buttonHelp</tabstop>
|
|
</tabstops>
|
|
<slots>
|
|
<slot>slotHelp()</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
|
|
<include location="global" impldecl="in implementation">klineedit.h</include>
|
|
<include location="global" impldecl="in implementation">knuminput.h</include>
|
|
</includes>
|
|
</UI>
|