mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
[Search] minor cleanups
This commit is contained in:
parent
43d52026b7
commit
2d6669b88d
@ -16,7 +16,7 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Search plugins</string>
|
<string>Search plugins</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout">
|
<layout class="QVBoxLayout" name="pluginSelectLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="lbl_plugins">
|
<widget class="QLabel" name="lbl_plugins">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@ -82,16 +82,13 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>You can get new search engine plugins here: <a href="http://plugins.qbittorrent.org">http://plugins.qbittorrent.org</a></string>
|
<string>You can get new search engine plugins here: <a href="http://plugins.qbittorrent.org">http://plugins.qbittorrent.org</a></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="textFormat">
|
|
||||||
<enum>Qt::AutoText</enum>
|
|
||||||
</property>
|
|
||||||
<property name="openExternalLinks">
|
<property name="openExternalLinks">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout">
|
<layout class="QHBoxLayout" name="layout1">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="installButton">
|
<widget class="QPushButton" name="installButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
<ui version="4.0" >
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
<class>PluginSourceDlg</class>
|
<class>PluginSourceDlg</class>
|
||||||
<widget class="QDialog" name="PluginSourceDlg" >
|
<widget class="QDialog" name="PluginSourceDlg">
|
||||||
<property name="geometry" >
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
@ -9,36 +10,36 @@
|
|||||||
<height>76</height>
|
<height>76</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle" >
|
<property name="windowTitle">
|
||||||
<string>Plugin source</string>
|
<string>Plugin source</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" >
|
<layout class="QVBoxLayout" name="pluginSourceLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="source_lbl" >
|
<widget class="QLabel" name="source_lbl">
|
||||||
<property name="font" >
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
<bold>true</bold>
|
<bold>true</bold>
|
||||||
<underline>true</underline>
|
<underline>true</underline>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>Search plugin source:</string>
|
<string>Search plugin source:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" >
|
<layout class="QHBoxLayout" name="layout1">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="localButton" >
|
<widget class="QPushButton" name="localButton">
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>Local file</string>
|
<string>Local file</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="urlButton" >
|
<widget class="QPushButton" name="urlButton">
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>Web link</string>
|
<string>Web link</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -108,7 +108,6 @@ SearchWidget::SearchWidget(MainWindow *mainWindow)
|
|||||||
goToDescBtn->setIcon(GuiIconProvider::instance()->getIcon("application-x-mswinurl"));
|
goToDescBtn->setIcon(GuiIconProvider::instance()->getIcon("application-x-mswinurl"));
|
||||||
pluginsButton->setIcon(GuiIconProvider::instance()->getIcon("preferences-system-network"));
|
pluginsButton->setIcon(GuiIconProvider::instance()->getIcon("preferences-system-network"));
|
||||||
copyURLBtn->setIcon(GuiIconProvider::instance()->getIcon("edit-copy"));
|
copyURLBtn->setIcon(GuiIconProvider::instance()->getIcon("edit-copy"));
|
||||||
tabWidget->setTabsClosable(true);
|
|
||||||
connect(tabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
|
connect(tabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
|
||||||
|
|
||||||
m_searchEngine = new SearchEngine;
|
m_searchEngine = new SearchEngine;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1382</width>
|
<width>843</width>
|
||||||
<height>669</height>
|
<height>669</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -24,6 +24,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="searchButton">
|
<widget class="QPushButton" name="searchButton">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Search</string>
|
<string>Search</string>
|
||||||
</property>
|
</property>
|
||||||
@ -33,69 +39,62 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="sizePolicy">
|
<property name="tabsClosable">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
<bool>true</bool>
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>1</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout">
|
<layout class="QHBoxLayout" name="layout2">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout">
|
<widget class="QPushButton" name="downloadButton">
|
||||||
<item>
|
<property name="enabled">
|
||||||
<widget class="QPushButton" name="downloadButton">
|
<bool>false</bool>
|
||||||
<property name="enabled">
|
</property>
|
||||||
<bool>false</bool>
|
<property name="text">
|
||||||
</property>
|
<string>Download</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Download</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item>
|
||||||
</item>
|
<widget class="QPushButton" name="goToDescBtn">
|
||||||
<item>
|
<property name="enabled">
|
||||||
<widget class="QPushButton" name="goToDescBtn">
|
<bool>false</bool>
|
||||||
<property name="enabled">
|
</property>
|
||||||
<bool>false</bool>
|
<property name="text">
|
||||||
</property>
|
<string>Go to description page</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Go to description page</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item>
|
||||||
</item>
|
<widget class="QPushButton" name="copyURLBtn">
|
||||||
<item>
|
<property name="enabled">
|
||||||
<widget class="QPushButton" name="copyURLBtn">
|
<bool>false</bool>
|
||||||
<property name="enabled">
|
</property>
|
||||||
<bool>false</bool>
|
<property name="text">
|
||||||
</property>
|
<string>Copy description page URL</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Copy description page URL</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item>
|
||||||
</item>
|
<spacer name="spacer2">
|
||||||
<item>
|
<property name="orientation">
|
||||||
<spacer>
|
<enum>Qt::Horizontal</enum>
|
||||||
<property name="orientation">
|
</property>
|
||||||
<enum>Qt::Horizontal</enum>
|
<property name="sizeHint" stdset="0">
|
||||||
</property>
|
<size>
|
||||||
<property name="sizeHint" stdset="0">
|
<width>0</width>
|
||||||
<size>
|
<height>0</height>
|
||||||
<width>601</width>
|
</size>
|
||||||
<height>20</height>
|
</property>
|
||||||
</size>
|
</spacer>
|
||||||
</property>
|
</item>
|
||||||
</spacer>
|
<item>
|
||||||
</item>
|
<widget class="QPushButton" name="pluginsButton">
|
||||||
<item>
|
<property name="text">
|
||||||
<widget class="QPushButton" name="pluginsButton">
|
<string>Search plugins...</string>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Search plugins...</string>
|
</widget>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user