Warning, /education/kmplot/kmplot/constantseditor.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <ui version="4.0"> 0003 <class>ConstantsEditor</class> 0004 <widget class="QWidget" name="ConstantsEditor"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>521</width> 0010 <height>442</height> 0011 </rect> 0012 </property> 0013 <property name="windowTitle"> 0014 <string>Constant Editor</string> 0015 </property> 0016 <layout class="QGridLayout"> 0017 <property name="margin"> 0018 <number>9</number> 0019 </property> 0020 <property name="spacing"> 0021 <number>6</number> 0022 </property> 0023 <item row="0" column="1"> 0024 <widget class="QLabel" name="valueInvalidLabel"> 0025 <property name="toolTip"> 0026 <string>The value must be a number (e.g. "pi^2")</string> 0027 </property> 0028 <property name="text"> 0029 <string>(invalid)</string> 0030 </property> 0031 <property name="alignment"> 0032 <set>Qt::AlignCenter</set> 0033 </property> 0034 </widget> 0035 </item> 0036 <item row="0" column="0"> 0037 <layout class="QGridLayout"> 0038 <property name="margin"> 0039 <number>0</number> 0040 </property> 0041 <property name="spacing"> 0042 <number>6</number> 0043 </property> 0044 <item row="0" column="1"> 0045 <widget class="KLineEdit" name="nameEdit"> 0046 <property name="whatsThis"> 0047 <string/> 0048 </property> 0049 </widget> 0050 </item> 0051 <item row="1" column="0"> 0052 <widget class="QLabel" name="label_2"> 0053 <property name="text"> 0054 <string>Value:</string> 0055 </property> 0056 <property name="alignment"> 0057 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0058 </property> 0059 </widget> 0060 </item> 0061 <item row="0" column="0"> 0062 <widget class="QLabel" name="label"> 0063 <property name="text"> 0064 <string>Constant:</string> 0065 </property> 0066 <property name="alignment"> 0067 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0068 </property> 0069 </widget> 0070 </item> 0071 <item row="1" column="1"> 0072 <widget class="EquationEdit" name="valueEdit"> 0073 <property name="toolTip"> 0074 <string>Enter an expression that evaluates to a number</string> 0075 </property> 0076 </widget> 0077 </item> 0078 </layout> 0079 </item> 0080 <item row="1" column="1"> 0081 <widget class="QPushButton" name="cmdNew"> 0082 <property name="toolTip"> 0083 <string>Add a new constant</string> 0084 </property> 0085 <property name="whatsThis"> 0086 <string>Click this button to add a new constant.</string> 0087 </property> 0088 <property name="text"> 0089 <string>&New</string> 0090 </property> 0091 </widget> 0092 </item> 0093 <item row="1" column="0" rowspan="3"> 0094 <widget class="QTreeWidget" name="constantList"> 0095 <property name="rootIsDecorated"> 0096 <bool>false</bool> 0097 </property> 0098 <property name="columnCount"> 0099 <number>4</number> 0100 </property> 0101 <column> 0102 <property name="text"> 0103 <string>Constant</string> 0104 </property> 0105 </column> 0106 <column> 0107 <property name="text"> 0108 <string>Value</string> 0109 </property> 0110 </column> 0111 <column> 0112 <property name="text"> 0113 <string>Document</string> 0114 </property> 0115 </column> 0116 <column> 0117 <property name="text"> 0118 <string>Global</string> 0119 </property> 0120 </column> 0121 </widget> 0122 </item> 0123 <item row="3" column="1"> 0124 <spacer> 0125 <property name="orientation"> 0126 <enum>Qt::Vertical</enum> 0127 </property> 0128 <property name="sizeHint" stdset="0"> 0129 <size> 0130 <width>20</width> 0131 <height>261</height> 0132 </size> 0133 </property> 0134 </spacer> 0135 </item> 0136 <item row="2" column="1"> 0137 <widget class="QPushButton" name="cmdDelete"> 0138 <property name="enabled"> 0139 <bool>false</bool> 0140 </property> 0141 <property name="toolTip"> 0142 <string>Delete the selected constant</string> 0143 </property> 0144 <property name="whatsThis"> 0145 <string>Click here to delete the selected constant; it can only be removed if it is not currently used by a plot.</string> 0146 </property> 0147 <property name="text"> 0148 <string>&Delete</string> 0149 </property> 0150 </widget> 0151 </item> 0152 </layout> 0153 </widget> 0154 <customwidgets> 0155 <customwidget> 0156 <class>KLineEdit</class> 0157 <extends>QLineEdit</extends> 0158 <header>klineedit.h</header> 0159 </customwidget> 0160 <customwidget> 0161 <class>EquationEdit</class> 0162 <extends>KLineEdit</extends> 0163 <header>equationedit.h</header> 0164 </customwidget> 0165 </customwidgets> 0166 <resources/> 0167 <connections/> 0168 </ui>