mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	fixes #42441 changed two files, unchecked the option for translation for the operators button of the calculator
		
			
				
	
	
		
			322 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			322 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <ui version="4.0">
 | |
|  <class>Form</class>
 | |
|  <widget class="QWidget" name="Form">
 | |
|   <property name="geometry">
 | |
|    <rect>
 | |
|     <x>0</x>
 | |
|     <y>0</y>
 | |
|     <width>706</width>
 | |
|     <height>445</height>
 | |
|    </rect>
 | |
|   </property>
 | |
|   <property name="windowTitle">
 | |
|    <string notr="true">Form</string>
 | |
|   </property>
 | |
|   <layout class="QVBoxLayout" name="verticalLayout_3">
 | |
|    <item>
 | |
|     <widget class="QSplitter" name="splitter">
 | |
|      <property name="orientation">
 | |
|       <enum>Qt::Horizontal</enum>
 | |
|      </property>
 | |
|      <widget class="QGroupBox" name="groupBox">
 | |
|       <property name="title">
 | |
|        <string>Layers</string>
 | |
|       </property>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout">
 | |
|        <item>
 | |
|         <widget class="QListWidget" name="listWidget"/>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|      <widget class="QGroupBox" name="buttonsGroupBox">
 | |
|       <property name="title">
 | |
|        <string>Operators</string>
 | |
|       </property>
 | |
|       <layout class="QGridLayout" name="gridLayout">
 | |
|        <item row="2" column="4">
 | |
|         <widget class="QPushButton" name="mOpenBracketPushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">(</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="5">
 | |
|         <widget class="QPushButton" name="mGreaterEqualButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">>=</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="0">
 | |
|         <widget class="QPushButton" name="mLessButton">
 | |
|          <property name="text">
 | |
|           <string notr="true"><</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="3">
 | |
|         <widget class="QPushButton" name="mASinButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">asin</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="5">
 | |
|         <widget class="QPushButton" name="mAndButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">AND</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="2" column="2">
 | |
|         <widget class="QPushButton" name="mTanButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">tan</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="1">
 | |
|         <widget class="QPushButton" name="mGreaterButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">></string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="4">
 | |
|         <widget class="QPushButton" name="mLogButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">log10</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="1">
 | |
|         <widget class="QPushButton" name="mMultiplyPushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">*</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="4">
 | |
|         <widget class="QPushButton" name="mLnButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">ln</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="8">
 | |
|         <spacer name="horizontalSpacer_3">
 | |
|          <property name="orientation">
 | |
|           <enum>Qt::Horizontal</enum>
 | |
|          </property>
 | |
|          <property name="sizeHint" stdset="0">
 | |
|           <size>
 | |
|            <width>2</width>
 | |
|            <height>20</height>
 | |
|           </size>
 | |
|          </property>
 | |
|         </spacer>
 | |
|        </item>
 | |
|        <item row="5" column="2">
 | |
|         <spacer name="verticalSpacer">
 | |
|          <property name="orientation">
 | |
|           <enum>Qt::Vertical</enum>
 | |
|          </property>
 | |
|          <property name="sizeHint" stdset="0">
 | |
|           <size>
 | |
|            <width>20</width>
 | |
|            <height>40</height>
 | |
|           </size>
 | |
|          </property>
 | |
|         </spacer>
 | |
|        </item>
 | |
|        <item row="2" column="0">
 | |
|         <widget class="QPushButton" name="mExpButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">^</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="2">
 | |
|         <widget class="QPushButton" name="mEqualButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">=</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="2">
 | |
|         <widget class="QPushButton" name="mCosButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">cos</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="2" column="1">
 | |
|         <widget class="QPushButton" name="mSqrtButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">sqrt</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="4">
 | |
|         <widget class="QPushButton" name="mLesserEqualButton">
 | |
|          <property name="text">
 | |
|           <string notr="true"><=</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="3">
 | |
|         <widget class="QPushButton" name="mSinButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">sin</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="0" column="0">
 | |
|         <widget class="QPushButton" name="mPlusPushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">+</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="3" column="3">
 | |
|         <widget class="QPushButton" name="mNotEqualButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">!=</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="5">
 | |
|         <widget class="QPushButton" name="mOrButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">OR</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="2">
 | |
|         <widget class="QPushButton" name="mACosButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">acos</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="2" column="5">
 | |
|         <widget class="QPushButton" name="mCloseBracketPushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">)</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="0">
 | |
|         <widget class="QPushButton" name="mMinusPushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">-</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="2" column="3">
 | |
|         <widget class="QPushButton" name="mATanButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">atan</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="1" column="1">
 | |
|         <widget class="QPushButton" name="mDividePushButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">/</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="4" column="0">
 | |
|         <widget class="QPushButton" name="mAbsButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">abs</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="4" column="1">
 | |
|         <widget class="QPushButton" name="mMinButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">min</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item row="4" column="2">
 | |
|         <widget class="QPushButton" name="mMaxButton">
 | |
|          <property name="text">
 | |
|           <string notr="true">max</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QGroupBox" name="groupBox_3">
 | |
|      <property name="title">
 | |
|       <string>Expression</string>
 | |
|      </property>
 | |
|      <layout class="QVBoxLayout" name="verticalLayout_2">
 | |
|       <item>
 | |
|        <widget class="QPlainTextEdit" name="text">
 | |
|         <property name="placeholderText">
 | |
|          <string>Please enter a valid expression by clicking on one or more layer bands and operators.</string>
 | |
|         </property>
 | |
|        </widget>
 | |
|       </item>
 | |
|       <item>
 | |
|        <widget class="QLabel" name="expressionErrorLabel">
 | |
|         <property name="text">
 | |
|          <string>Expression is empty</string>
 | |
|         </property>
 | |
|        </widget>
 | |
|       </item>
 | |
|      </layout>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QGroupBox" name="groupBox_4">
 | |
|      <property name="title">
 | |
|       <string>Predefined expressions</string>
 | |
|      </property>
 | |
|      <layout class="QHBoxLayout" name="horizontalLayout">
 | |
|       <item>
 | |
|        <widget class="QComboBox" name="comboPredefined"/>
 | |
|       </item>
 | |
|       <item>
 | |
|        <widget class="QPushButton" name="buttonAddPredefined">
 | |
|         <property name="sizePolicy">
 | |
|          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 | |
|           <horstretch>0</horstretch>
 | |
|           <verstretch>0</verstretch>
 | |
|          </sizepolicy>
 | |
|         </property>
 | |
|         <property name="text">
 | |
|          <string>Add…</string>
 | |
|         </property>
 | |
|        </widget>
 | |
|       </item>
 | |
|       <item>
 | |
|        <widget class="QPushButton" name="buttonSavePredefined">
 | |
|         <property name="sizePolicy">
 | |
|          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 | |
|           <horstretch>0</horstretch>
 | |
|           <verstretch>0</verstretch>
 | |
|          </sizepolicy>
 | |
|         </property>
 | |
|         <property name="text">
 | |
|          <string>Save…</string>
 | |
|         </property>
 | |
|        </widget>
 | |
|       </item>
 | |
|      </layout>
 | |
|     </widget>
 | |
|    </item>
 | |
|   </layout>
 | |
|  </widget>
 | |
|  <resources/>
 | |
|  <connections/>
 | |
| </ui>
 |