mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:40:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			101 lines
		
	
	
	
		
			3.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			101 lines
		
	
	
	
		
			3.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <ui version="4.0">
 | |
|  <class>HighPrivilegeDialog</class>
 | |
|  <widget class="QDialog" name="HighPrivilegeDialog">
 | |
|   <property name="geometry">
 | |
|    <rect>
 | |
|     <x>0</x>
 | |
|     <y>0</y>
 | |
|     <width>301</width>
 | |
|     <height>269</height>
 | |
|    </rect>
 | |
|   </property>
 | |
|   <property name="sizePolicy">
 | |
|    <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
 | |
|     <horstretch>0</horstretch>
 | |
|     <verstretch>0</verstretch>
 | |
|    </sizepolicy>
 | |
|   </property>
 | |
|   <property name="windowTitle">
 | |
|    <string>Warning: High Privilege</string>
 | |
|   </property>
 | |
|   <layout class="QVBoxLayout" name="verticalLayout">
 | |
|    <item>
 | |
|     <widget class="QLabel" name="label">
 | |
|      <property name="sizePolicy">
 | |
|       <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
 | |
|        <horstretch>0</horstretch>
 | |
|        <verstretch>0</verstretch>
 | |
|       </sizepolicy>
 | |
|      </property>
 | |
|      <property name="text">
 | |
|       <string><html><head/><body><h1 align="center" style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:xx-large; font-weight:700; color:#ff0000;">Warning: Run Supercell Wx with Low Privileges.</span></h1><p align="center">Please run Supercell Wx without admin or root permissions. Supercell Wx should not need such permissions to run. If you do not want to run Supercell Wx with high privilege, click &quot;Close&quot;, and relaunch with lower permissions. Otherwise, click &quot;Ignore&quot;. You may disable this warning with the checkbox below.</p></body></html></string>
 | |
|      </property>
 | |
|      <property name="textFormat">
 | |
|       <enum>Qt::TextFormat::RichText</enum>
 | |
|      </property>
 | |
|      <property name="alignment">
 | |
|       <set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop</set>
 | |
|      </property>
 | |
|      <property name="wordWrap">
 | |
|       <bool>true</bool>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QCheckBox" name="highPrivilegeCheckBox">
 | |
|      <property name="text">
 | |
|       <string>Disable High Privilege Warning</string>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|    <item>
 | |
|     <widget class="QDialogButtonBox" name="buttonBox">
 | |
|      <property name="orientation">
 | |
|       <enum>Qt::Orientation::Horizontal</enum>
 | |
|      </property>
 | |
|      <property name="standardButtons">
 | |
|       <set>QDialogButtonBox::StandardButton::Close|QDialogButtonBox::StandardButton::Ignore</set>
 | |
|      </property>
 | |
|     </widget>
 | |
|    </item>
 | |
|   </layout>
 | |
|  </widget>
 | |
|  <resources>
 | |
|   <include location="../../../../scwx-qt.qrc"/>
 | |
|  </resources>
 | |
|  <connections>
 | |
|   <connection>
 | |
|    <sender>buttonBox</sender>
 | |
|    <signal>accepted()</signal>
 | |
|    <receiver>HighPrivilegeDialog</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>HighPrivilegeDialog</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>
 | 
