|
@@ -6,8 +6,8 @@
|
|
<rect>
|
|
<rect>
|
|
<x>0</x>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<y>0</y>
|
|
- <width>928</width>
|
|
+ <width>1037</width>
|
|
- <height>533</height>
|
|
+ <height>985</height>
|
|
</rect>
|
|
</rect>
|
|
</property>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<property name="windowTitle">
|
|
@@ -20,14 +20,17 @@
|
|
</property>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<item row="0" column="0">
|
|
- <widget class="QWidget" name="widget_3" native="true">
|
|
+ <widget class="QWidget" name="import_widget" native="true">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</sizepolicy>
|
|
</property>
|
|
</property>
|
|
- <layout class="QGridLayout" name="gridLayout_5">
|
|
+ <property name="styleSheet">
|
|
|
|
+ <string notr="true"/>
|
|
|
|
+ </property>
|
|
|
|
+ <layout class="QGridLayout" name="gridLayout_6">
|
|
<property name="leftMargin">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
<number>0</number>
|
|
</property>
|
|
</property>
|
|
@@ -40,134 +43,63 @@
|
|
<property name="bottomMargin">
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
<number>0</number>
|
|
</property>
|
|
</property>
|
|
- <item row="3" column="0">
|
|
+ <property name="spacing">
|
|
|
|
+ <number>0</number>
|
|
|
|
+ </property>
|
|
|
|
+ <item row="1" column="1">
|
|
<widget class="QWidget" name="file_import_widget" native="true">
|
|
<widget class="QWidget" name="file_import_widget" native="true">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</sizepolicy>
|
|
</property>
|
|
</property>
|
|
|
|
+ <property name="minimumSize">
|
|
|
|
+ <size>
|
|
|
|
+ <width>0</width>
|
|
|
|
+ <height>0</height>
|
|
|
|
+ </size>
|
|
|
|
+ </property>
|
|
<property name="styleSheet">
|
|
<property name="styleSheet">
|
|
- <string notr="true">QWidget#file_import_widget {
|
|
+ <string notr="true"/>
|
|
-border-radius: 20px;
|
|
|
|
-background-color: rgba(30, 0, 0, 100);
|
|
|
|
-}</string>
|
|
|
|
</property>
|
|
</property>
|
|
- <layout class="QGridLayout" name="gridLayout_6">
|
|
+ <layout class="QGridLayout" name="gridLayout_2">
|
|
- <item row="1" column="0">
|
|
+ <property name="verticalSpacing">
|
|
- <widget class="QLabel" name="label_8_common">
|
|
+ <number>0</number>
|
|
- <property name="sizePolicy">
|
|
+ </property>
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
+ <item row="0" column="0" colspan="2">
|
|
- <horstretch>0</horstretch>
|
|
+ <widget class="QLabel" name="info_common">
|
|
- <verstretch>0</verstretch>
|
|
+ <property name="font">
|
|
- </sizepolicy>
|
|
+ <font>
|
|
|
|
+ <family>Trajan Pro 3</family>
|
|
|
|
+ </font>
|
|
</property>
|
|
</property>
|
|
- <property name="text">
|
|
+ <property name="mouseTracking">
|
|
- <string>Путь к файлу:</string>
|
|
+ <bool>true</bool>
|
|
</property>
|
|
</property>
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="1" column="1">
|
|
|
|
- <widget class="QLabel" name="file_path_common">
|
|
|
|
<property name="text">
|
|
<property name="text">
|
|
- <string>(не указан)</string>
|
|
+ <string><html><head/><body><p>Импортируйте в игру отдельные файлы данных, заменяя ими текущие версии <span style=" color:#ff7700;">(требуется указание ID файла)</span></p><p>О формате файлов, используемых в игре можно узнать в гайде на сайте русификации.<br/><br/><span style=" font-weight:600; color:#ffff00;">Внимание!</span><br/>После установки файлов версия данных автоматически сменится на &quot;русифицированную&quot;!</p></body></html></string>
|
|
</property>
|
|
</property>
|
|
- </widget>
|
|
+ <property name="textFormat">
|
|
- </item>
|
|
+ <enum>Qt::RichText</enum>
|
|
- <item row="1" column="2">
|
|
|
|
- <widget class="QPushButton" name="change_file_path_common">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
</property>
|
|
</property>
|
|
- <property name="minimumSize">
|
|
+ <property name="wordWrap">
|
|
- <size>
|
|
+ <bool>true</bool>
|
|
- <width>0</width>
|
|
|
|
- <height>25</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- <property name="maximumSize">
|
|
|
|
- <size>
|
|
|
|
- <width>30</width>
|
|
|
|
- <height>25</height>
|
|
|
|
- </size>
|
|
|
|
</property>
|
|
</property>
|
|
- <property name="text">
|
|
+ <property name="openExternalLinks">
|
|
- <string>...</string>
|
|
+ <bool>true</bool>
|
|
</property>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
- <item row="3" column="0" colspan="3">
|
|
+ <item row="1" column="0" colspan="2">
|
|
- <widget class="QWidget" name="widget_4" native="true">
|
|
+ <widget class="QWidget" name="widget" native="true">
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
<property name="minimumSize">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<size>
|
|
<width>0</width>
|
|
<width>0</width>
|
|
- <height>0</height>
|
|
+ <height>50</height>
|
|
</size>
|
|
</size>
|
|
</property>
|
|
</property>
|
|
- <layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
- <property name="spacing">
|
|
|
|
- <number>0</number>
|
|
|
|
- </property>
|
|
|
|
- <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>
|
|
|
|
- <spacer name="horizontalSpacer_6">
|
|
|
|
- <property name="orientation">
|
|
|
|
- <enum>Qt::Horizontal</enum>
|
|
|
|
- </property>
|
|
|
|
- <property name="sizeHint" stdset="0">
|
|
|
|
- <size>
|
|
|
|
- <width>561</width>
|
|
|
|
- <height>20</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- </spacer>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <widget class="QPushButton" name="apply_file_common">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Применить</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- </layout>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="2" column="0" colspan="3">
|
|
|
|
- <widget class="QWidget" name="widget_5" native="true">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <property name="minimumSize">
|
|
|
|
- <size>
|
|
|
|
- <width>0</width>
|
|
|
|
- <height>0</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- <layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
<item>
|
|
<widget class="QLabel" name="label_4_common">
|
|
<widget class="QLabel" name="label_4_common">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
@@ -191,64 +123,6 @@ background-color: rgba(30, 0, 0, 100);
|
|
</property>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
- <item>
|
|
|
|
- <widget class="QLabel" name="label_7_common">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Тип файла:</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <widget class="QComboBox" name="comboBox_common">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>TXT</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>JPG</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>DDS</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>OGG</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>WAV</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>FONTBIN</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- <item>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>UNKNOWN</string>
|
|
|
|
- </property>
|
|
|
|
- </item>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
<item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<property name="orientation">
|
|
@@ -265,122 +139,32 @@ background-color: rgba(30, 0, 0, 100);
|
|
</layout>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
- </layout>
|
|
+ <item row="2" column="0" colspan="2">
|
|
- </widget>
|
|
+ <widget class="QWidget" name="apply_widget_2" native="true">
|
|
- </item>
|
|
|
|
- <item row="1" column="0">
|
|
|
|
- <widget class="QWidget" name="database_import_widget" native="true">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <property name="styleSheet">
|
|
|
|
- <string notr="true">QWidget#database_import_widget {
|
|
|
|
-border-radius: 20px;
|
|
|
|
-background-color: rgba(30, 0, 0, 100);
|
|
|
|
-}</string>
|
|
|
|
- </property>
|
|
|
|
- <layout class="QGridLayout" name="gridLayout_7">
|
|
|
|
- <item row="0" column="1">
|
|
|
|
- <widget class="QLabel" name="database_path_common">
|
|
|
|
- <property name="styleSheet">
|
|
|
|
- <string notr="true"/>
|
|
|
|
- </property>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>(не указан)</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="0" column="2">
|
|
|
|
- <widget class="QPushButton" name="change_database_path_common">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <property name="minimumSize">
|
|
|
|
- <size>
|
|
|
|
- <width>0</width>
|
|
|
|
- <height>25</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- <property name="maximumSize">
|
|
|
|
- <size>
|
|
|
|
- <width>30</width>
|
|
|
|
- <height>25</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>...</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="0" column="0">
|
|
|
|
- <widget class="QLabel" name="label_5_common">
|
|
|
|
- <property name="sizePolicy">
|
|
|
|
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
- <horstretch>0</horstretch>
|
|
|
|
- <verstretch>0</verstretch>
|
|
|
|
- </sizepolicy>
|
|
|
|
- </property>
|
|
|
|
- <property name="styleSheet">
|
|
|
|
- <string notr="true"/>
|
|
|
|
- </property>
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Путь к базе данных:</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="1" column="0" colspan="3">
|
|
|
|
- <widget class="QWidget" name="widget_6" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</sizepolicy>
|
|
</property>
|
|
</property>
|
|
- <property name="minimumSize">
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
- <size>
|
|
|
|
- <width>0</width>
|
|
|
|
- <height>0</height>
|
|
|
|
- </size>
|
|
|
|
- </property>
|
|
|
|
- <layout class="QHBoxLayout" name="horizontalLayout_9">
|
|
|
|
- <property name="spacing">
|
|
|
|
- <number>0</number>
|
|
|
|
- </property>
|
|
|
|
- <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>
|
|
<item>
|
|
- <spacer name="horizontalSpacer_8">
|
|
+ <spacer name="horizontalSpacer_7">
|
|
<property name="orientation">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<size>
|
|
- <width>559</width>
|
|
+ <width>554</width>
|
|
- <height>20</height>
|
|
+ <height>14</height>
|
|
</size>
|
|
</size>
|
|
</property>
|
|
</property>
|
|
</spacer>
|
|
</spacer>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QPushButton" name="apply_database_common">
|
|
+ <widget class="QPushButton" name="file_import_button_common">
|
|
<property name="text">
|
|
<property name="text">
|
|
- <string>Применить</string>
|
|
+ <string>Импортировать</string>
|
|
</property>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
@@ -390,31 +174,7 @@ background-color: rgba(30, 0, 0, 100);
|
|
</layout>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
- <item row="4" column="0">
|
|
+ <item row="2" column="1">
|
|
- <widget class="QRadioButton" name="textfragment_import_radiobutton_common">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Импорт текстового фрагмента</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="0" column="0" colspan="2">
|
|
|
|
- <widget class="QRadioButton" name="database_import_radiobutton_common">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Импорт файлов из базы данных</string>
|
|
|
|
- </property>
|
|
|
|
- <property name="checked">
|
|
|
|
- <bool>true</bool>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="2" column="0">
|
|
|
|
- <widget class="QRadioButton" name="file_import_radiobutton_common">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Импорт произвольного файла</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- <item row="5" column="0">
|
|
|
|
<widget class="QWidget" name="textfragment_import_widget" native="true">
|
|
<widget class="QWidget" name="textfragment_import_widget" native="true">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
@@ -429,27 +189,39 @@ background-color: rgba(30, 0, 0, 100);
|
|
</size>
|
|
</size>
|
|
</property>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<property name="styleSheet">
|
|
- <string notr="true">QWidget#textfragment_import_widget {
|
|
+ <string notr="true"/>
|
|
-border-radius: 20px;
|
|
|
|
-background-color: rgba(30, 0, 0, 100);
|
|
|
|
-}</string>
|
|
|
|
</property>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
- <property name="spacing">
|
|
+ <item>
|
|
- <number>0</number>
|
|
+ <widget class="QLabel" name="info_common_2">
|
|
- </property>
|
|
+ <property name="sizePolicy">
|
|
- <property name="leftMargin">
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
- <number>0</number>
|
|
+ <horstretch>0</horstretch>
|
|
- </property>
|
|
+ <verstretch>0</verstretch>
|
|
- <property name="topMargin">
|
|
+ </sizepolicy>
|
|
- <number>0</number>
|
|
+ </property>
|
|
- </property>
|
|
+ <property name="font">
|
|
- <property name="rightMargin">
|
|
+ <font>
|
|
- <number>0</number>
|
|
+ <family>Trajan Pro 3</family>
|
|
- </property>
|
|
+ </font>
|
|
- <property name="bottomMargin">
|
|
+ </property>
|
|
- <number>0</number>
|
|
+ <property name="mouseTracking">
|
|
- </property>
|
|
+ <bool>false</bool>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string><html><head/><body><p>Используйте форму для быстрой замены текстового фрагмента в игре. Чтобы получить текущие данные введите id файла и id фрагмента и нажмите кнопку &quot;Найти&quot;</p><p>О формате текстовых фрагментов можно узнать в соответствующем гайде на сайте русификации.<br/><br/><span style=" font-weight:600; color:#ffff00;">Внимание!</span><br/>После установки файлов версия данных автоматически сменится на &quot;русифицированную&quot;!</p></body></html></string>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="textFormat">
|
|
|
|
+ <enum>Qt::RichText</enum>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="wordWrap">
|
|
|
|
+ <bool>true</bool>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="openExternalLinks">
|
|
|
|
+ <bool>true</bool>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
<item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_10" native="true">
|
|
<widget class="QWidget" name="widget_10" native="true">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
@@ -467,7 +239,7 @@ background-color: rgba(30, 0, 0, 100);
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QLineEdit" name="lineEdit_2_common">
|
|
+ <widget class="QLineEdit" name="file_id_input_common">
|
|
<property name="clearButtonEnabled">
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
<bool>true</bool>
|
|
</property>
|
|
</property>
|
|
@@ -481,14 +253,14 @@ background-color: rgba(30, 0, 0, 100);
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QLineEdit" name="lineEdit_3_common">
|
|
+ <widget class="QLineEdit" name="fragment_id_input_common">
|
|
<property name="clearButtonEnabled">
|
|
<property name="clearButtonEnabled">
|
|
<bool>true</bool>
|
|
<bool>true</bool>
|
|
</property>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QPushButton" name="pushButton_4_common">
|
|
+ <widget class="QPushButton" name="get_file_fragments_button_common">
|
|
<property name="text">
|
|
<property name="text">
|
|
<string>Найти</string>
|
|
<string>Найти</string>
|
|
</property>
|
|
</property>
|
|
@@ -524,10 +296,20 @@ background-color: rgba(30, 0, 0, 100);
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<item row="1" column="1">
|
|
- <widget class="QTextEdit" name="textEdit">
|
|
+ <widget class="QTextEdit" name="fragment_content_common">
|
|
<property name="sizeAdjustPolicy">
|
|
<property name="sizeAdjustPolicy">
|
|
<enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
|
|
<enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
|
|
</property>
|
|
</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:7.8pt; font-weight:400; font-style:normal;">
|
|
|
|
+<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></body></html></string>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="acceptRichText">
|
|
|
|
+ <bool>false</bool>
|
|
|
|
+ </property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
</layout>
|
|
</layout>
|
|
@@ -566,13 +348,13 @@ background-color: rgba(30, 0, 0, 100);
|
|
</spacer>
|
|
</spacer>
|
|
</item>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<item row="1" column="1">
|
|
- <widget class="QLineEdit" name="lineEdit_4_common"/>
|
|
+ <widget class="QLineEdit" name="fragment_args_common"/>
|
|
</item>
|
|
</item>
|
|
</layout>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QWidget" name="widget_11" native="true">
|
|
+ <widget class="QWidget" name="apply_widget" native="true">
|
|
<property name="sizePolicy">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<horstretch>0</horstretch>
|
|
@@ -594,9 +376,9 @@ background-color: rgba(30, 0, 0, 100);
|
|
</spacer>
|
|
</spacer>
|
|
</item>
|
|
</item>
|
|
<item>
|
|
<item>
|
|
- <widget class="QPushButton" name="pushButton_5_common">
|
|
+ <widget class="QPushButton" name="textfragment_import_common">
|
|
<property name="text">
|
|
<property name="text">
|
|
- <string>Изменить</string>
|
|
+ <string>Импортировать</string>
|
|
</property>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
@@ -604,10 +386,138 @@ background-color: rgba(30, 0, 0, 100);
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
</layout>
|
|
</layout>
|
|
- <zorder>widget_11</zorder>
|
|
+ </widget>
|
|
- <zorder>widget_10</zorder>
|
|
+ </item>
|
|
- <zorder>widget_9</zorder>
|
|
+ <item row="0" column="1">
|
|
- <zorder>widget_8</zorder>
|
|
+ <widget class="QWidget" name="database_import_widget" native="true">
|
|
|
|
+ <property name="sizePolicy">
|
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
+ <horstretch>0</horstretch>
|
|
|
|
+ <verstretch>0</verstretch>
|
|
|
|
+ </sizepolicy>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="minimumSize">
|
|
|
|
+ <size>
|
|
|
|
+ <width>0</width>
|
|
|
|
+ <height>0</height>
|
|
|
|
+ </size>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="styleSheet">
|
|
|
|
+ <string notr="true"/>
|
|
|
|
+ </property>
|
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QLabel" name="info_common_4">
|
|
|
|
+ <property name="font">
|
|
|
|
+ <font>
|
|
|
|
+ <family>Trajan Pro 3</family>
|
|
|
|
+ </font>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="mouseTracking">
|
|
|
|
+ <bool>false</bool>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string><html><head/><body><p>Импортируйте в игру ресурсы из заранее подготовенной базы данных Наследия </p><p>О формате базы данных Наследия можно узнать в гайде на сайте русификации.<br/><br/><span style=" font-weight:600; color:#ffff00;">Внимание!</span><br/>После установки файлов версия данных автоматически сменится на &quot;русифицированную&quot;!</p></body></html></string>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="textFormat">
|
|
|
|
+ <enum>Qt::RichText</enum>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="wordWrap">
|
|
|
|
+ <bool>true</bool>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="openExternalLinks">
|
|
|
|
+ <bool>true</bool>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QWidget" name="apply_widget_3" native="true">
|
|
|
|
+ <property name="sizePolicy">
|
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
+ <horstretch>0</horstretch>
|
|
|
|
+ <verstretch>0</verstretch>
|
|
|
|
+ </sizepolicy>
|
|
|
|
+ </property>
|
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
|
|
+ <item>
|
|
|
|
+ <spacer name="horizontalSpacer_8">
|
|
|
|
+ <property name="orientation">
|
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
|
+ <size>
|
|
|
|
+ <width>554</width>
|
|
|
|
+ <height>14</height>
|
|
|
|
+ </size>
|
|
|
|
+ </property>
|
|
|
|
+ </spacer>
|
|
|
|
+ </item>
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QPushButton" name="database_import_button_common">
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string>Импортировать</string>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ </layout>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ </layout>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ <item row="0" column="0" rowspan="3">
|
|
|
|
+ <widget class="QWidget" name="radio_import_widget" native="true">
|
|
|
|
+ <property name="sizePolicy">
|
|
|
|
+ <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
+ <horstretch>0</horstretch>
|
|
|
|
+ <verstretch>0</verstretch>
|
|
|
|
+ </sizepolicy>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="minimumSize">
|
|
|
|
+ <size>
|
|
|
|
+ <width>0</width>
|
|
|
|
+ <height>50</height>
|
|
|
|
+ </size>
|
|
|
|
+ </property>
|
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QRadioButton" name="database_import_radiobutton_common">
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string>Импорт файлов из базы данных</string>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="checked">
|
|
|
|
+ <bool>true</bool>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QRadioButton" name="file_import_radiobutton_common">
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string>Импорт произвольного файла</string>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ <item>
|
|
|
|
+ <widget class="QRadioButton" name="textfragment_import_radiobutton_common">
|
|
|
|
+ <property name="text">
|
|
|
|
+ <string>Импорт текстового фрагмента</string>
|
|
|
|
+ </property>
|
|
|
|
+ </widget>
|
|
|
|
+ </item>
|
|
|
|
+ <item>
|
|
|
|
+ <spacer name="verticalSpacer_2">
|
|
|
|
+ <property name="orientation">
|
|
|
|
+ <enum>Qt::Vertical</enum>
|
|
|
|
+ </property>
|
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
|
+ <size>
|
|
|
|
+ <width>20</width>
|
|
|
|
+ <height>40</height>
|
|
|
|
+ </size>
|
|
|
|
+ </property>
|
|
|
|
+ </spacer>
|
|
|
|
+ </item>
|
|
|
|
+ </layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</item>
|
|
</layout>
|
|
</layout>
|