ai-adventure-labs/src/create-chat.ui

449 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CreateChat</class>
<widget class="QWidget" name="CreateChat">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>458</width>
<height>514</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>458</width>
<height>514</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>458</width>
<height>514</height>
</size>
</property>
<property name="windowTitle">
<string>AI Adventure Lab</string>
</property>
<property name="windowIcon">
<iconset resource="source.qrc">
<normaloff>:/general/static/favicon_512.png</normaloff>:/general/static/favicon_512.png</iconset>
</property>
<widget class="QPushButton" name="create">
<property name="geometry">
<rect>
<x>350</x>
<y>470</y>
<width>88</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>Создать</string>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>431</width>
<height>451</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Основные</string>
</attribute>
<widget class="QLineEdit" name="nameOfGame">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>401</width>
<height>32</height>
</rect>
</property>
<property name="inputMask">
<string/>
</property>
<property name="placeholderText">
<string>Введите название игры</string>
</property>
</widget>
<widget class="QLabel" name="locationCounter">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>401</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Локаций: 0</string>
</property>
</widget>
<widget class="QPushButton" name="locationsEditor">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>401</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>Открыть редактор локаций</string>
</property>
</widget>
<widget class="QCheckBox" name="livemodeEnable">
<property name="geometry">
<rect>
<x>10</x>
<y>390</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>(dev) Уравнять игрока и непися в промпте</string>
</property>
</widget>
<widget class="QTextEdit" name="contextOfGame">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>401</width>
<height>101</height>
</rect>
</property>
<property name="placeholderText">
<string>Опишите здесь основной сюжет игры или оставьте это поле пустым</string>
</property>
</widget>
<widget class="QLabel" name="lorebookCounter">
<property name="geometry">
<rect>
<x>10</x>
<y>260</y>
<width>401</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Лорбуков импортировано: 0</string>
</property>
</widget>
<widget class="QPushButton" name="lorebooksEditor">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<width>401</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>Открыть редактор лорбуков</string>
</property>
</widget>
<widget class="QCheckBox" name="hideContext">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Скрыть основной сюжет от игроков</string>
</property>
</widget>
<widget class="QCheckBox" name="checkcharactersMode">
<property name="geometry">
<rect>
<x>10</x>
<y>300</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Режим ручной проверки карточек персонажей игроков</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="setDatabase">
<property name="geometry">
<rect>
<x>10</x>
<y>330</y>
<width>401</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>Задать базу данных</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Сетевые</string>
</attribute>
<widget class="QCheckBox" name="enableEditAddress">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Изменить сетевой адрес</string>
</property>
</widget>
<widget class="QLineEdit" name="address">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>401</width>
<height>32</height>
</rect>
</property>
<property name="inputMask">
<string/>
</property>
<property name="text">
<string>0.0.0.0</string>
</property>
<property name="placeholderText">
<string>Сетевой адрес (по-умолчанию: 0.0.0.0)</string>
</property>
</widget>
<widget class="QCheckBox" name="enableEditPort">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Изменить сетевой порт</string>
</property>
</widget>
<widget class="QLineEdit" name="port">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>401</width>
<height>32</height>
</rect>
</property>
<property name="inputMask">
<string/>
</property>
<property name="text">
<string>1223</string>
</property>
<property name="placeholderText">
<string>Сетевой порт (по-умолчанию: 1223)</string>
</property>
</widget>
<widget class="QCheckBox" name="enableWebPage">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Включить веб-клиент сервера</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="enableWS">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Включить API веб-сокетов</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="enableEncryption">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>401</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Включить защищённое соединение</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>240</y>
<width>411</width>
<height>171</height>
</rect>
</property>
<property name="title">
<string>Режим добавления новых пользователей</string>
</property>
<widget class="QRadioButton" name="setFreeUserMode">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>391</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Свободно создавать нового пользователя</string>
</property>
</widget>
<widget class="QRadioButton" name="setRequestUserMode">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>391</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Создавать нового пользователя после подтверждения</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="setWhitelistMode">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>391</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Включить &quot;Белый список&quot;</string>
</property>
</widget>
<widget class="QRadioButton" name="setPasswordMode">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>391</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Задать пароль на создание нового пользователя</string>
</property>
</widget>
<widget class="QLineEdit" name="serverPassword">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>381</width>
<height>32</height>
</rect>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
<widget class="QCheckBox" name="showPassword">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>391</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Посмотреть пароль</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Генерация ИИ</string>
</attribute>
</widget>
</widget>
<widget class="QPushButton" name="loadChat">
<property name="geometry">
<rect>
<x>10</x>
<y>470</y>
<width>121</width>
<height>34</height>
</rect>
</property>
<property name="text">
<string>Загрузить чат</string>
</property>
</widget>
</widget>
<resources>
<include location="source.qrc"/>
</resources>
<connections/>
</ui>