mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-23 07:44:18 +00:00
This is adapted from kleidis old PR to Azahar. Changes from it: - Fixed inconsistent button styling in the dialog for connection - Allowed to hide both empty and full rooms. - Proper serving of preferred games - Enables web service for android by default - Better implementation of multiplayer.cpp that works with oop Also fixes the room network class and turns it into a static namespace in network Signed-off-by: Aleksandr Popovich <alekpopo@pm.me> Co-authored-by: swurl <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/125 Co-authored-by: Aleksandr Popovich <alekpopo@pm.me> Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>
171 lines
5.2 KiB
XML
171 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ConfigureWeb</class>
|
|
<widget class="QWidget" name="ConfigureWeb">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>926</width>
|
|
<height>561</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="accessibleName">
|
|
<string>Web</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxWebConfig">
|
|
<property name="title">
|
|
<string>eden Web Service</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayoutYuzuWebService">
|
|
<item>
|
|
<widget class="QLabel" name="web_credentials_disclaimer">
|
|
<property name="text">
|
|
<string>By providing your username and token, you agree to allow eden to collect additional usage data, which may include user identifying information.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayoutYuzuUsername">
|
|
<item row="2" column="3">
|
|
<widget class="QPushButton" name="button_verify_login">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LayoutDirection::RightToLeft</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Verify</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="web_signup_link">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Sign up</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="3">
|
|
<widget class="QLineEdit" name="edit_username">
|
|
<property name="maxLength">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::EchoMode::Normal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_token">
|
|
<property name="text">
|
|
<string>Token: </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QLabel" name="label_token_verified"/>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_username">
|
|
<property name="text">
|
|
<string>Username: </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="3">
|
|
<widget class="QLineEdit" name="edit_token">
|
|
<property name="maxLength">
|
|
<number>80</number>
|
|
</property>
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::EchoMode::Normal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="web_token_info_link">
|
|
<property name="text">
|
|
<string>What is my token?</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_disable_info">
|
|
<property name="text">
|
|
<string>Web Service configuration can only be changed when a public room isn't being hosted.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="discord_group">
|
|
<property name="title">
|
|
<string>Discord Presence</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_21">
|
|
<item>
|
|
<widget class="QCheckBox" name="toggle_discordrpc">
|
|
<property name="text">
|
|
<string>Show Current Game in your Discord Status</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|