set stylesheets for some items

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1660 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-09-19 13:38:15 +00:00
parent be8d0a06e9
commit 69e20eaa99
2 changed files with 257 additions and 242 deletions

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BlogMsgItem</class>
<widget class="QWidget" name="BlogMsgItem">
@ -5,13 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>917</width>
<width>552</width>
<height>238</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
@ -19,11 +23,14 @@
<item row="0" column="0">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame{border: 2px solid black;}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
@ -45,7 +52,7 @@
<item>
<widget class="QPushButton" name="clearButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -81,7 +88,7 @@
<item>
<widget class="QLabel" name="titleLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -117,7 +124,7 @@
<item>
<widget class="QPushButton" name="expandButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -148,7 +155,7 @@
<item>
<widget class="QLabel" name="subjectLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -177,7 +184,7 @@
<item>
<widget class="QPushButton" name="playButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -208,7 +215,7 @@
<item>
<widget class="QLabel" name="msgLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -228,7 +235,7 @@
</layout>
</widget>
<resources>
<include location="images.qrc" />
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections/>

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PeerItem</class>
<widget class="QWidget" name="PeerItem">
@ -13,20 +14,20 @@
<string>Form</string>
</property>
<layout class="QGridLayout">
<property name="topMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame{border: 2px solid black;}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
@ -45,7 +46,7 @@
<item>
<widget class="QPushButton" name="clearButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -57,7 +58,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/close_normal.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/close_normal.png</normaloff>:/images/close_normal.png</iconset>
</property>
</widget>
</item>
@ -69,7 +71,7 @@
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>16</width>
<height>26</height>
@ -80,7 +82,7 @@
<item>
<widget class="QLabel" name="titleLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -105,7 +107,7 @@
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>500</width>
<height>20</height>
@ -116,7 +118,7 @@
<item>
<widget class="QPushButton" name="expandButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -128,7 +130,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/add_24x24.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/add_24x24.png</normaloff>:/images/add_24x24.png</iconset>
</property>
</widget>
</item>
@ -139,7 +142,7 @@
<item>
<widget class="QLabel" name="typeLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -171,7 +174,7 @@
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -182,7 +185,7 @@
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -213,7 +216,7 @@
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>500</width>
<height>20</height>
@ -224,7 +227,7 @@
<item>
<widget class="QPushButton" name="addButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -236,7 +239,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/add-friend24.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/add-friend24.png</normaloff>:/images/add-friend24.png</iconset>
</property>
</widget>
</item>
@ -248,7 +252,7 @@
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
@ -259,7 +263,7 @@
<item>
<widget class="QPushButton" name="removeButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -271,7 +275,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/ddeny.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/ddeny.png</normaloff>:/images/ddeny.png</iconset>
</property>
</widget>
</item>
@ -283,7 +288,7 @@
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>60</width>
<height>20</height>
@ -294,7 +299,7 @@
<item>
<widget class="QPushButton" name="msgButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -306,7 +311,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/mail_send.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/mail_send.png</normaloff>:/images/mail_send.png</iconset>
</property>
</widget>
</item>
@ -318,7 +324,7 @@
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
@ -329,7 +335,7 @@
<item>
<widget class="QPushButton" name="chatButton">
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -341,7 +347,8 @@
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc" >:/images/chat.png</iconset>
<iconset resource="../images.qrc">
<normaloff>:/images/chat.png</normaloff>:/images/chat.png</iconset>
</property>
</widget>
</item>
@ -432,7 +439,7 @@
<item>
<widget class="QLabel" name="nameLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -445,7 +452,7 @@
<item>
<widget class="QLabel" name="idLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -458,7 +465,7 @@
<item>
<widget class="QLabel" name="orgLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -471,7 +478,7 @@
<item>
<widget class="QLabel" name="locLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -484,7 +491,7 @@
<item>
<widget class="QLabel" name="countryLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -506,7 +513,7 @@
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
@ -564,7 +571,7 @@
<item>
<widget class="QLabel" name="ipLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -577,7 +584,7 @@
<item>
<widget class="QLabel" name="connLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -590,7 +597,7 @@
<item>
<widget class="QLabel" name="lastLabel">
<property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -613,6 +620,7 @@
</layout>
</widget>
<resources>
<include location="../images.qrc"/>
<include location="images.qrc"/>
</resources>
<connections/>