added a search icon into the search frame

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2343 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-02-16 20:02:46 +00:00
parent 702ddbd769
commit 4a5bd60880
3 changed files with 48 additions and 42 deletions

View File

@ -526,13 +526,13 @@ border: 1px solid #CCCCCC;}</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin"> <property name="leftMargin">
<number>2</number> <number>3</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>0</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>2</number> <number>3</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>0</number>
@ -543,41 +543,7 @@ border: 1px solid #CCCCCC;}</string>
<property name="verticalSpacing"> <property name="verticalSpacing">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="images.qrc">:/images/filefind.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<family>Arial</family>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Search</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="FileTypeComboBox"> <widget class="QComboBox" name="FileTypeComboBox">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QToolButton, QPushButton, QComboBox { <string notr="true">QToolButton, QPushButton, QComboBox {
@ -704,7 +670,7 @@ border-image: url(:/images/btn_26_pressed.png) 4;
</item> </item>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="2">
<spacer> <spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -720,7 +686,7 @@ border-image: url(:/images/btn_26_pressed.png) 4;
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="4"> <item row="0" column="3">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
@ -744,10 +710,16 @@ background: white;</string>
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>1</number>
</property>
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="1">
<widget class="QLineEdit" name="lineEdit"> <widget class="QLineEdit" name="lineEdit">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@ -781,7 +753,7 @@ border: none;}
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="2">
<widget class="QPushButton" name="resetButton"> <widget class="QPushButton" name="resetButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
@ -818,6 +790,39 @@ border-image: url(:/images/closepressed.png)
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0">
<widget class="QPushButton" name="pushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton#pushButton{background: transparent;
border: none;}</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="images.qrc">
<normaloff>:/images/find-16.png</normaloff>:/images/find-16.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -853,7 +858,7 @@ border-image: url(:/images/btn3.png) 4;
</item> </item>
</layout> </layout>
</item> </item>
<item row="0" column="5"> <item row="0" column="4">
<spacer> <spacer>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@ -869,7 +874,7 @@ border-image: url(:/images/btn3.png) 4;
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="6"> <item row="0" column="5">
<widget class="QPushButton" name="toggleAdvancedSearchBtn"> <widget class="QPushButton" name="toggleAdvancedSearchBtn">
<property name="toolTip"> <property name="toolTip">
<string>Advanced Search</string> <string>Advanced Search</string>

View File

@ -151,6 +151,7 @@
<file>images/fileshare24.png</file> <file>images/fileshare24.png</file>
<file>images/fileshare48.png</file> <file>images/fileshare48.png</file>
<file>images/find.png</file> <file>images/find.png</file>
<file>images/find-16.png</file>
<file>images/emoticons/kopete/kopete020.png</file> <file>images/emoticons/kopete/kopete020.png</file>
<file>images/flags/af.png</file> <file>images/flags/af.png</file>
<file>images/flags/cn.png</file> <file>images/flags/cn.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 B