1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-18 17:40:48 +02:00
vcmi/launcher/lobby/lobby_moc.ui

310 lines
9.4 KiB
Plaintext
Raw Normal View History

2022-10-21 03:53:30 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Lobby</class>
<widget class="QWidget" name="Lobby">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>652</width>
2022-12-26 00:52:24 +02:00
<height>383</height>
2022-10-21 03:53:30 +02:00
</rect>
</property>
<property name="windowTitle">
<string/>
2022-10-21 03:53:30 +02:00
</property>
<layout class="QGridLayout" name="gridLayout">
2022-12-26 00:52:24 +02:00
<item row="0" column="3">
<widget class="QLabel" name="label_4">
2022-10-21 18:29:27 +02:00
<property name="sizePolicy">
2022-12-26 00:52:24 +02:00
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
2022-10-21 18:29:27 +02:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
2022-12-26 00:52:24 +02:00
<string>Username</string>
2022-10-21 18:29:27 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item row="0" column="5">
<widget class="QPushButton" name="connectButton">
2022-10-21 18:29:27 +02:00
<property name="sizePolicy">
2022-12-26 00:52:24 +02:00
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
2022-10-21 18:29:27 +02:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
2022-12-26 00:52:24 +02:00
<string>Connect</string>
</property>
<property name="checkable">
<bool>true</bool>
2022-10-21 18:29:27 +02:00
</property>
</widget>
</item>
<item row="0" column="1">
2022-11-27 01:41:06 +02:00
<widget class="QLineEdit" name="serverEdit">
2022-10-21 18:29:27 +02:00
<property name="text">
<string notr="true">127.0.0.1:5002</string>
2022-10-21 18:29:27 +02:00
</property>
</widget>
</item>
2022-11-27 01:41:06 +02:00
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Server</string>
</property>
</widget>
2022-10-21 18:29:27 +02:00
</item>
2022-12-26 00:52:24 +02:00
<item row="0" column="4">
<widget class="QLineEdit" name="userEdit"/>
</item>
<item row="1" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="bottomMargin">
2022-10-21 18:29:27 +02:00
<number>0</number>
</property>
2022-12-26 00:52:24 +02:00
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_2">
2022-11-10 02:20:44 +02:00
<property name="text">
<string>Players in lobby</string>
2022-11-10 02:20:44 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item>
<widget class="QListWidget" name="listUsers">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2022-11-27 01:41:06 +02:00
</property>
2022-12-26 00:52:24 +02:00
<property name="maximumSize">
<size>
<width>16777215</width>
<height>96</height>
</size>
2022-11-10 02:20:44 +02:00
</property>
2022-12-26 00:52:24 +02:00
<property name="midLineWidth">
<number>0</number>
2022-11-27 03:35:05 +02:00
</property>
2022-12-26 00:37:35 +02:00
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
2022-12-26 00:52:24 +02:00
<enum>QAbstractItemView::NoSelection</enum>
2022-12-26 00:37:35 +02:00
</property>
2022-12-26 00:52:24 +02:00
<property name="isWrapping" stdset="0">
<bool>true</bool>
2022-11-27 03:35:05 +02:00
</property>
2022-12-26 00:52:24 +02:00
<property name="layoutMode">
<enum>QListView::SinglePass</enum>
2022-10-21 18:29:27 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item>
<widget class="QLabel" name="label_6">
2022-12-26 00:37:35 +02:00
<property name="text">
2022-12-26 00:52:24 +02:00
<string>Lobby chat</string>
2022-11-17 01:15:26 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item>
<widget class="QPlainTextEdit" name="chat">
<property name="readOnly">
<bool>true</bool>
2022-11-17 01:15:26 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item>
<widget class="QLineEdit" name="messageEdit"/>
2022-10-21 18:29:27 +02:00
</item>
2022-12-26 00:52:24 +02:00
</layout>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="sessionsPage">
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QPushButton" name="newButton">
<property name="enabled">
<bool>false</bool>
</property>
2022-12-26 00:37:35 +02:00
<property name="text">
2022-12-26 00:52:24 +02:00
<string>New room</string>
2022-12-26 00:37:35 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item row="1" column="1">
<widget class="QPushButton" name="joinButton">
<property name="enabled">
<bool>false</bool>
</property>
2022-12-26 00:37:35 +02:00
<property name="text">
2022-12-26 00:52:24 +02:00
<string>Join room</string>
2022-12-26 00:37:35 +02:00
</property>
</widget>
</item>
2022-12-26 00:52:24 +02:00
<item row="0" column="0" colspan="2">
<widget class="QTableWidget" name="sessionsTable">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>80</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
<column>
<property name="text">
<string>Session</string>
</property>
</column>
<column>
<property name="text">
<string>Players</string>
</property>
</column>
<column>
<property name="text">
<string/>
</property>
</column>
</widget>
</item>
2022-12-26 00:37:35 +02:00
</layout>
2022-12-26 00:52:24 +02:00
</widget>
<widget class="QWidget" name="roomPage">
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="1">
<widget class="QPushButton" name="kickButton">
<property name="text">
<string>Kick player</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QListWidget" name="playersList">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Players in the room</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="buttonLeave">
<property name="text">
<string>Leave</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Mods mismatch</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QListWidget" name="modsList">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="buttonReady">
<property name="text">
<string>Ready</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="buttonResolve">
<property name="text">
<string>Resolve</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QRadioButton" name="optNewGame">
<property name="text">
<string>New game</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="optLoadGame">
<property name="text">
<string>Load game</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
2022-12-26 00:37:35 +02:00
</widget>
</item>
</layout>
</item>
2022-10-21 03:53:30 +02:00
</layout>
</widget>
<resources/>
<connections/>
</ui>