mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Merge pull request #3081 from wwylele/fix-about
citra-qt: fix broken About box
This commit is contained in:
		
						commit
						bd5fe0c48f
					
				
					 1 changed files with 137 additions and 102 deletions
				
			
		|  | @ -6,115 +6,150 @@ | ||||||
|    <rect> |    <rect> | ||||||
|     <x>0</x> |     <x>0</x> | ||||||
|     <y>0</y> |     <y>0</y> | ||||||
|     <width>752</width> |     <width>616</width> | ||||||
|     <height>300</height> |     <height>261</height> | ||||||
|    </rect> |    </rect> | ||||||
|   </property> |   </property> | ||||||
|   <property name="windowTitle"> |   <property name="windowTitle"> | ||||||
|    <string>About Citra</string> |    <string>About Citra</string> | ||||||
|   </property> |   </property> | ||||||
|   <widget class="QDialogButtonBox" name="buttonBox"> |   <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||||
|    <property name="geometry"> |    <item> | ||||||
|     <rect> |     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1"> | ||||||
|      <x>630</x> |      <item> | ||||||
|      <y>250</y> |       <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||||
|      <width>101</width> |        <item> | ||||||
|      <height>32</height> |         <widget class="QLabel" name="labelLogo"> | ||||||
|     </rect> |          <property name="sizePolicy"> | ||||||
|    </property> |           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||||
|    <property name="orientation"> |            <horstretch>0</horstretch> | ||||||
|     <enum>Qt::Horizontal</enum> |            <verstretch>0</verstretch> | ||||||
|    </property> |           </sizepolicy> | ||||||
|    <property name="standardButtons"> |          </property> | ||||||
|     <set>QDialogButtonBox::Ok</set> |          <property name="text"> | ||||||
|    </property> |           <string><html><head/><body><p><img src=":/icons/citra.png"/></p></body></html></string> | ||||||
|   </widget> |          </property> | ||||||
|   <widget class="QLabel" name="labelLogo"> |         </widget> | ||||||
|    <property name="geometry"> |        </item> | ||||||
|     <rect> |        <item> | ||||||
|      <x>20</x> |         <spacer name="verticalSpacer"> | ||||||
|      <y>20</y> |          <property name="orientation"> | ||||||
|      <width>241</width> |           <enum>Qt::Vertical</enum> | ||||||
|      <height>251</height> |          </property> | ||||||
|     </rect> |          <property name="sizeHint" stdset="0"> | ||||||
|    </property> |           <size> | ||||||
|    <property name="text"> |            <width>20</width> | ||||||
|     <string><html><head/><body><p><img src=":/icons/citra.png"/></p></body></html></string> |            <height>40</height> | ||||||
|    </property> |           </size> | ||||||
|   </widget> |          </property> | ||||||
|   <widget class="QLabel" name="labelCitra"> |         </spacer> | ||||||
|    <property name="geometry"> |        </item> | ||||||
|     <rect> |       </layout> | ||||||
|      <x>270</x> |      </item> | ||||||
|      <y>10</y> |      <item> | ||||||
|      <width>100</width> |       <layout class="QVBoxLayout" name="verticalLayout"> | ||||||
|      <height>50</height> |        <item> | ||||||
|     </rect> |         <widget class="QLabel" name="labelCitra"> | ||||||
|    </property> |          <property name="sizePolicy"> | ||||||
|    <property name="text"> |           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||||
|     <string><html><head/><body><p><span style=" font-size:28pt;">Citra</span></p></body></html></string> |            <horstretch>0</horstretch> | ||||||
|    </property> |            <verstretch>0</verstretch> | ||||||
|   </widget> |           </sizepolicy> | ||||||
|   <widget class="QLabel" name="labelBuildInfo"> |          </property> | ||||||
|    <property name="geometry"> |          <property name="text"> | ||||||
|     <rect> |           <string><html><head/><body><p><span style=" font-size:28pt;">Citra</span></p></body></html></string> | ||||||
|      <x>270</x> |          </property> | ||||||
|      <y>70</y> |         </widget> | ||||||
|      <width>451</width> |        </item> | ||||||
|      <height>21</height> |        <item> | ||||||
|     </rect> |         <widget class="QLabel" name="labelBuildInfo"> | ||||||
|    </property> |          <property name="sizePolicy"> | ||||||
|    <property name="text"> |           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||||
|     <string><html><head/><body><p>%1 | %2-%3</p></body></html></string> |            <horstretch>0</horstretch> | ||||||
|    </property> |            <verstretch>0</verstretch> | ||||||
|   </widget> |           </sizepolicy> | ||||||
|   <widget class="QLabel" name="labelAbout"> |          </property> | ||||||
|    <property name="geometry"> |          <property name="text"> | ||||||
|     <rect> |           <string><html><head/><body><p>%1 | %2-%3</p></body></html></string> | ||||||
|      <x>270</x> |          </property> | ||||||
|      <y>90</y> |         </widget> | ||||||
|      <width>461</width> |        </item> | ||||||
|      <height>131</height> |        <item> | ||||||
|     </rect> |         <widget class="QLabel" name="labelAbout"> | ||||||
|    </property> |          <property name="sizePolicy"> | ||||||
|    <property name="text"> |           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||||
|     <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |            <horstretch>0</horstretch> | ||||||
|  |            <verstretch>0</verstretch> | ||||||
|  |           </sizepolicy> | ||||||
|  |          </property> | ||||||
|  |          <property name="text"> | ||||||
|  |           <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | ||||||
| <html><head><meta name="qrichtext" content="1" /><style type="text/css"> | <html><head><meta name="qrichtext" content="1" /><style type="text/css"> | ||||||
| p, li { white-space: pre-wrap; } | p, li { white-space: pre-wrap; } | ||||||
| </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;"> | </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> | ||||||
| <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">Citra is a free and open source 3DS emulator </span></p> | <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Citra is a free and open source 3DS emulator licensed under GPLv2.0 or any later version.</span></p> | ||||||
| <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">licensed under GPLv2.0 or any later version.</span></p> | <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"><br /></p> | ||||||
| <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> | <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">This software should not be used to play games you have not legally obtained.</span></p></body></html></string> | ||||||
| <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">This software should not be used to play games </span></p> |          </property> | ||||||
| <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">you have not legally obtained.</span></p></body></html></string> |          <property name="alignment"> | ||||||
|    </property> |           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||||||
|   </widget> |          </property> | ||||||
|   <widget class="QLabel" name="labelLinks"> |          <property name="wordWrap"> | ||||||
|    <property name="geometry"> |           <bool>true</bool> | ||||||
|     <rect> |          </property> | ||||||
|      <x>270</x> |         </widget> | ||||||
|      <y>230</y> |        </item> | ||||||
|      <width>361</width> |        <item> | ||||||
|      <height>16</height> |         <spacer name="verticalSpacer_2"> | ||||||
|     </rect> |          <property name="orientation"> | ||||||
|    </property> |           <enum>Qt::Vertical</enum> | ||||||
|    <property name="text"> |          </property> | ||||||
|     <string><html><head/><body><p><a href="https://citra-emu.org/"><span style=" text-decoration: underline; color:#0000ff;">Website</span></a> | <a href="https://community.citra-emu.org/"><span style=" text-decoration: underline; color:#0000ff;">Forum</span></a> | <a href="https://github.com/citra-emu"><span style=" text-decoration: underline; color:#0000ff;">Source Code</span></a> | <a href="//github.com/citra-emu/citra/graphs/contributors"><span style=" text-decoration: underline; color:#0000ff;">Contributors</span></a> | <a href="https://github.com/citra-emu/citra/blob/master/license.txt"><span style=" text-decoration: underline; color:#0000ff;">License</span></a></p></body></html></string> |          <property name="sizeHint" stdset="0"> | ||||||
|    </property> |           <size> | ||||||
|   </widget> |            <width>20</width> | ||||||
|   <widget class="QLabel" name="labelLiability"> |            <height>40</height> | ||||||
|    <property name="geometry"> |           </size> | ||||||
|     <rect> |          </property> | ||||||
|      <x>150</x> |         </spacer> | ||||||
|      <y>270</y> |        </item> | ||||||
|      <width>450</width> |        <item> | ||||||
|      <height>16</height> |         <widget class="QLabel" name="labelLinks"> | ||||||
|     </rect> |          <property name="text"> | ||||||
|    </property> |           <string><html><head/><body><p><a href="https://citra-emu.org/"><span style=" text-decoration: underline; color:#0000ff;">Website</span></a> | <a href="https://community.citra-emu.org/"><span style=" text-decoration: underline; color:#0000ff;">Forum</span></a> | <a href="https://github.com/citra-emu"><span style=" text-decoration: underline; color:#0000ff;">Source Code</span></a> | <a href="//github.com/citra-emu/citra/graphs/contributors"><span style=" text-decoration: underline; color:#0000ff;">Contributors</span></a> | <a href="https://github.com/citra-emu/citra/blob/master/license.txt"><span style=" text-decoration: underline; color:#0000ff;">License</span></a></p></body></html></string> | ||||||
|    <property name="text"> |          </property> | ||||||
|     <string><html><head/><body><p><span style=" font-size:7pt;">&quot;3DS&quot; is a trademark of Nintendo. Citra is not affiliated with Nintendo in any way.</span></p></body></html></string> |          <property name="openExternalLinks"> | ||||||
|    </property> |           <bool>true</bool> | ||||||
|   </widget> |          </property> | ||||||
|  |         </widget> | ||||||
|  |        </item> | ||||||
|  |        <item> | ||||||
|  |         <widget class="QLabel" name="labelLiability"> | ||||||
|  |          <property name="sizePolicy"> | ||||||
|  |           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||||||
|  |            <horstretch>0</horstretch> | ||||||
|  |            <verstretch>0</verstretch> | ||||||
|  |           </sizepolicy> | ||||||
|  |          </property> | ||||||
|  |          <property name="text"> | ||||||
|  |           <string><html><head/><body><p><span style=" font-size:7pt;">&quot;3DS&quot; is a trademark of Nintendo. Citra is not affiliated with Nintendo in any way.</span></p></body></html></string> | ||||||
|  |          </property> | ||||||
|  |         </widget> | ||||||
|  |        </item> | ||||||
|  |       </layout> | ||||||
|  |      </item> | ||||||
|  |     </layout> | ||||||
|  |    </item> | ||||||
|  |    <item> | ||||||
|  |     <widget class="QDialogButtonBox" name="buttonBox"> | ||||||
|  |      <property name="orientation"> | ||||||
|  |       <enum>Qt::Horizontal</enum> | ||||||
|  |      </property> | ||||||
|  |      <property name="standardButtons"> | ||||||
|  |       <set>QDialogButtonBox::Ok</set> | ||||||
|  |      </property> | ||||||
|  |     </widget> | ||||||
|  |    </item> | ||||||
|  |   </layout> | ||||||
|  </widget> |  </widget> | ||||||
|  <resources> |  <resources> | ||||||
|   <include location="../../dist/icons/icons.qrc"/> |   <include location="../../dist/icons/icons.qrc"/> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue