diff options
| author | TrickyLeifa <date.epoch@gmail.com> | 2024-05-15 00:00:17 +0200 |
|---|---|---|
| committer | TrickyLeifa <date.epoch@gmail.com> | 2024-05-15 00:04:16 +0200 |
| commit | c9f52b7223685d2e7fca925594171f94dd8c6e3b (patch) | |
| tree | 740bb32a40da98a4d52836432f59a16b31333900 /data/ui/favorite_server_dialog.ui | |
| parent | 951766666621fa77e257e6b5616fe4ab1eb2a52f (diff) | |
Ported to CMake, ...
* Ported the project to CMake
* Android and Mac support dropped for the time
being.
* Tests, BASS and Discord-RPC are now options
* Restructured and reformated the project.
* Merged `include` and `src`
* Renamed `resource` to `data`
* Renamed various files
* External libraries headers are no longer included in `src`
* Replaced header guards with #pragma once
* Multiple refactors (keywords, headers)
* Added Qt6 compatibility
* Removed various unused functions and headers
* Reworked AOPacket
* When content is passed to AOPacket, it should be ensured that the content is already decoded.
* Encoding/decoding are now static methods.
* Fixed various memory leaks
* Removed animation code for AOImage
* AOImage is always using static images
* Simplified ChatLogPiece
Diffstat (limited to 'data/ui/favorite_server_dialog.ui')
| -rw-r--r-- | data/ui/favorite_server_dialog.ui | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/data/ui/favorite_server_dialog.ui b/data/ui/favorite_server_dialog.ui new file mode 100644 index 00000000..a1d5f28e --- /dev/null +++ b/data/ui/favorite_server_dialog.ui @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>add_server_widget</class> + <widget class="QWidget" name="add_server_widget"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>420</width> + <height>420</height> + </rect> + </property> + <property name="minimumSize"> + <size> + <width>230</width> + <height>260</height> + </size> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="2" column="0"> + <layout class="QHBoxLayout" name="server_legacy_layout"> + <item> + <widget class="QLabel" name="server_legacy_lbl"> + <property name="text"> + <string>Legacy Entry :</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="server_legacy_edit"/> + </item> + <item> + <widget class="QPushButton" name="server_legacy_load_button"> + <property name="text"> + <string>Convert</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0"> + <layout class="QFormLayout" name="server_new_layout"> + <item row="0" column="0"> + <widget class="QLabel" name="server_display_name_lbl"> + <property name="text"> + <string>Display Name:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="server_display_name_edit"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="server_hostname_lbl"> + <property name="text"> + <string>Hostname :</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="server_hostname_edit"/> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="server_port_lbl"> + <property name="text"> + <string>Port:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="server_port_box"> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="server_protocol_lbl"> + <property name="text"> + <string>Protocol :</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QComboBox" name="server_protocol_box"> + <item> + <property name="text"> + <string>TCP</string> + </property> + </item> + <item> + <property name="text"> + <string>WEBSOCKET</string> + </property> + </item> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="server_description_lbl"> + <property name="text"> + <string>Description:</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QPlainTextEdit" name="server_description_edit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="Line" name="server_legacy_bar"> + <property name="frameShadow"> + <enum>QFrame::Plain</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QDialogButtonBox" name="server_dialog_button"> + <property name="standardButtons"> + <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> |
