Merge pull request #146 from mammonsama666/0222-dev

feat(frontend): Add web searching & web engine settings.
This commit is contained in:
iaom 2021-02-24 08:44:04 +08:00 committed by GitHub
commit 05d1f4143d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 280 additions and 105 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

@ -38,6 +38,7 @@
#define CONTENT_INDEX_DATABASE_STATE "content_index_database_state"
#define INDEX_GENERATOR_NORMAL_EXIT "index_generator_normal_exit"
#define INOTIFY_NORMAL_EXIT "inotify_normal_exit"
#define WEB_ENGINE "web_engine"
#define PATH_EMPTY 1;
#define PATH_NOT_IN_HOME 2;
#define PATH_PARENT_BLOCKED 3;

View File

@ -105,12 +105,14 @@ void ContentWidget::initListView()
m_settingListView = new SearchListView(m_resultList, QStringList(), SearchItem::SearchType::Settings);
m_appListView = new SearchListView(m_resultList, QStringList(), SearchItem::SearchType::Apps);
m_bestListView = new SearchListView(m_resultList, QStringList(), SearchItem::SearchType::Best);
m_webListView = new SearchListView(m_resultList, QStringList(), SearchItem::SearchType::Web);
setupConnect(m_fileListView);
setupConnect(m_dirListView);
setupConnect(m_contentListView);
setupConnect(m_settingListView);
setupConnect(m_appListView);
setupConnect(m_bestListView);
setupConnect(m_webListView);
m_fileTitleLabel = new TitleLabel(m_resultList);
m_fileTitleLabel->setText(getTitleName(SearchItem::SearchType::Files));
@ -124,6 +126,8 @@ void ContentWidget::initListView()
m_settingTitleLabel->setText(getTitleName(SearchItem::SearchType::Settings));
m_bestTitleLabel = new TitleLabel(m_resultList);
m_bestTitleLabel->setText(getTitleName(SearchItem::SearchType::Best));
m_webTitleLabel = new TitleLabel(m_resultList);
m_webTitleLabel->setText(getTitleName(SearchItem::SearchType::Web));
m_appShowMoreLabel = new ShowMoreLabel(m_resultList);
m_settingShowMoreLabel = new ShowMoreLabel(m_resultList);
@ -148,6 +152,8 @@ void ContentWidget::initListView()
m_listLyt->addWidget(m_contentTitleLabel);
m_listLyt->addWidget(m_contentListView);
m_listLyt->addWidget(m_contentShowMoreLabel);
m_listLyt->addWidget(m_webTitleLabel);
m_listLyt->addWidget(m_webListView);
this->hideListView();
m_resultList->setFixedHeight(0);
@ -226,6 +232,8 @@ void ContentWidget::hideListView()
m_contentTitleLabel->hide();
m_contentListView->hide();
m_contentShowMoreLabel->hide();
m_webTitleLabel->hide();
m_webListView->hide();
}
/**
@ -248,8 +256,11 @@ void ContentWidget::setupConnect(SearchListView * listview) {
} else {
m_detailView->isContent = false;
}
if (type == SearchItem::SearchType::Web) {
m_detailView->setWebWidget(this->m_keyword);
} else {
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,6 +319,10 @@ void ContentWidget::resetListHeight()
height += m_contentShowMoreLabel->height();
}
}
if (! m_webListView->isHidden) {
height += m_webTitleLabel->height();
height += m_webListView->height();
}
m_resultList->setFixedHeight(height);
}
@ -447,6 +462,13 @@ void ContentWidget::refreshSearchList(const QVector<QStringList>& lists) {
m_bestListView->isHidden = true;
m_bestListView->clear();
}
if (m_webListView) {
m_webListView->clear();
m_webListView->appendItem(m_keyword);
m_webTitleLabel->show();
m_webListView->show();
m_webListView->isHidden = false;
}
m_resultList->setFixedHeight(0);
m_detailView->clearLayout();
m_contentDetailList.clear();
@ -639,6 +661,8 @@ QString ContentWidget::getTitleName(const int& type) {
return tr("File Contents");
case SearchItem::SearchType::Best :
return tr("Best Matches");
case SearchItem::SearchType::Web :
return tr("Web Pages");
default :
return tr("Unknown");
}
@ -684,6 +708,7 @@ void ContentWidget::setKeyword(QString keyword)
m_settingListView->setKeyword(keyword);
m_appListView->setKeyword(keyword);
m_bestListView->setKeyword(keyword);
m_webListView->setKeyword(keyword);
}
/**
@ -694,3 +719,11 @@ void ContentWidget::setQuicklyOpenList(const QStringList & list)
{
m_quicklyOpenList = list;
}
/**
* @brief ContentWidget::closeWebView webview未关闭
*/
void ContentWidget::closeWebView()
{
m_detailView->closeWebWidget();
}

View File

@ -45,6 +45,7 @@ public:
void setContentList(const QStringList&);
void setKeyword(QString);
void setQuicklyOpenList(const QStringList &);
void closeWebView();
private:
void initUI();
void initListView();
@ -72,12 +73,14 @@ private:
SearchListView * m_settingListView = nullptr;
SearchListView * m_appListView = nullptr;
SearchListView * m_bestListView = nullptr;
SearchListView * m_webListView = nullptr;
TitleLabel * m_fileTitleLabel = nullptr;
TitleLabel * m_dirTitleLabel = nullptr;
TitleLabel * m_contentTitleLabel = nullptr;
TitleLabel * m_appTitleLabel = nullptr;
TitleLabel * m_settingTitleLabel = nullptr;
TitleLabel * m_bestTitleLabel = nullptr;
TitleLabel * m_webTitleLabel = nullptr;
ShowMoreLabel * m_appShowMoreLabel = nullptr;
ShowMoreLabel * m_settingShowMoreLabel = nullptr;
ShowMoreLabel * m_dirShowMoreLabel = nullptr;

View File

@ -77,6 +77,8 @@ void SearchDetailView::clearLayout() {
m_hLine_2->hide();
m_optionView->hide();
m_isEmpty = true;
closeWebWidget();
// m_reload = false;
}
/**
@ -111,18 +113,60 @@ int SearchDetailView::getType()
* @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();
void SearchDetailView::setWebWidget(const QString& keyword)
{
clearLayout();
m_isEmpty = false;
m_reload = false;
m_webView = new QWebEngineView(this);
//如果使用非手机版百度跳转请使用RequestInterceptor类
// RequestInterceptor * interceptor = new RequestInterceptor(m_webView);
// QWebEngineProfile * profile = new QWebEngineProfile(m_webView);
// profile->setRequestInterceptor(interceptor);
// QWebEnginePage * page = new QWebEnginePage(profile, m_webView);
// m_webView->setPage(page);
m_webView->settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
m_webView->setAttribute(Qt::WA_DeleteOnClose);
m_webView->move(0, 0);
m_webView->setFixedSize(360, 522);
// QString str = "http://m.baidu.com/s?word=" + keyword;
// m_webView->load(str);
// m_webView->show();
//}
connect(m_webView,&QWebEngineView::loadFinished, this, [ = ](){
m_reload = true;
});
connect(m_webView, &QWebEngineView::urlChanged, this, [ = ](const QUrl& url) {
if (m_reload) {
closeWebWidget();
QDesktopServices::openUrl(url);
}
});
QString address;
QString engine = GlobalSettings::getInstance()->getValue(WEB_ENGINE).toString();
if (!engine.isEmpty()) {
if (engine == "360") {
address = "https://m.so.com/s?q=" + keyword; //360
} else if (engine == "sougou") {
address = "https://wap.sogou.com/web/searchList.jsp?&keyword=" + keyword; //搜狗
} else {
address = "http://m.baidu.com/s?word=" + keyword; //百度
}
} else { //默认值
address = "http://m.baidu.com/s?word=" + keyword; //百度
}
// QString str = "http://m.baidu.com/s?word=" + keyword; //百度
// QString str = "https://m.so.com/s?q=" + keyword; //360
// QString str = "https://wap.sogou.com/web/searchList.jsp?&keyword=" + keyword; //搜狗
m_webView->load(address);
m_webView->show();
}
void SearchDetailView::closeWebWidget()
{
if (m_webView) {
m_webView->close();
m_webView = NULL;
}
}
QString SearchDetailView::getHtmlText(const QString & text, const QString & keyword) {
QString htmlString;
@ -430,8 +474,6 @@ void SearchDetailView::initUI()
m_layout->addStretch();
this->clearLayout(); //初始化时隐藏所有控件
}
@ -513,3 +555,14 @@ void SearchDetailView::paintEvent(QPaintEvent *event) {
p.drawRoundedRect(rect, 4, 4);
return QWidget::paintEvent(event);
}
/**
* @brief RequestInterceptor::interceptRequest qwebengineview的Url请求
* @param info
*/
//void RequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo &info)
//{
//当使用PC版搜索引擎时可以使用此方法获取用户点击的链接的url
// QUrl url = info.requestUrl();
// qDebug() <<"Request URL:" <<url;
//}

View File

@ -22,8 +22,13 @@
#define SEARCHDETAILVIEW_H
#include <QWidget>
//#include <QWebEngineView>
#include <QWebEngineView>
#include <QWebEngineSettings>
//#include <QWebEngineProfile>
//#include <QWebEngineUrlRequestInterceptor>
#include <QDesktopServices>
#include "option-view.h"
#include "global-settings.h"
class SearchDetailView : public QWidget
{
@ -38,7 +43,8 @@ public:
bool isEmpty();
int getType();
bool isContent = false;
// void setWebWidget(const QString&);
void setWebWidget(const QString&);
void closeWebWidget();
protected:
void paintEvent(QPaintEvent *);
@ -80,10 +86,21 @@ private:
QFrame * m_hLine_2 = nullptr;
OptionView * m_optionView = nullptr;
QWebEngineView * m_webView = nullptr;
bool m_reload = false;
Q_SIGNALS:
void configFileChanged();
private Q_SLOTS:
void execActions(const int&, const int&, const QString&);
};
//此类用于url拦截
//class RequestInterceptor : public QWebEngineUrlRequestInterceptor
//{
//public:
// explicit RequestInterceptor(QObject * parent = nullptr) : QWebEngineUrlRequestInterceptor(parent) {}
// virtual void interceptRequest(QWebEngineUrlRequestInfo & info) Q_DECL_OVERRIDE;
//};
#endif // SEARCHDETAILVIEW_H

View File

@ -149,6 +149,8 @@ int SearchListView::getCurrentType() {
case SearchItem::SearchType::Contents:
// qDebug()<<"qDebug: One row selected, its type is content.";
return ResType::Content;
case SearchItem::SearchType::Web:
return ResType::Web;
default: //All或者Best的情况需要自己判断文件类型
return getResType(m_item->m_pathlist.at(this->currentIndex().row()));
break;

View File

@ -40,7 +40,8 @@ public:
Setting,
Dir,
File,
Content
Content,
Web
};
int getCurrentType();

View File

@ -382,6 +382,7 @@ bool MainWindow::nativeEvent(const QByteArray &eventType, void *message, long *r
switch (event->response_type & ~0x80) {
case XCB_FOCUS_OUT:
this->hide();
m_contentFrame->closeWebView();
m_search_result_thread->requestInterruption();
m_search_result_thread->quit();
break;
@ -394,6 +395,7 @@ void MainWindow::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_Escape) {
this->hide();
m_contentFrame->closeWebView();
m_search_result_thread->requestInterruption();
m_search_result_thread->quit();
}

View File

@ -41,7 +41,8 @@ public:
Settings,
Dirs,
Files,
Contents
Contents,
Web
};
void setSearchList(const int&, const QStringList&);

View File

@ -40,6 +40,7 @@ SettingsWidget::SettingsWidget(QWidget *parent) : QDialog(parent)
initUi();
refreshIndexState();
setupBlackList(GlobalSettings::getInstance()->getBlockDirs());
resetWebEngine();
}
SettingsWidget::~SettingsWidget()
@ -170,12 +171,25 @@ void SettingsWidget::initUi() {
m_engineBtnGroup->addButton(m_baiduBtn);
m_engineBtnGroup->addButton(m_sougouBtn);
m_engineBtnGroup->addButton(m_360Btn);
// m_engineBtnGroup->setId(m_baiduBtn, WebEngine::Baidu);
// m_engineBtnGroup->setId(m_sougouBtn, WebEngine::Sougou);
// m_engineBtnGroup->setId(m_360Btn, WebEngine::_360);
// connect(m_engineBtnGroup, QOverload<int>::of(&QButtonGroup::buttonClicked), [ = ] (int id) {
// setWebEngine(id);
// });
connect(m_baiduBtn, &QRadioButton::clicked, [ = ] (bool checked) {
if (checked) setWebEngine("baidu");
});
connect(m_sougouBtn, &QRadioButton::clicked, [ = ] (bool checked) {
if (checked) setWebEngine("sougou");
});
connect(m_360Btn, &QRadioButton::clicked, [ = ] (bool checked) {
if (checked) setWebEngine("360");
});
m_mainLyt->addWidget(m_searchEngineLabel);
m_mainLyt->addWidget(m_engineDescLabel);
m_mainLyt->addWidget(m_radioBtnFrame);
m_searchEngineLabel->hide();
m_engineDescLabel->hide();
m_radioBtnFrame->hide();
//取消与确认按钮 (隐藏)
// m_bottomBtnFrame = new QFrame(this);
@ -289,6 +303,36 @@ void SettingsWidget::onBtnDelClicked(const QString& path) {
}
}
/**
* @brief SettingsWidget::resetWebEngine UI控件上
*/
void SettingsWidget::resetWebEngine()
{
QString engine = GlobalSettings::getInstance()->getValue(WEB_ENGINE).toString();
m_engineBtnGroup->blockSignals(true);
if (!engine.isEmpty()) {
if (engine == "360") {
m_360Btn->setChecked(true);
} else if (engine == "sougou") {
m_sougouBtn->setChecked(true);
} else {
m_baiduBtn->setChecked(true);
}
} else {
m_baiduBtn->setChecked(true);
}
m_engineBtnGroup->blockSignals(false);
}
/**
* @brief SettingsWidget::setWebEngine
* @param engine
*/
void SettingsWidget::setWebEngine(const QString& engine)
{
GlobalSettings::getInstance()->setValue(WEB_ENGINE, engine);
}
/**
* @brief setIndexState
* @param isCreatingIndex
@ -432,13 +476,13 @@ void SettingsWidget::resize()
// this->setFixedSize(528, 515);
// }
if (m_blockdirs <= 4) {
m_dirListArea->setFixedHeight(32 * m_blockdirs + 5);
m_dirListArea->setFixedHeight(32 * m_blockdirs);
m_dirListWidget->setFixedHeight(32 * m_blockdirs);
} else {
m_dirListWidget->setFixedHeight(32 * m_blockdirs + 5);
m_dirListWidget->setFixedHeight(32 * m_blockdirs);
m_dirListArea->setFixedHeight(32 * 4);
}
this->setFixedSize(528, 455);
this->setFixedSize(528, 410 + m_dirListArea->height());
}
/**

View File

@ -52,6 +52,7 @@ private:
void paintEvent(QPaintEvent *);
void resize();
void showWarningDialog(const int&);
void resetWebEngine();
//标题栏
QVBoxLayout * m_mainLyt = nullptr;
QFrame * m_titleFrame = nullptr;
@ -107,6 +108,7 @@ private Q_SLOTS:
// void onBtnCancelClicked();
void onBtnAddClicked();
void onBtnDelClicked(const QString&);
void setWebEngine(const QString&);
};
#endif // SETTINGSWIDGET_H

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

@ -4,52 +4,57 @@
<context>
<name>ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="328"/>
<location filename="../../src/content-widget.cpp" line="354"/>
<source>Recently Opened</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<location filename="../../src/content-widget.cpp" line="390"/>
<source>Open Quickly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="360"/>
<location filename="../../src/content-widget.cpp" line="391"/>
<source>Commonly Used</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="602"/>
<location filename="../../src/content-widget.cpp" line="653"/>
<source>Apps</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="604"/>
<location filename="../../src/content-widget.cpp" line="655"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="606"/>
<location filename="../../src/content-widget.cpp" line="657"/>
<source>Files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="608"/>
<location filename="../../src/content-widget.cpp" line="659"/>
<source>Dirs</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="610"/>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>File Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="612"/>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Best Matches</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="614"/>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Web Pages</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
@ -83,27 +88,27 @@
<context>
<name>OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="95"/>
<location filename="../../src/control/option-view.cpp" line="96"/>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="102"/>
<location filename="../../src/control/option-view.cpp" line="103"/>
<source>Add Shortcut to Desktop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="109"/>
<location filename="../../src/control/option-view.cpp" line="110"/>
<source>Add Shortcut to Panel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="116"/>
<location filename="../../src/control/option-view.cpp" line="117"/>
<source>Open path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="123"/>
<location filename="../../src/control/option-view.cpp" line="124"/>
<source>Copy path</source>
<translation type="unfinished"></translation>
</message>
@ -127,22 +132,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="400"/>
<location filename="../../src/control/search-detail-view.cpp" line="406"/>
<source>Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="408"/>
<location filename="../../src/control/search-detail-view.cpp" line="414"/>
<source>Last time modified</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="232"/>
<location filename="../../src/control/search-detail-view.cpp" line="236"/>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="248"/>
<location filename="../../src/control/search-detail-view.cpp" line="253"/>
<source>Document</source>
<translation type="unfinished"></translation>
</message>
@ -307,33 +312,33 @@
<name>ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="48"/>
<location filename="../../src/control/show-more-label.cpp" line="78"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<source>Show More...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="76"/>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<source>Retract</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<source>Loading</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="92"/>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<source>Loading.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="97"/>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<source>Loading..</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="102"/>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<source>Loading...</source>
<translation type="unfinished"></translation>
</message>

View File

@ -4,52 +4,57 @@
<context>
<name>ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="328"/>
<location filename="../../src/content-widget.cpp" line="354"/>
<source>Recently Opened</source>
<translation>Yeni ılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<location filename="../../src/content-widget.cpp" line="390"/>
<source>Open Quickly</source>
<translation>Hızlı </translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="360"/>
<location filename="../../src/content-widget.cpp" line="391"/>
<source>Commonly Used</source>
<translation>Genel olarak kullanılan</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="602"/>
<location filename="../../src/content-widget.cpp" line="653"/>
<source>Apps</source>
<translation>Uygulamalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="604"/>
<location filename="../../src/content-widget.cpp" line="655"/>
<source>Settings</source>
<translation>Ayarlar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="606"/>
<location filename="../../src/content-widget.cpp" line="657"/>
<source>Files</source>
<translation>Dosyalar</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="608"/>
<location filename="../../src/content-widget.cpp" line="659"/>
<source>Dirs</source>
<translation>Dizinler</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="610"/>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>File Contents</source>
<translation>Dosya İçeriği</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="612"/>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Best Matches</source>
<translation>En İyi Eşleşen</translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="614"/>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Web Pages</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Unknown</source>
<translation>Bilinmeyen</translation>
</message>
@ -83,27 +88,27 @@
<context>
<name>OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="95"/>
<location filename="../../src/control/option-view.cpp" line="96"/>
<source>Open</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="102"/>
<location filename="../../src/control/option-view.cpp" line="103"/>
<source>Add Shortcut to Desktop</source>
<translation>Masaüstüne Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="109"/>
<location filename="../../src/control/option-view.cpp" line="110"/>
<source>Add Shortcut to Panel</source>
<translation>Panele Kısayol Ekle</translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="116"/>
<location filename="../../src/control/option-view.cpp" line="117"/>
<source>Open path</source>
<translation>Yolu </translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="123"/>
<location filename="../../src/control/option-view.cpp" line="124"/>
<source>Copy path</source>
<translation>Yolu kopyala</translation>
</message>
@ -127,22 +132,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="400"/>
<location filename="../../src/control/search-detail-view.cpp" line="406"/>
<source>Path</source>
<translation>Yol</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="408"/>
<location filename="../../src/control/search-detail-view.cpp" line="414"/>
<source>Last time modified</source>
<translation>Son değiştirilme zamanı</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="232"/>
<location filename="../../src/control/search-detail-view.cpp" line="236"/>
<source>Application</source>
<translation>Uygulama</translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="248"/>
<location filename="../../src/control/search-detail-view.cpp" line="253"/>
<source>Document</source>
<translation>Belge</translation>
</message>
@ -307,33 +312,33 @@
<name>ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="48"/>
<location filename="../../src/control/show-more-label.cpp" line="78"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<source>Show More...</source>
<translation>Daha Fazla Göster...</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="76"/>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<source>Retract</source>
<translation>Geri çek</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<source>Loading</source>
<translation>Yükleniyor</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="92"/>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<source>Loading.</source>
<translation>Yükleniyor.</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="97"/>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<source>Loading..</source>
<translation>Yükleniyor..</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="102"/>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<source>Loading...</source>
<translation>Yükleniyor...</translation>
</message>

View File

@ -4,52 +4,57 @@
<context>
<name>ContentWidget</name>
<message>
<location filename="../../src/content-widget.cpp" line="328"/>
<location filename="../../src/content-widget.cpp" line="354"/>
<source>Recently Opened</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="359"/>
<location filename="../../src/content-widget.cpp" line="390"/>
<source>Open Quickly</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="360"/>
<location filename="../../src/content-widget.cpp" line="391"/>
<source>Commonly Used</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="602"/>
<location filename="../../src/content-widget.cpp" line="653"/>
<source>Apps</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="604"/>
<location filename="../../src/content-widget.cpp" line="655"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="606"/>
<location filename="../../src/content-widget.cpp" line="657"/>
<source>Files</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="608"/>
<location filename="../../src/content-widget.cpp" line="659"/>
<source>Dirs</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="610"/>
<location filename="../../src/content-widget.cpp" line="661"/>
<source>File Contents</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="612"/>
<location filename="../../src/content-widget.cpp" line="663"/>
<source>Best Matches</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="614"/>
<location filename="../../src/content-widget.cpp" line="665"/>
<source>Web Pages</source>
<translation></translation>
</message>
<message>
<location filename="../../src/content-widget.cpp" line="667"/>
<source>Unknown</source>
<translation></translation>
</message>
@ -83,27 +88,27 @@
<context>
<name>OptionView</name>
<message>
<location filename="../../src/control/option-view.cpp" line="95"/>
<location filename="../../src/control/option-view.cpp" line="96"/>
<source>Open</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="102"/>
<location filename="../../src/control/option-view.cpp" line="103"/>
<source>Add Shortcut to Desktop</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="109"/>
<location filename="../../src/control/option-view.cpp" line="110"/>
<source>Add Shortcut to Panel</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="116"/>
<location filename="../../src/control/option-view.cpp" line="117"/>
<source>Open path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/option-view.cpp" line="123"/>
<location filename="../../src/control/option-view.cpp" line="124"/>
<source>Copy path</source>
<translation></translation>
</message>
@ -127,22 +132,22 @@
<context>
<name>SearchDetailView</name>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="400"/>
<location filename="../../src/control/search-detail-view.cpp" line="406"/>
<source>Path</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="408"/>
<location filename="../../src/control/search-detail-view.cpp" line="414"/>
<source>Last time modified</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="232"/>
<location filename="../../src/control/search-detail-view.cpp" line="236"/>
<source>Application</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/search-detail-view.cpp" line="248"/>
<location filename="../../src/control/search-detail-view.cpp" line="253"/>
<source>Document</source>
<translation></translation>
</message>
@ -307,33 +312,33 @@
<name>ShowMoreLabel</name>
<message>
<location filename="../../src/control/show-more-label.cpp" line="40"/>
<location filename="../../src/control/show-more-label.cpp" line="48"/>
<location filename="../../src/control/show-more-label.cpp" line="78"/>
<location filename="../../src/control/show-more-label.cpp" line="57"/>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<source>Show More...</source>
<translation>...</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="76"/>
<location filename="../../src/control/show-more-label.cpp" line="85"/>
<source>Retract</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="87"/>
<location filename="../../src/control/show-more-label.cpp" line="96"/>
<source>Loading</source>
<translation></translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="92"/>
<location filename="../../src/control/show-more-label.cpp" line="101"/>
<source>Loading.</source>
<translation>.</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="97"/>
<location filename="../../src/control/show-more-label.cpp" line="106"/>
<source>Loading..</source>
<translation>..</translation>
</message>
<message>
<location filename="../../src/control/show-more-label.cpp" line="102"/>
<location filename="../../src/control/show-more-label.cpp" line="111"/>
<source>Loading...</source>
<translation>...</translation>
</message>