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"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout_3">
<property name="verticalSpacing"> <property name="verticalSpacing">
<number>0</number> <number>0</number>
</property> </property>

View File

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

View File

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

View File

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

View File

@ -17,10 +17,6 @@
<iconset resource="../images.qrc"> <iconset resource="../images.qrc">
<normaloff>:/images/folder-draft.png</normaloff>:/images/folder-draft.png</iconset> <normaloff>:/images/folder-draft.png</normaloff>:/images/folder-draft.png</iconset>
</property> </property>
<property name="styleSheet">
<string notr="true">QToolBar#toolBar{background-image: url(:/images/connect/connectFriendBanner.png)}
</string>
</property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
@ -185,20 +181,13 @@
<number>2</number> <number>2</number>
</property> </property>
<item row="5" column="0"> <item row="5" column="0">
<widget class="QFrame" name="frame"> <widget class="QFrame" name="toolBarFrame">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>38</height> <height>38</height>
</size> </size>
</property> </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"> <property name="frameShape">
<enum>QFrame::StyledPanel</enum> <enum>QFrame::StyledPanel</enum>
</property> </property>

View File

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

View File

@ -60,6 +60,10 @@ ForumsDialog2 QLabel#forumName, ForumsDialog2 QLabel#threadTitle
background: white; background: white;
} }
CreateForumMsg > QToolBar#toolBar, CreateForumV2Msg > QToolBar#toolBar {
background-image: url(:/images/headerFrame.png);
}
/* MessengerWindow */ /* MessengerWindow */
MessengerWindow QFrame#logoFrame { MessengerWindow QFrame#logoFrame {
@ -99,3 +103,24 @@ ChatWidget QFrame#infoFrame {
background: #FFFFD7; background: #FFFFD7;
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);
} }
/* 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>
<item> <item>
<widget class="QGroupBox" name="groupBoxIRCColors"> <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"> <property name="title">
<string>Chat Font</string> <string>Chat Font</string>
</property> </property>
@ -355,7 +346,7 @@
<enum>QTabWidget::North</enum> <enum>QTabWidget::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="publicTab"> <widget class="QWidget" name="publicTab">
<attribute name="title"> <attribute name="title">

View File

@ -25,18 +25,9 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </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"> <property name="frameShape">
<enum>QFrame::StyledPanel</enum> <enum>QFrame::StyledPanel</enum>
</property> </property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">