Merge pull request #121 from mammonsama666/0202-dev

fix bugs
This commit is contained in:
iaom 2021-02-02 14:12:00 +08:00 committed by GitHub
commit 88725b8c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 183 additions and 112 deletions

3
debian/control vendored
View File

@ -16,7 +16,8 @@ Build-Depends: debhelper (>=9.0.0),
libkf5windowsystem-dev,
libgsettings-qt-dev,
libqt5x11extras5-dev,
libuchardet-dev
libuchardet-dev,
qtwebengine5-dev
Standards-Version: 4.5.0
Homepage: https://www.ukui.org/
Vcs-Git: https://github.com/ukui/ukui-search.git

View File

@ -28,6 +28,8 @@ ContentWidget::ContentWidget(QWidget * parent):QStackedWidget(parent)
{
initUI();
initListView();
// m_quicklyOpenList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"Background/背景/更改壁纸";
m_quicklyOpenList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"/usr/share/applications/ksc-defender.desktop";
}
ContentWidget::~ContentWidget()
@ -236,6 +238,7 @@ void ContentWidget::setupConnect(SearchListView * listview) {
m_detailView->setContent(m_contentDetailList.at(listview->currentIndex().row()), m_keyword);
}
m_detailView->setupWidget(type, path);
// m_detailView->setWebWidget(this->m_keyword);
listview->is_current_list = true;
Q_EMIT this->currentItemChanged();
listview->is_current_list = false;
@ -308,11 +311,9 @@ void ContentWidget::initHomePage() {
commonlyList = map.value("Commonly");
QStringList recentlyList;
recentlyList = map.value("Recently");
QStringList quicklyList;
quicklyList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"Background/背景/更改壁纸";
lists.append(commonlyList);
lists.append(recentlyList);
lists.append(quicklyList);
lists.append(m_quicklyOpenList);
for (int i = 0; i < lists.count(); i++) {
if (lists.at(i).isEmpty())
@ -340,17 +341,22 @@ void ContentWidget::initHomePage() {
layout->setSpacing(8);
layout->setContentsMargins(0, 0, 0, 0);
itemWidget->setLayout(layout);
int shownItem = lists.at(i).length();
Q_FOREACH(QString path, lists.at(i)){
if (i && QString::compare(FileUtils::getAppName(path),"Unknown App") == 0) {
shownItem --;
continue;
}
HomePageItem * item = new HomePageItem(itemWidget, i, path);
item->setFixedSize(100, 100);
layout->addWidget(item);
}
for (int j = 0; j < 5 - lists.at(i).length(); j++) {
for (int j = 0; j < 5 - shownItem; j++) {
QWidget * emptyItem = new QWidget(itemWidget);
emptyItem->setFixedSize(108, 108); //占位用widget,少于4项会补全后方占位
emptyItem->setFixedSize(100, 100); //占位用widget,少于5项会补全后方占位
layout->addWidget(emptyItem);
}
if (i) titleLabel->setText(tr("Open Quickly"));
if (i && shownItem) titleLabel->setText(tr("Open Quickly"));
else titleLabel->setText(tr("Commonly Used"));
}
itemWidgetLyt->setSpacing(6);
@ -650,3 +656,12 @@ void ContentWidget::setKeyword(QString keyword)
m_appListView->setKeyword(keyword);
m_bestListView->setKeyword(keyword);
}
/**
* @brief ContentWidget::setQuicklyOpenList
* @param list
*/
void ContentWidget::setQuicklyOpenList(const QStringList & list)
{
m_quicklyOpenList = list;
}

View File

@ -44,6 +44,7 @@ public:
void initHomePage();
void setContentList(const QStringList&);
void setKeyword(QString);
void setQuicklyOpenList(const QStringList &);
private:
void initUI();
void initListView();
@ -88,6 +89,7 @@ private:
QStringList m_dirList;
QStringList m_fileList;
QStringList m_contentList;
QStringList m_quicklyOpenList;
int m_currentType = 0;

View File

@ -43,7 +43,6 @@ SearchDetailView::SearchDetailView(QWidget *parent) : QWidget(parent)
SearchDetailView::~SearchDetailView()
{
if (m_layout) {
clearLayout();
delete m_layout;
m_layout = NULL;
}
@ -108,6 +107,23 @@ int SearchDetailView::getType()
return m_type;
}
/**
* @brief SearchDetailView::setWebWidget
* @param keyword
*/
//void SearchDetailView::setWebWidget(const QString& keyword)
//{
// QWebEngineView * m_webView = new QWebEngineView(this);
// m_webView->move(0, 0);
// m_webView->setFixedSize(360, 522);
// m_isEmpty = false;
// clearLayout();
// QString str = "http://m.baidu.com/s?word=" + keyword;
// m_webView->load(str);
// m_webView->show();
//}
QString SearchDetailView::getHtmlText(const QString & text, const QString & keyword) {
QString htmlString;
bool boldOpenned = false;
@ -404,6 +420,8 @@ void SearchDetailView::initUI()
m_layout->addStretch();
this->clearLayout(); //初始化时隐藏所有控件
}

View File

@ -22,6 +22,7 @@
#define SEARCHDETAILVIEW_H
#include <QWidget>
#include <QWebEngineView>
#include "option-view.h"
class SearchDetailView : public QWidget
@ -36,6 +37,7 @@ public:
void setContent(const QString&, const QString&);
bool isEmpty();
int getType();
// void setWebWidget(const QString&);
protected:
void paintEvent(QPaintEvent *);

View File

@ -72,6 +72,7 @@ MainWindow::MainWindow(QWidget *parent) :
this->setAutoFillBackground(false);
this->setFocusPolicy(Qt::StrongFocus);
this->setSizePolicy(QSizePolicy::Minimum,QSizePolicy::Minimum);
this->setWindowTitle(tr("ukui-search"));
initUi();
QPainterPath path;
@ -234,6 +235,7 @@ void MainWindow::initUi()
});
//初始化homepage
// m_contentFrame->setQuicklyOpenList(list); //如需自定义快捷打开使用本函数
m_contentFrame->initHomePage();
}

View File

@ -34,6 +34,7 @@ extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int tran
SettingsWidget::SettingsWidget(QWidget *parent) : QDialog(parent)
{
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
this->setWindowTitle(tr("ukui-search"));
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
this->setAttribute(Qt::WA_TranslucentBackground);
initUi();

View File

@ -1,4 +1,4 @@
QT += core gui dbus KWindowSystem xml x11extras
QT += core gui dbus KWindowSystem xml x11extras webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

View File

@ -65,12 +65,17 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="110"/>
<location filename="../../src/mainwindow.cpp" line="71"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="111"/>
<source>Global Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="164"/>
<location filename="../../src/mainwindow.cpp" line="165"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
@ -106,7 +111,7 @@
<context>
<name>QObject</name>
<message>
<location filename="../../src/main.cpp" line="145"/>
<location filename="../../src/main.cpp" line="144"/>
<source>ukui-search is already running!</source>
<translation type="unfinished"></translation>
</message>
@ -122,22 +127,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
<source>Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
<source>Last time modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
<source>Document</source>
<translation type="unfinished"></translation>
</message>
@ -145,121 +150,126 @@
<context>
<name>SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="48"/>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="264"/>
<location filename="../../src/settings-widget.cpp" line="353"/>
<location filename="../../src/settings-widget.cpp" line="49"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<location filename="../../src/settings-widget.cpp" line="269"/>
<location filename="../../src/settings-widget.cpp" line="358"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="78"/>
<location filename="../../src/settings-widget.cpp" line="80"/>
<location filename="../../src/settings-widget.cpp" line="79"/>
<location filename="../../src/settings-widget.cpp" line="81"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="90"/>
<location filename="../../src/settings-widget.cpp" line="91"/>
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="99"/>
<location filename="../../src/settings-widget.cpp" line="100"/>
<source>Add ignored folders</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="122"/>
<location filename="../../src/settings-widget.cpp" line="123"/>
<source>Please select search engine you preferred.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="135"/>
<location filename="../../src/settings-widget.cpp" line="136"/>
<source>baidu</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="137"/>
<location filename="../../src/settings-widget.cpp" line="138"/>
<source>sougou</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="139"/>
<location filename="../../src/settings-widget.cpp" line="140"/>
<source>360</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="336"/>
<location filename="../../src/settings-widget.cpp" line="341"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="275"/>
<location filename="../../src/settings-widget.cpp" line="280"/>
<source>Creating ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="71"/>
<location filename="../../src/settings-widget.cpp" line="17"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="72"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="76"/>
<location filename="../../src/settings-widget.cpp" line="77"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="88"/>
<location filename="../../src/settings-widget.cpp" line="89"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="120"/>
<location filename="../../src/settings-widget.cpp" line="121"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<source>Whether to delete this directory?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="278"/>
<location filename="../../src/settings-widget.cpp" line="283"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="286"/>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>Index Entry: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="330"/>
<location filename="../../src/settings-widget.cpp" line="335"/>
<source>Directories</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="331"/>
<location filename="../../src/settings-widget.cpp" line="336"/>
<source>select blocked folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="332"/>
<location filename="../../src/settings-widget.cpp" line="337"/>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="333"/>
<location filename="../../src/settings-widget.cpp" line="338"/>
<source>Position: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="334"/>
<location filename="../../src/settings-widget.cpp" line="339"/>
<source>FileName: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="335"/>
<location filename="../../src/settings-widget.cpp" line="340"/>
<source>FileType: </source>
<translation type="unfinished"></translation>
</message>

View File

@ -65,12 +65,17 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="110"/>
<location filename="../../src/mainwindow.cpp" line="71"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="111"/>
<source>Global Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="164"/>
<location filename="../../src/mainwindow.cpp" line="165"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
@ -106,7 +111,7 @@
<context>
<name>QObject</name>
<message>
<location filename="../../src/main.cpp" line="145"/>
<location filename="../../src/main.cpp" line="144"/>
<source>ukui-search is already running!</source>
<translation type="unfinished"></translation>
</message>
@ -122,22 +127,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
<source>Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
<source>Last time modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
<source>Document</source>
<translation type="unfinished"></translation>
</message>
@ -145,121 +150,126 @@
<context>
<name>SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="48"/>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="264"/>
<location filename="../../src/settings-widget.cpp" line="353"/>
<location filename="../../src/settings-widget.cpp" line="49"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<location filename="../../src/settings-widget.cpp" line="269"/>
<location filename="../../src/settings-widget.cpp" line="358"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="78"/>
<location filename="../../src/settings-widget.cpp" line="80"/>
<location filename="../../src/settings-widget.cpp" line="79"/>
<location filename="../../src/settings-widget.cpp" line="81"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="90"/>
<location filename="../../src/settings-widget.cpp" line="91"/>
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="99"/>
<location filename="../../src/settings-widget.cpp" line="100"/>
<source>Add ignored folders</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="122"/>
<location filename="../../src/settings-widget.cpp" line="123"/>
<source>Please select search engine you preferred.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="135"/>
<location filename="../../src/settings-widget.cpp" line="136"/>
<source>baidu</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="137"/>
<location filename="../../src/settings-widget.cpp" line="138"/>
<source>sougou</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="139"/>
<location filename="../../src/settings-widget.cpp" line="140"/>
<source>360</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="336"/>
<location filename="../../src/settings-widget.cpp" line="341"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="275"/>
<location filename="../../src/settings-widget.cpp" line="280"/>
<source>Creating ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="71"/>
<location filename="../../src/settings-widget.cpp" line="17"/>
<source>ukui-search</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="72"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="76"/>
<location filename="../../src/settings-widget.cpp" line="77"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="88"/>
<location filename="../../src/settings-widget.cpp" line="89"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="120"/>
<location filename="../../src/settings-widget.cpp" line="121"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<source>Whether to delete this directory?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="278"/>
<location filename="../../src/settings-widget.cpp" line="283"/>
<source>Done</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="286"/>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>Index Entry: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="330"/>
<location filename="../../src/settings-widget.cpp" line="335"/>
<source>Directories</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="331"/>
<location filename="../../src/settings-widget.cpp" line="336"/>
<source>select blocked folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="332"/>
<location filename="../../src/settings-widget.cpp" line="337"/>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="333"/>
<location filename="../../src/settings-widget.cpp" line="338"/>
<source>Position: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="334"/>
<location filename="../../src/settings-widget.cpp" line="339"/>
<source>FileName: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="335"/>
<location filename="../../src/settings-widget.cpp" line="340"/>
<source>FileType: </source>
<translation type="unfinished"></translation>
</message>

View File

@ -65,12 +65,17 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../../src/mainwindow.cpp" line="110"/>
<location filename="../../src/mainwindow.cpp" line="71"/>
<source>ukui-search</source>
<translation></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="111"/>
<source>Global Search</source>
<translation></translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="164"/>
<location filename="../../src/mainwindow.cpp" line="165"/>
<source>Search</source>
<translation></translation>
</message>
@ -106,7 +111,7 @@
<context>
<name>QObject</name>
<message>
<location filename="../../src/main.cpp" line="145"/>
<location filename="../../src/main.cpp" line="144"/>
<source>ukui-search is already running!</source>
<translation></translation>
</message>
@ -122,22 +127,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="340"/>
<location filename="../../src/control/search-detail-view.cpp" line="372"/>
<source>Path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="348"/>
<location filename="../../src/control/search-detail-view.cpp" line="380"/>
<source>Last time modified</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="179"/>
<location filename="../../src/control/search-detail-view.cpp" line="208"/>
<source>Application</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="190"/>
<location filename="../../src/control/search-detail-view.cpp" line="220"/>
<source>Document</source>
<translation></translation>
</message>
@ -145,121 +150,126 @@
<context>
<name>SettingsWidget</name>
<message>
<location filename="../../src/settings-widget.cpp" line="48"/>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="264"/>
<location filename="../../src/settings-widget.cpp" line="353"/>
<location filename="../../src/settings-widget.cpp" line="49"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<location filename="../../src/settings-widget.cpp" line="269"/>
<location filename="../../src/settings-widget.cpp" line="358"/>
<source>Search</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="71"/>
<location filename="../../src/settings-widget.cpp" line="72"/>
<source>&lt;h2&gt;Settings&lt;/h2&gt;</source>
<translation>&lt;h2&gt;&lt;/h2&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="76"/>
<location filename="../../src/settings-widget.cpp" line="77"/>
<source>&lt;h3&gt;Index State&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="78"/>
<location filename="../../src/settings-widget.cpp" line="80"/>
<location filename="../../src/settings-widget.cpp" line="79"/>
<location filename="../../src/settings-widget.cpp" line="81"/>
<source>...</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="88"/>
<location filename="../../src/settings-widget.cpp" line="89"/>
<source>&lt;h3&gt;File Index Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="90"/>
<location filename="../../src/settings-widget.cpp" line="91"/>
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="99"/>
<location filename="../../src/settings-widget.cpp" line="100"/>
<source>Add ignored folders</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="120"/>
<location filename="../../src/settings-widget.cpp" line="121"/>
<source>&lt;h3&gt;Search Engine Settings&lt;/h3&gt;</source>
<translation>&lt;h3&gt;&lt;/h3&gt;</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="122"/>
<location filename="../../src/settings-widget.cpp" line="123"/>
<source>Please select search engine you preferred.</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="135"/>
<location filename="../../src/settings-widget.cpp" line="136"/>
<source>baidu</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="137"/>
<location filename="../../src/settings-widget.cpp" line="138"/>
<source>sougou</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="139"/>
<location filename="../../src/settings-widget.cpp" line="140"/>
<source>360</source>
<translation>360</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="242"/>
<location filename="../../src/settings-widget.cpp" line="247"/>
<source>Whether to delete this directory?</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="336"/>
<location filename="../../src/settings-widget.cpp" line="341"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="275"/>
<location filename="../../src/settings-widget.cpp" line="280"/>
<source>Creating ...</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="278"/>
<location filename="../../src/settings-widget.cpp" line="17"/>
<source>ukui-search</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="283"/>
<source>Done</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="286"/>
<location filename="../../src/settings-widget.cpp" line="291"/>
<source>Index Entry: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="330"/>
<location filename="../../src/settings-widget.cpp" line="335"/>
<source>Directories</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="331"/>
<location filename="../../src/settings-widget.cpp" line="336"/>
<source>select blocked folder</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="332"/>
<location filename="../../src/settings-widget.cpp" line="337"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="333"/>
<location filename="../../src/settings-widget.cpp" line="338"/>
<source>Position: </source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="334"/>
<location filename="../../src/settings-widget.cpp" line="339"/>
<source>FileName: </source>
<translation></translation>
</message>
<message>
<location filename="../../src/settings-widget.cpp" line="335"/>
<location filename="../../src/settings-widget.cpp" line="340"/>
<source>FileType: </source>
<translation></translation>
</message>
@ -276,7 +286,7 @@
<message>
<location filename="../../src/control/show-more-label.cpp" line="56"/>
<source>Retract</source>
<translation>&lt;u&gt;&lt;</translation>
<translation></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="67"/>