Moved some internal stylesheets to the file Standard.qss.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-08-27 23:38:27 +00:00
parent 1d72bd646b
commit dd42738b3c
9 changed files with 46 additions and 59 deletions

View File

@ -46,7 +46,7 @@ border-radius: 10px}</string>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="gridLayout_3">
<property name="verticalSpacing">
<number>0</number>
</property>

View File

@ -17,9 +17,6 @@
<iconset resource="../images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">QToolBar#toolBar{background-image: url(:/images/connect/connectFriendBanner.png)}</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
@ -283,6 +280,9 @@ p, li { white-space: pre-wrap; }
<property name="windowTitle">
<string notr="true">toolBar</string>
</property>
<property name="movable">
<bool>false</bool>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>

View File

@ -17,9 +17,6 @@
<iconset resource="../images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">QToolBar#toolBar{background-image: url(:/images/connect/connectFriendBanner.png)}</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
@ -283,6 +280,9 @@ p, li { white-space: pre-wrap; }
<property name="windowTitle">
<string notr="true">toolBar</string>
</property>
<property name="movable">
<bool>false</bool>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>

View File

@ -55,6 +55,9 @@
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="margin">
<number>2</number>
</property>
<item>
<layout class="QHBoxLayout" name="filterLayout">
<property name="spacing">
@ -215,7 +218,6 @@
</customwidgets>
<resources>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections>
<connection>

View File

@ -17,10 +17,6 @@
<iconset resource="../images.qrc">
<normaloff>:/images/folder-draft.png</normaloff>:/images/folder-draft.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">QToolBar#toolBar{background-image: url(:/images/connect/connectFriendBanner.png)}
</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
@ -185,20 +181,13 @@
<number>2</number>
</property>
<item row="5" column="0">
<widget class="QFrame" name="frame">
<widget class="QFrame" name="toolBarFrame">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>38</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FEFEFE, stop:1 #E8E8E8);
border: 1px solid #CCCCCC;}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>

View File

@ -127,12 +127,9 @@
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QFrame" name="frame_2">
<property name="styleSheet">
<string notr="true">QFrame#frame_2{
background-color: white;
border: 2px solid #CCCCCC;}</string>
<widget class="QFrame" name="frame_1">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0" colspan="3">
@ -417,12 +414,9 @@ border: 2px solid #CCCCCC;}</string>
</widget>
</item>
<item row="1" column="0">
<widget class="QFrame" name="frame_3">
<property name="styleSheet">
<string notr="true">QFrame#frame_3{
background-color: white;
border: 2px solid #CCCCCC;}</string>
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0" colspan="4">
@ -710,12 +704,9 @@ border: 2px solid #CCCCCC;}</string>
</widget>
</item>
<item row="2" column="0">
<widget class="QFrame" name="frame_4">
<property name="styleSheet">
<string notr="true">QFrame#frame_4{
background-color: white;
border: 2px solid #CCCCCC;}</string>
<widget class="QFrame" name="frame_3">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
@ -1167,8 +1158,6 @@ border: 2px solid #CCCCCC;}</string>
</widget>
<resources>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections/>
</ui>

View File

@ -60,6 +60,10 @@ ForumsDialog2 QLabel#forumName, ForumsDialog2 QLabel#threadTitle
background: white;
}
CreateForumMsg > QToolBar#toolBar, CreateForumV2Msg > QToolBar#toolBar {
background-image: url(:/images/headerFrame.png);
}
/* MessengerWindow */
MessengerWindow QFrame#logoFrame {
@ -99,3 +103,24 @@ ChatWidget QFrame#infoFrame {
background: #FFFFD7;
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
}
/* Messages */
MessageComposer > QToolBar#toolBar {
background-image: url(:/images/headerFrame.png);
}
/* Profile */
ProfileWidget QFrame#frame_1, ProfileWidget QFrame#frame_2, ProfileWidget QFrame#frame_3 {
background-color: white;
border: 2px solid #CCCCCC;
}
/* Settings */
PluginItem > QFrame#frame {
border: 2px solid #A8B8D1;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FCFDFE, stop: 1 #E2E8EF);
border-radius: 0px
}

View File

@ -116,15 +116,6 @@
</item>
<item>
<widget class="QGroupBox" name="groupBoxIRCColors">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>Chat Font</string>
</property>
@ -355,7 +346,7 @@
<enum>QTabWidget::North</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="publicTab">
<attribute name="title">

View File

@ -25,18 +25,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">QFrame#frame{border: 2px solid #A8B8D1;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FCFDFE, stop: 1 #E2E8EF);
border-radius: 0px}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">