redesign the Search Dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1177 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-06 00:31:09 +00:00
parent 6f59bd806b
commit 626074d3f8
3 changed files with 496 additions and 689 deletions

View File

@ -98,16 +98,19 @@ SearchDialog::SearchDialog(QWidget *parent)
RshareSettings rsharesettings; RshareSettings rsharesettings;
QString key (UI_PREF_ADVANCED_SEARCH); QString key (UI_PREF_ADVANCED_SEARCH);
bool useAdvanced = rsharesettings.value(key, QVariant(false)).toBool(); bool useAdvanced = rsharesettings.value(key, QVariant(false)).toBool();
if (useAdvanced) /*if (useAdvanced)
{ {
ui.toggleAdvancedSearchBtn->setChecked(true); ui.toggleAdvancedSearchBtn->setChecked(true);
ui.SimpleSearchPanel->hide(); ui.SimpleSearchPanel->hide();
} else { } else {
ui.AdvancedSearchPanel->hide(); ui.AdvancedSearchPanel->hide();
} }*/
connect(ui.toggleAdvancedSearchBtn, SIGNAL(toggled(bool)), this, SLOT(toggleAdvancedSearchDialog(bool))); //connect(ui.toggleAdvancedSearchBtn, SIGNAL(toggled(bool)), this, SLOT(toggleAdvancedSearchDialog(bool)));
connect(ui.focusAdvSearchDialogBtn, SIGNAL(clicked()), this, SLOT(showAdvSearchDialog())); //connect(ui.focusAdvSearchDialogBtn, SIGNAL(clicked()), this, SLOT(showAdvSearchDialog()));
connect(ui.toggleAdvancedSearchBtn, SIGNAL(clicked()), this, SLOT(showAdvSearchDialog()));
connect(ui.cloaseallsearchresultsButton, SIGNAL(clicked()), this, SLOT(searchRemoveAll()));
connect(ui.resetButton, SIGNAL(clicked()), this, SLOT(clearKeyword()));
/* End Advanced Search Panel specifics */ /* End Advanced Search Panel specifics */
@ -144,8 +147,8 @@ SearchDialog::SearchDialog(QWidget *parent)
_smheader->setResizeMode (2, QHeaderView::Interactive); _smheader->setResizeMode (2, QHeaderView::Interactive);
_smheader->resizeSection ( 0, 80 ); _smheader->resizeSection ( 0, 80 );
_smheader->resizeSection ( 1, 75 ); _smheader->resizeSection ( 1, 60 );
_smheader->resizeSection ( 2, 75 ); _smheader->resizeSection ( 2, 30 );
ui.searchResultWidget->setColumnCount(6); ui.searchResultWidget->setColumnCount(6);
_smheader = ui.searchResultWidget->header () ; _smheader = ui.searchResultWidget->header () ;
@ -362,6 +365,12 @@ void SearchDialog::searchRemoveAll()
nextSearchId = 1; nextSearchId = 1;
} }
/** clear keywords **/
void SearchDialog::clearKeyword()
{
ui.lineEdit->clear();
}
/* ***************************************************************** /* *****************************************************************
Advanced search implementation Advanced search implementation
*******************************************************************/ *******************************************************************/

View File

@ -67,6 +67,9 @@ private slots:
void searchKeywords(); void searchKeywords();
void clearKeyword();
/** management of the adv search dialog object when switching search modes */ /** management of the adv search dialog object when switching search modes */
void toggleAdvancedSearchDialog(bool); void toggleAdvancedSearchDialog(bool);
void hideEvent(QHideEvent * event); void hideEvent(QHideEvent * event);

View File

@ -5,16 +5,28 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>661</width> <width>685</width>
<height>289</height> <height>474</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" > <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>1</horstretch> <horstretch>0</horstretch>
<verstretch>1</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="sizeIncrement" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="palette" > <property name="palette" >
<palette> <palette>
<active> <active>
@ -498,254 +510,105 @@
<property name="contextMenuPolicy" > <property name="contextMenuPolicy" >
<enum>Qt::NoContextMenu</enum> <enum>Qt::NoContextMenu</enum>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" name="gridLayout_6" >
<property name="leftMargin" >
<number>6</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>6</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>1</number>
</property>
<property name="verticalSpacing" > <property name="verticalSpacing" >
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0" > <item row="0" column="0" >
<layout class="QVBoxLayout" > <layout class="QGridLayout" name="gridLayout_4" >
<property name="spacing" > <item row="0" column="0" >
<number>0</number> <widget class="QLabel" name="label_2" >
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>5</number>
</property>
<property name="topMargin" >
<number>5</number>
</property>
<property name="rightMargin" >
<number>5</number>
</property>
<property name="bottomMargin" >
<number>5</number>
</property>
<item>
<widget class="QPushButton" name="toggleAdvancedSearchBtn" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" > <property name="minimumSize" >
<size>
<width>34</width>
<height>34</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>34</width>
<height>34</height>
</size>
</property>
<property name="toolTip" >
<string>Toggle advanced searching on and off.</string>
</property>
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >:/images/advsearch_24x24.png</iconset>
</property>
<property name="iconSize" >
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="checkable" > <property name="maximumSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="images.qrc" >:/images/find.png</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget> </widget>
</item> </item>
<item> <item row="0" column="1" >
<spacer> <widget class="QLabel" name="label_3" >
<property name="orientation" > <property name="maximumSize" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size> <size>
<width>20</width> <width>16777215</width>
<height>0</height> <height>32</height>
</size> </size>
</property> </property>
</spacer> <property name="text" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-size:12pt; font-weight:600;">Search&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="1" column="0" >
<widget class="QFrame" name="SearchModeFrame" > <widget class="QToolBox" name="toolBox" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" > <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>255</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize" > <property name="minimumSize" >
<size> <size>
<width>390</width> <width>220</width>
<height>24</height> <height>0</height>
</size> </size>
</property> </property>
<property name="frameShape" > <property name="maximumSize" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QFrame" name="SimpleSearchPanel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_3" >
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Plain</enum>
</property>
<property name="text" >
<string>&lt;h3>Simple Search:&lt;/h3></string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size> <size>
<width>10</width> <width>220</width>
<height>20</height> <height>150</height>
</size> </size>
</property> </property>
</spacer> <property name="currentIndex" >
</item> <number>0</number>
<item>
<widget class="QLabel" name="label" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<widget class="QWidget" name="page" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>220</width>
<height>121</height>
</rect>
</property>
<attribute name="label" >
<string>Keyword Search</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QLabel" name="label" >
<property name="text" > <property name="text" >
<string>Keywords </string> <string>Type your Search here</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0" colspan="2" >
<widget class="QLineEdit" name="lineEdit" > <widget class="QLineEdit" name="lineEdit" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" > <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
@ -761,40 +624,15 @@
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="2" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>32</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Format&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="FileTypeComboBox" > <widget class="QComboBox" name="FileTypeComboBox" >
<item> <item>
<property name="text" > <property name="text" >
<string>Any</string> <string>Any</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeAny.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeAny.png</normaloff>:/images/FileTypeAny.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -802,7 +640,8 @@ p, li { white-space: pre-wrap; }
<string>Archive</string> <string>Archive</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeArchive.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeArchive.png</normaloff>:/images/FileTypeArchive.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -810,7 +649,8 @@ p, li { white-space: pre-wrap; }
<string>Audio</string> <string>Audio</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeAudio.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeAudio.png</normaloff>:/images/FileTypeAudio.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -818,7 +658,8 @@ p, li { white-space: pre-wrap; }
<string>CD-Image</string> <string>CD-Image</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeCDImage.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeCDImage.png</normaloff>:/images/FileTypeCDImage.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -826,7 +667,8 @@ p, li { white-space: pre-wrap; }
<string>Document</string> <string>Document</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeDocument.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeDocument.png</normaloff>:/images/FileTypeDocument.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -834,7 +676,8 @@ p, li { white-space: pre-wrap; }
<string>Picture</string> <string>Picture</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypePicture.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypePicture.png</normaloff>:/images/FileTypePicture.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -842,7 +685,8 @@ p, li { white-space: pre-wrap; }
<string>Program</string> <string>Program</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeProgram.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeProgram.png</normaloff>:/images/FileTypeProgram.png</iconset>
</property> </property>
</item> </item>
<item> <item>
@ -850,146 +694,55 @@ p, li { white-space: pre-wrap; }
<string>Video</string> <string>Video</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/FileTypeVideo.png</iconset> <iconset resource="images.qrc" >
<normaloff>:/images/FileTypeVideo.png</normaloff>:/images/FileTypeVideo.png</iconset>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item> <item row="2" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButtonsearch" > <widget class="QPushButton" name="pushButtonsearch" >
<property name="minimumSize" > <property name="minimumSize" >
<size> <size>
<width>34</width> <width>0</width>
<height>34</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize" >
<size> <size>
<width>34</width> <width>200</width>
<height>34</height> <height>200</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip" >
<string>Perform simple search</string> <string>Perform simple search</string>
</property> </property>
<property name="text" > <property name="text" >
<string/> <string>Search</string>
</property> </property>
<property name="icon" > <property name="icon" >
<iconset resource="images.qrc" >:/images/find.png</iconset> <iconset resource="images.qrc" >
</property> <normaloff>:/images/find.png</normaloff>:/images/find.png</iconset>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item row="3" column="0" >
</item> <spacer name="horizontalSpacer" >
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="AdvancedSearchPanel" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>&lt;h3>Advanced Search:&lt;/h3></string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType" > <property name="sizeHint" stdset="0" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size> <size>
<width>50</width> <width>88</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item> <item row="3" column="1" >
<widget class="QPushButton" name="focusAdvSearchDialogBtn" > <widget class="QPushButton" name="resetButton" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" > <property name="text" >
<string>Show Advanced Search Tool</string> <string>Reset</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -997,92 +750,11 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</widget> </widget>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item rowspan="2" row="1" column="1" >
<layout class="QVBoxLayout" > <layout class="QGridLayout" name="gridLayout_5" >
<property name="spacing" > <item row="0" column="0" colspan="4" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>5</number>
</property>
<property name="topMargin" >
<number>5</number>
</property>
<property name="rightMargin" >
<number>5</number>
</property>
<property name="bottomMargin" >
<number>5</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonDownload" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>34</width>
<height>34</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>34</width>
<height>34</height>
</size>
</property>
<property name="toolTip" >
<string>Download</string>
</property>
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >:/images/down_24x24.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QSplitter" name="splitter" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<widget class="SearchTreeWidget" name="searchResultWidget" > <widget class="SearchTreeWidget" name="searchResultWidget" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" > <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
@ -1133,6 +805,155 @@ p, li { white-space: pre-wrap; }
</property> </property>
</column> </column>
</widget> </widget>
</item>
<item row="1" column="0" >
<widget class="QPushButton" name="pushButtonDownload" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>120</width>
<height>25</height>
</size>
</property>
<property name="toolTip" >
<string>Download</string>
</property>
<property name="text" >
<string>Download</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/down_24x24.png</normaloff>:/images/down_24x24.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</item>
<item row="1" column="1" >
<spacer name="horizontalSpacer_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>158</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3" >
<widget class="QPushButton" name="cloaseallsearchresultsButton" >
<property name="minimumSize" >
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="text" >
<string>Close All Search Results</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QPushButton" name="toggleAdvancedSearchBtn" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>34</width>
<height>24</height>
</size>
</property>
<property name="toolTip" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">advanced searching&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/advsearch_24x24.png</normaloff>:/images/advsearch_24x24.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checkable" >
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QToolBox" name="toolBox_2" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>220</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>220</width>
<height>16777215</height>
</size>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="page_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>220</width>
<height>251</height>
</rect>
</property>
<attribute name="label" >
<string>Search Activity</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2" >
<item row="0" column="0" >
<widget class="QTreeWidget" name="searchSummaryWidget" > <widget class="QTreeWidget" name="searchSummaryWidget" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" > <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
@ -1140,6 +961,12 @@ p, li { white-space: pre-wrap; }
<verstretch>1</verstretch> <verstretch>1</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="sizeIncrement" > <property name="sizeIncrement" >
<size> <size>
<width>0</width> <width>0</width>
@ -1177,9 +1004,10 @@ p, li { white-space: pre-wrap; }
</property> </property>
</column> </column>
</widget> </widget>
</widget>
</item> </item>
</layout> </layout>
</widget>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -1193,38 +1021,5 @@ p, li { white-space: pre-wrap; }
<resources> <resources>
<include location="images.qrc" /> <include location="images.qrc" />
</resources> </resources>
<connections> <connections/>
<connection>
<sender>toggleAdvancedSearchBtn</sender>
<signal>toggled(bool)</signal>
<receiver>SimpleSearchPanel</receiver>
<slot>setHidden(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>29</x>
<y>35</y>
</hint>
<hint type="destinationlabel" >
<x>72</x>
<y>43</y>
</hint>
</hints>
</connection>
<connection>
<sender>toggleAdvancedSearchBtn</sender>
<signal>toggled(bool)</signal>
<receiver>AdvancedSearchPanel</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>28</x>
<y>29</y>
</hint>
<hint type="destinationlabel" >
<x>80</x>
<y>64</y>
</hint>
</hints>
</connection>
</connections>
</ui> </ui>