diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-03-19 20:43:53 +0100 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-03-19 20:43:53 +0100 |
| commit | aab5a120ff59ba4d2cc72e1282fd159c1e97ee19 (patch) | |
| tree | 38e006bd109af738eefeb4d30214093548ba3ff1 /src | |
| parent | 57be0f0db60fc6d8124bc15a326befc88ec43879 (diff) | |
Imrpoved mod already exist dialog when installing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/queryoverwritedialog.ui | 56 |
1 files changed, 48 insertions, 8 deletions
diff --git a/src/queryoverwritedialog.ui b/src/queryoverwritedialog.ui index 2fc471bd..85778cf5 100644 --- a/src/queryoverwritedialog.ui +++ b/src/queryoverwritedialog.ui @@ -17,7 +17,16 @@ <property name="spacing">
<number>0</number>
</property>
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
@@ -28,7 +37,7 @@ <property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout_1" stretch="0,1">
+ <layout class="QHBoxLayout" name="horizontalLayout_1" stretch="0,0">
<item>
<widget class="QLabel" name="iconLabel">
<property name="text">
@@ -40,12 +49,31 @@ </widget>
</item>
<item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>This mod seems to be installed already. Do you want to add files from this archive (overwriting existing ones) or do you want to completely replace the existing files (old files are deleted)? Alternatively you can install this mod under a different name.</string>
+ <widget class="QTextBrowser" name="textBrowser">
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Plain</enum>
+ </property>
+ <property name="verticalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOff</enum>
</property>
- <property name="wordWrap">
- <bool>true</bool>
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOff</enum>
+ </property>
+ <property name="sizeAdjustPolicy">
+ <enum>QAbstractScrollArea::AdjustToContents</enum>
+ </property>
+ <property name="html">
+ <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">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; 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;">This mod seems to be installed already, what would you like to do?</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /><span style=" font-weight:600;">Merge:</span> Add files from this archive overwriting existing ones.</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-weight:600;">Replace:</span> Completely replace the existing mod (old files are deleted).</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-weight:600;">Rename:</span> Install this as a separate mod with a new name<span style=" font-style:italic;"> (recommended)</span>.</p></body></html></string>
</property>
</widget>
</item>
@@ -54,7 +82,16 @@ </item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
- <property name="margin">
+ <property name="leftMargin">
+ <number>7</number>
+ </property>
+ <property name="topMargin">
+ <number>7</number>
+ </property>
+ <property name="rightMargin">
+ <number>7</number>
+ </property>
+ <property name="bottomMargin">
<number>7</number>
</property>
<item>
@@ -83,6 +120,9 @@ <property name="text">
<string>Rename</string>
</property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item>
|
