mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
976aadc1b3
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
1442 lines
39 KiB
XML
1442 lines
39 KiB
XML
<?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>
|
|
<width>574</width>
|
|
<height>329</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>1</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>208</red>
|
|
<green>208</green>
|
|
<blue>208</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>247</red>
|
|
<green>247</green>
|
|
<blue>247</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>104</red>
|
|
<green>104</green>
|
|
<blue>104</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>139</red>
|
|
<green>139</green>
|
|
<blue>139</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>240</red>
|
|
<green>240</green>
|
|
<blue>240</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>128</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Link">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="LinkVisited">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>231</red>
|
|
<green>231</green>
|
|
<blue>231</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>208</red>
|
|
<green>208</green>
|
|
<blue>208</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>247</red>
|
|
<green>247</green>
|
|
<blue>247</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>104</red>
|
|
<green>104</green>
|
|
<blue>104</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>139</red>
|
|
<green>139</green>
|
|
<blue>139</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>240</red>
|
|
<green>240</green>
|
|
<blue>240</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>192</red>
|
|
<green>192</green>
|
|
<blue>192</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Link">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="LinkVisited">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>231</red>
|
|
<green>231</green>
|
|
<blue>231</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>208</red>
|
|
<green>208</green>
|
|
<blue>208</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>247</red>
|
|
<green>247</green>
|
|
<blue>247</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>104</red>
|
|
<green>104</green>
|
|
<blue>104</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>139</red>
|
|
<green>139</green>
|
|
<blue>139</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>240</red>
|
|
<green>240</green>
|
|
<blue>240</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>240</red>
|
|
<green>240</green>
|
|
<blue>240</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>128</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Link">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="LinkVisited">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>0</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>231</red>
|
|
<green>231</green>
|
|
<blue>231</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Arial</family>
|
|
<pointsize>8</pointsize>
|
|
<weight>50</weight>
|
|
<italic>false</italic>
|
|
<bold>false</bold>
|
|
<underline>false</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<property name="horizontalSpacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="3">
|
|
<widget class="QFrame" name="frame">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>32</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>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="horizontalSpacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="FileTypeComboBox">
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton, QPushButton, QComboBox {
|
|
border-image: url(:/images/btn_26.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
*{
|
|
color: black;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color:white;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/images/combobox_arrow.png);
|
|
}
|
|
|
|
QComboBox:drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
|
|
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
|
border-image: url(:/images/btn_26_hover.png) 4;
|
|
}
|
|
|
|
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
|
color:gray;
|
|
}
|
|
|
|
QToolButton:pressed, QPushButton:pressed{
|
|
border-image: url(:/images/btn_26_pressed.png) 4;
|
|
}
|
|
</string>
|
|
</property>
|
|
<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 row="0" column="2">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>13</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="searchlineframe">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame#searchlineframe{border: 2px solid #079E00;
|
|
background: white;}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</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="1">
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>3</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1677777</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Enter a Keyword here</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QLineEdit#lineEdit{background: transparent;
|
|
border: none;}
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="resetButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Reset</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
border-image: url(:/images/closenormal.png)
|
|
}
|
|
|
|
QPushButton:hover
|
|
{
|
|
border-image: url(:/images/closehover.png)
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
border-image: url(:/images/closepressed.png)
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</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="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</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>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButtonsearch">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Start Search</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
border-image: url(:/images/btn1.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
*{
|
|
color: black;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
border-image: url(:/images/btn2.png) 4;
|
|
}
|
|
|
|
QPushButton:pressed{
|
|
border-image: url(:/images/btn3.png) 4;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Search</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Minimum</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>50</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<widget class="QPushButton" name="toggleAdvancedSearchBtn">
|
|
<property name="toolTip">
|
|
<string>Advanced Search</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton, QPushButton, QComboBox {
|
|
border-image: url(:/images/btn_26.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
*{
|
|
color: black;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color:white;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/images/combobox_arrow.png);
|
|
}
|
|
|
|
QComboBox:drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
|
|
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
|
border-image: url(:/images/btn_26_hover.png) 4;
|
|
}
|
|
|
|
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
|
color:gray;
|
|
}
|
|
|
|
QToolButton:pressed, QPushButton:pressed{
|
|
border-image: url(:/images/btn_26_pressed.png) 4;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Advanced</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QTreeWidget" name="searchSummaryWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<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>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="images.qrc">:/images/find-16.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="filterPatternLineEdit">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter Search Result</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="clearButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>MS Shell Dlg 2</family>
|
|
</font>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clear Filter</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
border-image: url(:/images/closenormal.png)
|
|
}
|
|
|
|
QPushButton:hover
|
|
{
|
|
border-image: url(:/images/closehover.png)
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
border-image: url(:/images/closepressed.png)
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="filterColumnComboBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>MS Shell Dlg 2</family>
|
|
</font>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>File Name</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>File Size</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QPushButton" name="cloaseallsearchresultsButton">
|
|
<property name="toolTip">
|
|
<string>Close all Search Resullts</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton, QPushButton, QComboBox {
|
|
border-image: url(:/images/btn_26.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
*{
|
|
color: black;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color:white;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/images/combobox_arrow.png);
|
|
}
|
|
|
|
QComboBox:drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
|
|
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
|
border-image: url(:/images/btn_26_hover.png) 4;
|
|
}
|
|
|
|
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
|
color:gray;
|
|
}
|
|
|
|
QToolButton:pressed, QPushButton:pressed{
|
|
border-image: url(:/images/btn_26_pressed.png) 4;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close All Search Results</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>29</width>
|
|
<height>17</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<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="styleSheet">
|
|
<string notr="true">QToolButton, QPushButton, QComboBox {
|
|
border-image: url(:/images/btn_26.png) 4;
|
|
border-width: 4;
|
|
padding: 0px 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
*{
|
|
color: black;
|
|
}
|
|
|
|
QComboBox QAbstractItemView {
|
|
background-color:white;
|
|
}
|
|
|
|
QComboBox::down-arrow {
|
|
image: url(:/images/combobox_arrow.png);
|
|
}
|
|
|
|
QComboBox:drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-left-style: none;
|
|
border-top-right-radius: 1px;
|
|
border-bottom-right-radius: 1px;
|
|
}
|
|
|
|
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
|
border-image: url(:/images/btn_26_hover.png) 4;
|
|
}
|
|
|
|
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
|
color:gray;
|
|
}
|
|
|
|
QToolButton:pressed, QPushButton:pressed{
|
|
border-image: url(:/images/btn_26_pressed.png) 4;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Download</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/images/download16.png</normaloff>:/images/download16.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="3">
|
|
<widget class="QFrame" name="frame_3">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>38</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QFrame#frame_3{
|
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
|
stop:0 #FEFEFE, stop:1 #E8E8E8);
|
|
border-radius: 10px;
|
|
border: 2px solid #CCCCCC;}</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<property name="horizontalSpacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>3</number>
|
|
</property>
|
|
<item row="1" column="0">
|
|
<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>Include own files</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="_friendListsearch_SB">
|
|
<property name="toolTip">
|
|
<string>Search inside "browsable" files of your friends</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Search in friends lists</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QCheckBox" name="_anonF2Fsearch_CB">
|
|
<property name="toolTip">
|
|
<string>Multi-hop search at distance 6 in the network
|
|
(always reports available files)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>F2F search</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Limit number of results to :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<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 row="1" column="5">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>SearchTreeWidget</class>
|
|
<extends>QTreeWidget</extends>
|
|
<header>gui/SearchTreeWidget.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|