mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set default palette & stylesheet for the Channel infoWidget.
Enabled word wrap and copyable text. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7937 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0a1698f8c8
commit
6c9dffaa40
@ -285,44 +285,147 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QWidget" name="infoWidget" native="true">
|
<widget class="QWidget" name="infoWidget" native="true">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="margin">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<widget class="QFrame" name="infoFrame">
|
||||||
<item row="0" column="1">
|
<property name="palette">
|
||||||
<widget class="QLabel" name="infoPosts">
|
<palette>
|
||||||
<property name="text">
|
<active>
|
||||||
<string notr="true">0</string>
|
<colorrole role="Base">
|
||||||
</property>
|
<brush brushstyle="SolidPattern">
|
||||||
</widget>
|
<color alpha="255">
|
||||||
</item>
|
<red>255</red>
|
||||||
<item row="1" column="0">
|
<green>255</green>
|
||||||
<widget class="QLabel" name="infoDescriptionLabel">
|
<blue>255</blue>
|
||||||
<property name="text">
|
</color>
|
||||||
<string>Description:</string>
|
</brush>
|
||||||
</property>
|
</colorrole>
|
||||||
</widget>
|
<colorrole role="Window">
|
||||||
</item>
|
<brush brushstyle="SolidPattern">
|
||||||
<item row="0" column="0">
|
<color alpha="255">
|
||||||
<widget class="QLabel" name="infoPostsLabel">
|
<red>255</red>
|
||||||
<property name="sizePolicy">
|
<green>255</green>
|
||||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
<blue>178</blue>
|
||||||
<horstretch>0</horstretch>
|
</color>
|
||||||
<verstretch>0</verstretch>
|
</brush>
|
||||||
</sizepolicy>
|
</colorrole>
|
||||||
</property>
|
</active>
|
||||||
<property name="text">
|
<inactive>
|
||||||
<string>Posts (at neighbor nodes):</string>
|
<colorrole role="Base">
|
||||||
</property>
|
<brush brushstyle="SolidPattern">
|
||||||
</widget>
|
<color alpha="255">
|
||||||
</item>
|
<red>255</red>
|
||||||
<item row="2" column="0" colspan="2">
|
<green>255</green>
|
||||||
<widget class="QLabel" name="infoDescription">
|
<blue>255</blue>
|
||||||
<property name="text">
|
</color>
|
||||||
<string notr="true">Description</string>
|
</brush>
|
||||||
</property>
|
</colorrole>
|
||||||
</widget>
|
<colorrole role="Window">
|
||||||
</item>
|
<brush brushstyle="SolidPattern">
|
||||||
</layout>
|
<color alpha="255">
|
||||||
|
<red>255</red>
|
||||||
|
<green>255</green>
|
||||||
|
<blue>178</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
</inactive>
|
||||||
|
<disabled>
|
||||||
|
<colorrole role="Base">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>255</red>
|
||||||
|
<green>255</green>
|
||||||
|
<blue>178</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
<colorrole role="Window">
|
||||||
|
<brush brushstyle="SolidPattern">
|
||||||
|
<color alpha="255">
|
||||||
|
<red>255</red>
|
||||||
|
<green>255</green>
|
||||||
|
<blue>178</blue>
|
||||||
|
</color>
|
||||||
|
</brush>
|
||||||
|
</colorrole>
|
||||||
|
</disabled>
|
||||||
|
</palette>
|
||||||
|
</property>
|
||||||
|
<property name="autoFillBackground">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Plain</enum>
|
||||||
|
</property>
|
||||||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QLabel" name="infoPosts">
|
||||||
|
<property name="text">
|
||||||
|
<string notr="true">0</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="infoDescriptionLabel">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Description:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="infoPostsLabel">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<weight>75</weight>
|
||||||
|
<bold>true</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Posts (at neighbor nodes):</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0" colspan="2">
|
||||||
|
<widget class="QLabel" name="infoDescription">
|
||||||
|
<property name="text">
|
||||||
|
<string notr="true">Description</string>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="textInteractionFlags">
|
||||||
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer">
|
<spacer name="verticalSpacer">
|
||||||
|
@ -612,3 +612,11 @@ IdDialog QLabel#avlabel {
|
|||||||
border: 4px solid white;
|
border: 4px solid white;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GxsChannelPostsWidget QFrame#infoFrame
|
||||||
|
{
|
||||||
|
border: 1px solid #DCDC41;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: #FFFFD7;
|
||||||
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user