mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-10 06:59:42 -05:00
df29e22be0
* Changed the buttons to use QPushButton which is easier with stylesheets * Use standard strings Create or Post or Update ( not more OK or Send) *Added default stylesheet colors for Create & Post Buttons
281 lines
9.5 KiB
XML
281 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CreateLobbyDialog</class>
|
|
<widget class="QDialog" name="CreateLobbyDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>486</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Create Chat Room</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/logo/logo_32.png</normaloff>:/images/logo/logo_32.png</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="CreateLobbyDialogVLayout">
|
|
<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>
|
|
<widget class="HeaderFrame" name="headerFrame"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame">
|
|
<layout class="QVBoxLayout" name="frameVLayout">
|
|
<item>
|
|
<widget class="StyledLabel" name="lobbyInfoLabel">
|
|
<property name="text">
|
|
<string>A chat room is a decentralized and anonymous chat group. All participants receive all messages. Once the room is created you can invite other friend nodes with invite button on top right.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="mainHLayout">
|
|
<item>
|
|
<widget class="QFrame" name="roomFrame">
|
|
<layout class="QVBoxLayout" name="roomFrameVLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="roomGLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="lobbyName_Lb">
|
|
<property name="text">
|
|
<string>Room name:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLineEdit" name="lobbyName_LE"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="lobbyTopic_Lb">
|
|
<property name="text">
|
|
<string>Room topic:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLineEdit" name="lobbyTopic_LE"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="idChooser_Lb">
|
|
<property name="text">
|
|
<string>Identity to use:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="security_Lb">
|
|
<property name="text">
|
|
<string>Visibility:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QComboBox" name="security_CB">
|
|
<item>
|
|
<property name="text">
|
|
<string>Public (Visible by friends)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Private (Works on invitation only)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="GxsIdChooser" name="idChooser_CB"/>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QCheckBox" name="pgp_signed_CB">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If you check this, only PGP-signed ids can be used to join and talk in this room. This limitation prevents anonymous spamming as it becomes possible for at least some people in the room to locate the spammer's node.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>require PGP-signed identities</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="pgp_signed_Lb">
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Security:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="roomVSpacer">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="friendListGLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="friendListLabel">
|
|
<property name="text">
|
|
<string>Select the Friends with which you want to group chat.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="FriendSelectionWidget" name="keyShareList" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>4</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>20</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1677215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="toolBarHLayout">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="createButton">
|
|
<property name="text">
|
|
<string>Create</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton">
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>StyledLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>gui/common/StyledLabel.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>HeaderFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>gui/common/HeaderFrame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>FriendSelectionWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/common/FriendSelectionWidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>GxsIdChooser</class>
|
|
<extends>QComboBox</extends>
|
|
<header>gui/gxs/GxsIdChooser.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|