mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	Now we have base class AlgorithmDialogBase for all algortims. Dialogs for algorithms and batch processes should be created by subclassing this base dialog and adding to it corresponding parameters panel. ParametersPanel for single algorthm already updated to this approach.
		
			
				
	
	
		
			151 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			151 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <ui version="4.0">
 | |
|  <class>Dialog</class>
 | |
|  <widget class="QDialog" name="Dialog">
 | |
|   <property name="geometry">
 | |
|    <rect>
 | |
|     <x>0</x>
 | |
|     <y>0</y>
 | |
|     <width>578</width>
 | |
|     <height>406</height>
 | |
|    </rect>
 | |
|   </property>
 | |
|   <property name="windowTitle">
 | |
|    <string>Dialog</string>
 | |
|   </property>
 | |
|   <layout class="QVBoxLayout" name="verticalLayout">
 | |
|    <item>
 | |
|     <widget class="QTabWidget" name="tabWidget">
 | |
|      <property name="currentIndex">
 | |
|       <number>0</number>
 | |
|      </property>
 | |
|      <widget class="QWidget" name="tab">
 | |
|       <attribute name="title">
 | |
|        <string>Parameters</string>
 | |
|       </attribute>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout_4">
 | |
|        <property name="spacing">
 | |
|         <number>2</number>
 | |
|        </property>
 | |
|        <property name="margin">
 | |
|         <number>0</number>
 | |
|        </property>
 | |
|       </layout>
 | |
|      </widget>
 | |
|      <widget class="QWidget" name="tab_2">
 | |
|       <attribute name="title">
 | |
|        <string>Log</string>
 | |
|       </attribute>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout_2">
 | |
|        <property name="spacing">
 | |
|         <number>2</number>
 | |
|        </property>
 | |
|        <property name="margin">
 | |
|         <number>0</number>
 | |
|        </property>
 | |
|        <item>
 | |
|         <widget class="QTextEdit" name="txtLog">
 | |
|          <property name="frameShape">
 | |
|           <enum>QFrame::NoFrame</enum>
 | |
|          </property>
 | |
|          <property name="readOnly">
 | |
|           <bool>true</bool>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|      <widget class="QWidget" name="tab_3">
 | |
|       <attribute name="title">
 | |
|        <string>Help</string>
 | |
|       </attribute>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout_3">
 | |
|        <property name="spacing">
 | |
|         <number>2</number>
 | |
|        </property>
 | |
|        <property name="margin">
 | |
|         <number>0</number>
 | |
|        </property>
 | |
|        <item>
 | |
|         <widget class="QWebView" name="txtHelp">
 | |
|          <property name="url">
 | |
|           <url>
 | |
|            <string>about:blank</string>
 | |
|           </url>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </widget>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QLabel" name="lblProgress">
 | |
|      <property name="text">
 | |
|       <string/>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QProgressBar" name="progressBar">
 | |
|      <property name="value">
 | |
|       <number>0</number>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QDialogButtonBox" name="buttonBox">
 | |
|      <property name="orientation">
 | |
|       <enum>Qt::Horizontal</enum>
 | |
|      </property>
 | |
|      <property name="standardButtons">
 | |
|       <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|   </layout>
 | |
|  </widget>
 | |
|  <customwidgets>
 | |
|   <customwidget>
 | |
|    <class>QWebView</class>
 | |
|    <extends>QWidget</extends>
 | |
|    <header>QtWebKit/QWebView</header>
 | |
|   </customwidget>
 | |
|  </customwidgets>
 | |
|  <resources/>
 | |
|  <connections>
 | |
|   <connection>
 | |
|    <sender>buttonBox</sender>
 | |
|    <signal>accepted()</signal>
 | |
|    <receiver>Dialog</receiver>
 | |
|    <slot>accept()</slot>
 | |
|    <hints>
 | |
|     <hint type="sourcelabel">
 | |
|      <x>248</x>
 | |
|      <y>254</y>
 | |
|     </hint>
 | |
|     <hint type="destinationlabel">
 | |
|      <x>157</x>
 | |
|      <y>274</y>
 | |
|     </hint>
 | |
|    </hints>
 | |
|   </connection>
 | |
|   <connection>
 | |
|    <sender>buttonBox</sender>
 | |
|    <signal>rejected()</signal>
 | |
|    <receiver>Dialog</receiver>
 | |
|    <slot>reject()</slot>
 | |
|    <hints>
 | |
|     <hint type="sourcelabel">
 | |
|      <x>316</x>
 | |
|      <y>260</y>
 | |
|     </hint>
 | |
|     <hint type="destinationlabel">
 | |
|      <x>286</x>
 | |
|      <y>274</y>
 | |
|     </hint>
 | |
|    </hints>
 | |
|   </connection>
 | |
|  </connections>
 | |
| </ui>
 |