2010-09-12 20:27:50 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>SearchDialog</class>
|
|
|
|
<widget class="QWidget" name="SearchDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2013-02-22 16:42:27 -05:00
|
|
|
<width>758</width>
|
|
|
|
<height>339</height>
|
2010-09-12 20:27:50 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>1</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2013-02-22 16:42:27 -05:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
2012-08-26 16:31:10 -04:00
|
|
|
<widget class="QFrame" name="titleBarFrame">
|
2010-09-12 20:27:50 -04:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2012-08-26 16:31:10 -04:00
|
|
|
<property name="frameShape">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Box</enum>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
2012-08-26 16:31:10 -04:00
|
|
|
<property name="frameShadow">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Sunken</enum>
|
2012-08-26 16:31:10 -04:00
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<property name="margin">
|
|
|
|
<number>2</number>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
2012-08-26 16:31:10 -04:00
|
|
|
<item>
|
2010-09-12 20:27:50 -04:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="QFrame" name="searchLineFrame">
|
2010-09-12 20:27:50 -04:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>22</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>22</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="verticalSpacing">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
2012-08-26 16:31:10 -04:00
|
|
|
<widget class="LineEditClear" name="lineEdit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enter a keyword here (at least 3 char long)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-09-12 20:27:50 -04:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="QPushButton" name="pushButtonSearch">
|
2011-03-02 17:16:04 -05:00
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
2010-09-12 20:27:50 -04:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Start Search</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Search</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2012-08-26 16:31:10 -04:00
|
|
|
<item>
|
2013-02-22 16:42:27 -05:00
|
|
|
<widget class="QPushButton" name="toggleAdvancedSearchBtn">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Advanced Search</string>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
2013-02-22 16:42:27 -05:00
|
|
|
<property name="text">
|
|
|
|
<string>Advanced</string>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
2013-02-22 16:42:27 -05:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="_friendListsearch_SB">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Search inside "browsable" files of your friends</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Browsable files</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
2013-02-22 16:42:27 -05:00
|
|
|
</widget>
|
2010-09-12 20:27:50 -04:00
|
|
|
</item>
|
2012-08-26 16:31:10 -04:00
|
|
|
<item>
|
2013-02-22 16:42:27 -05:00
|
|
|
<widget class="QCheckBox" name="_anonF2Fsearch_CB">
|
2010-09-12 20:27:50 -04:00
|
|
|
<property name="toolTip">
|
2013-02-22 16:42:27 -05:00
|
|
|
<string>Multi-hop search at distance 6 in the network
|
|
|
|
(always reports available files)</string>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2013-02-22 16:42:27 -05:00
|
|
|
<string>Distant</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="_ownFiles_CB">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Include files from your own file list in the search result</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Own files</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="cloaseallsearchresultsButton">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Close all Search Results</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Clear</string>
|
2010-09-12 20:27:50 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-02-22 16:42:27 -05:00
|
|
|
<item>
|
2010-09-12 20:27:50 -04:00
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<widget class="QTreeWidget" name="searchSummaryWidget">
|
|
|
|
<property name="sizePolicy">
|
2013-02-22 16:42:27 -05:00
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Minimum">
|
2010-09-12 20:27:50 -04:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>1</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</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="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>9</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="mouseTracking">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="contextMenuPolicy">
|
|
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>KeyWords</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Results</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Search Id</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
2013-02-22 16:42:27 -05:00
|
|
|
<widget class="QWidget" name="">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
2011-02-16 15:07:06 -05:00
|
|
|
<widget class="SearchTreeWidget" name="searchResultWidget">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>9</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="contextMenuPolicy">
|
|
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
|
|
</property>
|
|
|
|
<property name="dragEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="dragDropMode">
|
|
|
|
<enum>QAbstractItemView::DragOnly</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Filename</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Size</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Sources</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Type</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Age</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Hash</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-02-22 16:42:27 -05:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Filter:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="LineEditClear" name="filterLineEdit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Filter Search Result</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Max results:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="_max_results_SB">
|
|
|
|
<property name="suffix">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>5000</number>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>1000</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="FileTypeComboBox">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Any</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeAny.png</normaloff>:/images/FileTypeAny.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Archive</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeArchive.png</normaloff>:/images/FileTypeArchive.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Audio</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeAudio.png</normaloff>:/images/FileTypeAudio.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>CD-Image</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeCDImage.png</normaloff>:/images/FileTypeCDImage.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Document</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeDocument.png</normaloff>:/images/FileTypeDocument.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Picture</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypePicture.png</normaloff>:/images/FileTypePicture.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Program</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeProgram.png</normaloff>:/images/FileTypeProgram.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Video</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/FileTypeVideo.png</normaloff>:/images/FileTypeVideo.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Directory</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/folder16.png</normaloff>:/images/folder16.png</iconset>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButtonDownload">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>120</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Download Selected</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Download selected</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/download16.png</normaloff>:/images/download16.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2012-10-29 06:59:26 -04:00
|
|
|
</item>
|
2011-02-16 15:07:06 -05:00
|
|
|
</layout>
|
2010-09-12 20:27:50 -04:00
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
2012-04-05 17:03:03 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>LineEditClear</class>
|
|
|
|
<extends>QLineEdit</extends>
|
2012-10-29 06:59:26 -04:00
|
|
|
<header location="global">gui/common/LineEditClear.h</header>
|
2012-04-05 17:03:03 -04:00
|
|
|
</customwidget>
|
2012-08-22 09:44:23 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>SearchTreeWidget</class>
|
|
|
|
<extends>QTreeWidget</extends>
|
|
|
|
<header>gui/SearchTreeWidget.h</header>
|
|
|
|
</customwidget>
|
2010-09-12 20:27:50 -04:00
|
|
|
</customwidgets>
|
|
|
|
<resources>
|
|
|
|
<include location="images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|