wire few ui fixes

This commit is contained in:
defnax 2020-12-17 18:49:12 +01:00
parent df5d1ab237
commit 5a2e13366c
5 changed files with 84 additions and 36 deletions

View File

@ -99,7 +99,7 @@ void PulseAddDialog::cleanup()
ui.frame_URL->setEnabled(false);
ui.pushButton_Post->setEnabled(false);
ui.pushButton_Post->setText("Post Pulse to Wire");
ui.pushButton_Post->setText("Post");
ui.frame_input->setVisible(true);
ui.widget_sentiment->setVisible(true);

View File

@ -7,17 +7,17 @@
<x>0</x>
<y>0</y>
<width>720</width>
<height>633</height>
<height>493</height>
</rect>
</property>
<property name="windowTitle">
<string/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -34,8 +34,8 @@
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
@ -55,24 +55,37 @@
</property>
</widget>
</item>
<item>
<item row="0" column="1">
<widget class="QLabel" name="label_groupName">
<property name="text">
<string>GroupLabel</string>
</property>
</widget>
</item>
<item>
<item row="0" column="2">
<widget class="GxsIdLabel" name="label_idName">
<property name="text">
<string>IDLabel</string>
</property>
</widget>
</item>
<item row="0" column="3">
<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>
</layout>
</widget>
</item>
<item>
<item row="1" column="0">
<widget class="QFrame" name="frame_reply">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
@ -149,7 +162,7 @@
</layout>
</widget>
</item>
<item>
<item row="2" column="0">
<widget class="QFrame" name="frame_input">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
@ -286,15 +299,8 @@
</layout>
</widget>
</item>
<item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_Cancel">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
@ -311,7 +317,14 @@
<item>
<widget class="QPushButton" name="pushButton_Post">
<property name="text">
<string>Post Pulse to Wire</string>
<string>Post </string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_Cancel">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>

View File

@ -20,6 +20,18 @@
<string/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<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="QFrame" name="frame_toolbar">
<property name="sizePolicy">
@ -29,12 +41,24 @@
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Plain</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<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="QToolButton" name="toolButton_createAccount">
<property name="text">
@ -63,13 +87,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_5">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
@ -192,7 +209,7 @@
<x>0</x>
<y>0</y>
<width>228</width>
<height>442</height>
<height>488</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
@ -253,6 +270,10 @@
<property name="text">
<string>&lt;</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/png/arrow-left.png</normaloff>:/icons/png/arrow-left.png</iconset>
</property>
</widget>
</item>
<item>
@ -260,6 +281,10 @@
<property name="text">
<string>&gt;</string>
</property>
<property name="icon">
<iconset resource="../icons.qrc">
<normaloff>:/icons/png/arrow-right.png</normaloff>:/icons/png/arrow-right.png</iconset>
</property>
</widget>
</item>
<item>
@ -357,8 +382,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>508</width>
<height>435</height>
<width>523</width>
<height>484</height>
</rect>
</property>
<property name="styleSheet">

View File

@ -135,7 +135,8 @@ CreateGxsChannelMsg QPushButton#postButton:hover {
CreateCircleDialog QPushButton#createButton, CreateLobbyDialog QPushButton#createButton,
IdEditDialog QPushButton#createButton, CreateGxsForumMsg QPushButton#postButton,
GxsCreateCommentDialog QPushButton#postButton, GxsGroupDialog QPushButton#createButton{
GxsCreateCommentDialog QPushButton#postButton, GxsGroupDialog QPushButton#createButton,
PulseAddDialog QPushButton#pushButton_Post{
font: bold;
font-size: 15px;
color: white;
@ -144,16 +145,20 @@ GxsCreateCommentDialog QPushButton#postButton, GxsGroupDialog QPushButton#create
max-height: 27px;
min-width: 4em;
padding: 2px;
padding-left: 6px;
padding-right: 6px;
}
CreateCircleDialog QPushButton#createButton:hover, CreateLobbyDialog QPushButton#createButton:hover,
IdEditDialog QPushButton#createButton:hover, CreateGxsForumMsg QPushButton#postButton:hover,
GxsCreateCommentDialog QPushButton#postButton:hover, GxsGroupDialog QPushButton#createButton:hover,
ShareManager QPushButton#closeButton:hover {
ShareManager QPushButton#closeButton:hover, PulseAddDialog QPushButton#pushButton_Post:hover {
background: #03b1f3;
border-radius: 4px;
min-width: 4em;
padding: 2px;
padding-left: 6px;
padding-right: 6px;
}
ShareManager QPushButton#closeButton {
@ -492,6 +497,7 @@ GxsCircleItem QLabel#nameLabel, QLabel#titleLabel {
font: bold italic;
}
ForumNewItem > QFrame#frame, ForumMsgItem > QFrame#frame {
border: 2px solid #CCCCCC;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #EEEEEE, stop: 1 #CCCCCC);
@ -1045,8 +1051,7 @@ MessageWidget QTextBrowser#toText , QTextBrowser#ccText , QTextBrowser#bccText {
border: none;
}
WireGroupItem QWidget:hover
{
WireGroupItem QWidget:hover{
background-color: #7ecbfb;
}

View File

@ -89,6 +89,11 @@ GxsChannelPostsWidgetWithModel QLabel#channelName_LB
qproperty-fontSizeFactor: 250;
}
PostedListWidgetWithModel QLabel#namelabel
{
qproperty-fontSizeFactor: 250;
}
CreateLobbyDialog QLabel#lobbyInfoLabel
{
qproperty-fontSizeFactor: 150;