Merge pull request #2088 from defnax/stylesheet-fix-standard

Fixing some default stylesheets & the Layout for the ChatLobby info L…
This commit is contained in:
csoler 2020-10-25 19:53:33 +01:00 committed by GitHub
commit 30956f8de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 166 additions and 166 deletions

View File

@ -234,176 +234,168 @@
<property name="title"> <property name="title">
<string>Chat Room info</string> <string>Chat Room info</string>
</property> </property>
<layout class="QVBoxLayout" name="lobbyinfo_groupBoxVLayout"> <layout class="QGridLayout" name="lobbyinfo_groupBoxgridLayout">
<item> <item row="0" column="0">
<layout class="QHBoxLayout" name="lobbyInfoHLayout"> <layout class="QGridLayout" name="lobbyinfo_gridLayout">
<property name="topMargin"> <property name="topMargin">
<number>6</number> <number>6</number>
</property> </property>
<item> <item row="0" column="0">
<layout class="QVBoxLayout" name="lobbyInfoNameVLayout"> <widget class="QLabel" name="lobbyname_label">
<item> <property name="font">
<widget class="QLabel" name="lobbyname_label"> <font>
<property name="font"> <weight>75</weight>
<font> <bold>true</bold>
<weight>75</weight> </font>
<bold>true</bold> </property>
</font> <property name="text">
</property> <string>Chat room Name:</string>
<property name="text"> </property>
<string>Chat room Name:</string> </widget>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lobbyid_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Chat room Id:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lobbytopic_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Topic:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lobbytype_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lobbysec_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Security:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lobbypeers_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Peers:</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item row="0" column="1">
<layout class="QVBoxLayout" name="lobbyInfoValueVLayout"> <widget class="QLabel" name="lobbyname_lineEdit">
<item> <property name="sizePolicy">
<widget class="QLabel" name="lobbyname_lineEdit"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<property name="sizePolicy"> <horstretch>0</horstretch>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <verstretch>0</verstretch>
<horstretch>0</horstretch> </sizepolicy>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="text">
</property> <string>TextLabel</string>
<property name="text"> </property>
<string>TextLabel</string> </widget>
</property> </item>
</widget> <item row="1" column="0">
</item> <widget class="QLabel" name="lobbyid_label">
<item> <property name="font">
<widget class="QLabel" name="lobbyid_lineEdit"> <font>
<property name="sizePolicy"> <weight>75</weight>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <bold>true</bold>
<horstretch>0</horstretch> </font>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="text">
</property> <string>Chat room Id:</string>
<property name="text"> </property>
<string>TextLabel</string> </widget>
</property> </item>
</widget> <item row="1" column="1">
</item> <widget class="QLabel" name="lobbyid_lineEdit">
<item> <property name="sizePolicy">
<widget class="QLabel" name="lobbytopic_lineEdit"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<property name="sizePolicy"> <horstretch>0</horstretch>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <verstretch>0</verstretch>
<horstretch>0</horstretch> </sizepolicy>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="text">
</property> <string>TextLabel</string>
<property name="text"> </property>
<string>TextLabel</string> </widget>
</property> </item>
<property name="wordWrap"> <item row="2" column="0">
<bool>true</bool> <widget class="QLabel" name="lobbytopic_label">
</property> <property name="font">
</widget> <font>
</item> <weight>75</weight>
<item> <bold>true</bold>
<widget class="QLabel" name="lobbytype_lineEdit"> </font>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <property name="text">
<horstretch>0</horstretch> <string>Topic:</string>
<verstretch>0</verstretch> </property>
</sizepolicy> </widget>
</property> </item>
<property name="text"> <item row="2" column="1">
<string>TextLabel</string> <widget class="QLabel" name="lobbytopic_lineEdit">
</property> <property name="sizePolicy">
</widget> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
</item> <horstretch>0</horstretch>
<item> <verstretch>0</verstretch>
<widget class="QLabel" name="lobbysec_lineEdit"> </sizepolicy>
<property name="text"> </property>
<string>TextLabel</string> <property name="text">
</property> <string>TextLabel</string>
</widget> </property>
</item> <property name="wordWrap">
<item> <bool>true</bool>
<widget class="QLabel" name="lobbypeers_lineEdit"> </property>
<property name="sizePolicy"> </widget>
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> </item>
<horstretch>0</horstretch> <item row="3" column="0">
<verstretch>0</verstretch> <widget class="QLabel" name="lobbytype_label">
</sizepolicy> <property name="font">
</property> <font>
<property name="text"> <weight>75</weight>
<string>TextLabel</string> <bold>true</bold>
</property> </font>
</widget> </property>
</item> <property name="text">
</layout> <string>Type:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="lobbytype_lineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lobbysec_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Security:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="lobbysec_lineEdit">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lobbypeers_label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Peers:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="lobbypeers_lineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="1" column="0">
<widget class="QLabel" name="lobbyInfoLabel"> <widget class="QLabel" name="lobbyInfoLabel">
<property name="text"> <property name="text">
<string notr="true">TextLabel</string> <string notr="true">TextLabel</string>
@ -413,7 +405,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0">
<spacer name="lobbyInfoVSpacer"> <spacer name="lobbyInfoVSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>

View File

@ -202,7 +202,8 @@ CreateGxsForumMsg QPushButton#postButton:disabled, PostedCreatePostDialog QPushB
GxsForumThreadWidget QLabel#forumName GxsForumThreadWidget QLabel#forumName
{ {
font: bold; font: bold;
font-size: 14px;
} }
CreateForumMsg > QToolBar#toolBar, CreateForumV2Msg > QToolBar#toolBar { CreateForumMsg > QToolBar#toolBar, CreateForumV2Msg > QToolBar#toolBar {
@ -241,6 +242,12 @@ ChatLobbyWidget QLabel#lobbyinfo_label
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2); background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
} }
ChatLobbyWidget QLabel#lobbyname_lineEdit
{
font: bold;
font-size: 16px;
}
ChatLobbyWidget QGroupBox#lobbyinfo_groupBox ChatLobbyWidget QGroupBox#lobbyinfo_groupBox
{ {
@ -785,7 +792,8 @@ PostedListWidgetWithModel QComboBox#sortStrategy_CB {
color: #0099cc; color: #0099cc;
} }
PostedListWidgetWithModel QToolButton#submitPostButton { PostedListWidgetWithModel QToolButton#submitPostButton, GxsChannelPostsWidgetWithModel QToolButton#postButton,
GxsForumThreadWidget QToolButton#newthreadButton {
font: bold; font: bold;
} }