fix(frontend): Adjust spacing of UI controls according to blueprint.
Description: 根据设计稿调整UI控件间距 Log: 根据设计稿调整UI控件间距
This commit is contained in:
parent
c3a80a7614
commit
529aafc5a1
|
@ -56,6 +56,7 @@ void ContentWidget::initUI() {
|
||||||
m_homePage = new QWidget;
|
m_homePage = new QWidget;
|
||||||
m_homePageLyt = new QVBoxLayout(m_homePage);
|
m_homePageLyt = new QVBoxLayout(m_homePage);
|
||||||
m_homePageLyt->setSpacing(0);
|
m_homePageLyt->setSpacing(0);
|
||||||
|
m_homePageLyt->setContentsMargins(0,0,0,0);
|
||||||
m_homePage->setLayout(m_homePageLyt);
|
m_homePage->setLayout(m_homePageLyt);
|
||||||
|
|
||||||
m_resultPage = new QWidget;
|
m_resultPage = new QWidget;
|
||||||
|
@ -80,7 +81,7 @@ void ContentWidget::initUI() {
|
||||||
m_resultList->setFixedWidth(240);
|
m_resultList->setFixedWidth(240);
|
||||||
m_resultList->setFixedHeight(0);
|
m_resultList->setFixedHeight(0);
|
||||||
m_resultList->setStyleSheet("QWidget{background:transparent;}");
|
m_resultList->setStyleSheet("QWidget{background:transparent;}");
|
||||||
m_listLyt->setContentsMargins(0, 0, 15, 0);
|
m_listLyt->setContentsMargins(0, 0, 12, 0);
|
||||||
m_listLyt->setSpacing(0);
|
m_listLyt->setSpacing(0);
|
||||||
m_resultListArea->setWidget(m_resultList);
|
m_resultListArea->setWidget(m_resultList);
|
||||||
m_resultListArea->setWidgetResizable(true);
|
m_resultListArea->setWidgetResizable(true);
|
||||||
|
@ -265,10 +266,10 @@ void ContentWidget::setupConnect(SearchListView * listview) {
|
||||||
m_detailView->setWebWidget(this->m_keyword);
|
m_detailView->setWebWidget(this->m_keyword);
|
||||||
} else if (type == SearchItem::SearchType::Apps) {
|
} else if (type == SearchItem::SearchType::Apps) {
|
||||||
int index = listview->currentIndex().row();
|
int index = listview->currentIndex().row();
|
||||||
m_detailView->setAppWidget(m_appList.at(index), m_appPathList.at(index), m_appIconList.at(index));
|
m_detailView->setAppWidget(m_appList.at(index), m_appPathList.at(index), m_appIconList.at(index), m_appDescList.at(index));
|
||||||
} else if (type == SearchItem::SearchType::Best) {
|
} else if (type == SearchItem::SearchType::Best) {
|
||||||
if (m_bestList.at(listview->currentIndex().row()).first == SearchItem::SearchType::Apps) {
|
if (m_bestList.at(listview->currentIndex().row()).first == SearchItem::SearchType::Apps) {
|
||||||
m_detailView->setAppWidget(m_appList.at(0), m_appPathList.at(0), m_appIconList.at(0));
|
m_detailView->setAppWidget(m_appList.at(0), m_appPathList.at(0), m_appIconList.at(0), m_appDescList.at(0));
|
||||||
} else {
|
} else {
|
||||||
m_detailView->setupWidget(m_bestList.at(listview->currentIndex().row()).first, m_bestList.at(listview->currentIndex().row()).second);
|
m_detailView->setupWidget(m_bestList.at(listview->currentIndex().row()).first, m_bestList.at(listview->currentIndex().row()).second);
|
||||||
}
|
}
|
||||||
|
@ -372,7 +373,7 @@ void ContentWidget::initHomePage() {
|
||||||
QWidget * itemWidget = new QWidget(listWidget);
|
QWidget * itemWidget = new QWidget(listWidget);
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
if (lists.at(i).length() <= 2) itemWidget->setFixedHeight(48);
|
if (lists.at(i).length() <= 2) itemWidget->setFixedHeight(48);
|
||||||
else itemWidget->setFixedHeight(112);
|
else itemWidget->setFixedHeight(104);
|
||||||
titleLabel->setText(tr("Recently Opened"));
|
titleLabel->setText(tr("Recently Opened"));
|
||||||
QGridLayout * layout = new QGridLayout(itemWidget);
|
QGridLayout * layout = new QGridLayout(itemWidget);
|
||||||
layout->setSpacing(8);
|
layout->setSpacing(8);
|
||||||
|
@ -380,16 +381,16 @@ void ContentWidget::initHomePage() {
|
||||||
itemWidget->setLayout(layout);
|
itemWidget->setLayout(layout);
|
||||||
for (int j = 0; j < lists.at(i).count(); j++) {
|
for (int j = 0; j < lists.at(i).count(); j++) {
|
||||||
HomePageItem * item = new HomePageItem(itemWidget, i, lists.at(i).at(j));
|
HomePageItem * item = new HomePageItem(itemWidget, i, lists.at(i).at(j));
|
||||||
item->setFixedSize(265, 48);
|
item->setFixedSize(300, 48);
|
||||||
layout->addWidget(item, j / 2, j % 2);
|
layout->addWidget(item, j / 2, j % 2);
|
||||||
}
|
}
|
||||||
if (lists.at(i).length() == 1) {
|
if (lists.at(i).length() == 1) {
|
||||||
QWidget * emptyItem = new QWidget(itemWidget);
|
QWidget * emptyItem = new QWidget(itemWidget);
|
||||||
emptyItem->setFixedSize(265, 48); //占位用widget,只有一项时在右方补全
|
emptyItem->setFixedSize(300, 48); //占位用widget,只有一项时在右方补全
|
||||||
layout->addWidget(emptyItem, 1, 2);
|
layout->addWidget(emptyItem, 1, 2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
itemWidget->setFixedHeight(136);
|
itemWidget->setFixedHeight(116);
|
||||||
QHBoxLayout * layout = new QHBoxLayout(itemWidget);
|
QHBoxLayout * layout = new QHBoxLayout(itemWidget);
|
||||||
layout->setSpacing(8);
|
layout->setSpacing(8);
|
||||||
layout->setContentsMargins(0, 0, 0, 0);
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
@ -401,12 +402,12 @@ void ContentWidget::initHomePage() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
HomePageItem * item = new HomePageItem(itemWidget, i, path);
|
HomePageItem * item = new HomePageItem(itemWidget, i, path);
|
||||||
item->setFixedSize(100, 100);
|
item->setFixedSize(116, 116);
|
||||||
layout->addWidget(item);
|
layout->addWidget(item);
|
||||||
}
|
}
|
||||||
for (int j = 0; j < 5 - shownItem; j++) {
|
for (int j = 0; j < 5 - shownItem; j++) {
|
||||||
QWidget * emptyItem = new QWidget(itemWidget);
|
QWidget * emptyItem = new QWidget(itemWidget);
|
||||||
emptyItem->setFixedSize(100, 100); //占位用widget,少于5项会补全后方占位
|
emptyItem->setFixedSize(116, 116); //占位用widget,少于5项会补全后方占位
|
||||||
layout->addWidget(emptyItem);
|
layout->addWidget(emptyItem);
|
||||||
}
|
}
|
||||||
if (i == 0 && shownItem) titleLabel->setText(tr("Open Quickly"));
|
if (i == 0 && shownItem) titleLabel->setText(tr("Open Quickly"));
|
||||||
|
@ -518,6 +519,8 @@ void ContentWidget::resetSearchList()
|
||||||
m_appPathList.clear();
|
m_appPathList.clear();
|
||||||
if (! m_appIconList.isEmpty())
|
if (! m_appIconList.isEmpty())
|
||||||
m_appIconList.clear();
|
m_appIconList.clear();
|
||||||
|
if (!m_appDescList.isEmpty())
|
||||||
|
m_appDescList.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -553,6 +556,7 @@ void ContentWidget::setAppList(const QVector<QStringList>& appList) {
|
||||||
m_appList = appList.at(0);
|
m_appList = appList.at(0);
|
||||||
m_appPathList = appList.at(1);
|
m_appPathList = appList.at(1);
|
||||||
m_appIconList = appList.at(2);
|
m_appIconList = appList.at(2);
|
||||||
|
m_appDescList = appList.at(3);
|
||||||
m_appListView->setAppList(m_appPathList, m_appIconList);
|
m_appListView->setAppList(m_appPathList, m_appIconList);
|
||||||
qDebug()<<"Append a best item into list: "<<appList.at(0).at(0);
|
qDebug()<<"Append a best item into list: "<<appList.at(0).at(0);
|
||||||
SearchItemModel * model = qobject_cast<SearchItemModel *>(m_bestListView->model());
|
SearchItemModel * model = qobject_cast<SearchItemModel *>(m_bestListView->model());
|
||||||
|
|
|
@ -98,6 +98,7 @@ private:
|
||||||
QStringList m_quicklyOpenList;
|
QStringList m_quicklyOpenList;
|
||||||
QStringList m_appPathList;
|
QStringList m_appPathList;
|
||||||
QStringList m_appIconList;
|
QStringList m_appIconList;
|
||||||
|
QStringList m_appDescList;
|
||||||
QList<QPair<int, QString>> m_bestList;
|
QList<QPair<int, QString>> m_bestList;
|
||||||
|
|
||||||
QString m_bestContent; //最佳匹配有文件内容搜索结果的时候,以此变量传递
|
QString m_bestContent; //最佳匹配有文件内容搜索结果的时候,以此变量传递
|
||||||
|
|
|
@ -45,7 +45,7 @@ void FolderListItem::initUi() {
|
||||||
this->setFixedHeight(32);
|
this->setFixedHeight(32);
|
||||||
m_layout->addWidget(m_widget);
|
m_layout->addWidget(m_widget);
|
||||||
m_widgetlayout = new QHBoxLayout(m_widget);
|
m_widgetlayout = new QHBoxLayout(m_widget);
|
||||||
m_widgetlayout->setContentsMargins(4, 4, 4, 4);
|
m_widgetlayout->setContentsMargins(8, 4, 8, 4);
|
||||||
m_widget->setLayout(m_widgetlayout);
|
m_widget->setLayout(m_widgetlayout);
|
||||||
|
|
||||||
m_iconLabel = new QLabel(m_widget);
|
m_iconLabel = new QLabel(m_widget);
|
||||||
|
|
|
@ -208,7 +208,7 @@ void SearchDetailView::setAppWidget(const QString &appname, const QString &path,
|
||||||
|
|
||||||
m_iconLabel->setPixmap(icon.pixmap(icon.actualSize(QSize(96, 96))));
|
m_iconLabel->setPixmap(icon.pixmap(icon.actualSize(QSize(96, 96))));
|
||||||
QFontMetrics fontMetrics = m_nameLabel->fontMetrics();
|
QFontMetrics fontMetrics = m_nameLabel->fontMetrics();
|
||||||
QString showname = fontMetrics.elidedText(m_name, Qt::ElideRight, 215); //当字体长度超过215时显示为省略号
|
QString showname = fontMetrics.elidedText(m_name, Qt::ElideRight, 274); //当字体长度超过215时显示为省略号
|
||||||
m_nameLabel->setText(showname);
|
m_nameLabel->setText(showname);
|
||||||
if (QString::compare(showname, m_name)) {
|
if (QString::compare(showname, m_name)) {
|
||||||
m_nameLabel->setToolTip(m_name);
|
m_nameLabel->setToolTip(m_name);
|
||||||
|
@ -326,7 +326,7 @@ void SearchDetailView::setupWidget(const int& type, const QString& path) {
|
||||||
m_iconLabel->setPixmap(icon.pixmap(icon.actualSize(QSize(96, 96))));
|
m_iconLabel->setPixmap(icon.pixmap(icon.actualSize(QSize(96, 96))));
|
||||||
QFontMetrics fontMetrics = m_nameLabel->fontMetrics();
|
QFontMetrics fontMetrics = m_nameLabel->fontMetrics();
|
||||||
QString wholeName = FileUtils::getFileName(path);
|
QString wholeName = FileUtils::getFileName(path);
|
||||||
QString name = fontMetrics.elidedText(wholeName, Qt::ElideRight, 215);
|
QString name = fontMetrics.elidedText(wholeName, Qt::ElideRight, 274);
|
||||||
m_nameLabel->setText(name);
|
m_nameLabel->setText(name);
|
||||||
if (QString::compare(name, wholeName)) {
|
if (QString::compare(name, wholeName)) {
|
||||||
m_nameLabel->setToolTip(wholeName);
|
m_nameLabel->setToolTip(wholeName);
|
||||||
|
@ -456,7 +456,7 @@ void SearchDetailView::initUI()
|
||||||
m_nameLabel->setStyleSheet("QLabel{font-size: 18px;}");
|
m_nameLabel->setStyleSheet("QLabel{font-size: 18px;}");
|
||||||
m_typeLabel->setStyleSheet("QLabel{font-size: 14px; color: palette(mid);}");
|
m_typeLabel->setStyleSheet("QLabel{font-size: 14px; color: palette(mid);}");
|
||||||
m_nameFrame->setFixedHeight(48);
|
m_nameFrame->setFixedHeight(48);
|
||||||
m_nameLabel->setMaximumWidth(240);
|
m_nameLabel->setMaximumWidth(280);
|
||||||
m_nameLayout->addWidget(m_nameLabel);
|
m_nameLayout->addWidget(m_nameLabel);
|
||||||
m_nameLayout->addStretch();
|
m_nameLayout->addStretch();
|
||||||
m_nameLayout->addWidget(m_typeLabel);
|
m_nameLayout->addWidget(m_typeLabel);
|
||||||
|
|
|
@ -155,18 +155,18 @@ MainWindow::~MainWindow()
|
||||||
*/
|
*/
|
||||||
void MainWindow::initUi()
|
void MainWindow::initUi()
|
||||||
{
|
{
|
||||||
this->setFixedSize(640, 640);
|
this->setFixedSize(640, 590);
|
||||||
|
|
||||||
m_frame = new QFrame(this);
|
m_frame = new QFrame(this);
|
||||||
|
|
||||||
this->setCentralWidget(m_frame);
|
this->setCentralWidget(m_frame);
|
||||||
QVBoxLayout * mainlayout = new QVBoxLayout(m_frame);
|
QVBoxLayout * mainlayout = new QVBoxLayout(m_frame);
|
||||||
mainlayout->setContentsMargins(16, 0, 16, 16);
|
mainlayout->setContentsMargins(8, 0, 8, 6);
|
||||||
m_frame->setLayout(mainlayout);
|
m_frame->setLayout(mainlayout);
|
||||||
m_frame->setStyleSheet("QLabel{color: palette(text);}");
|
m_frame->setStyleSheet("QLabel{color: palette(text);}");
|
||||||
|
|
||||||
m_titleFrame = new QFrame(m_frame);//标题栏
|
m_titleFrame = new QFrame(m_frame);//标题栏
|
||||||
m_titleFrame->setFixedHeight(48);
|
m_titleFrame->setFixedHeight(40);
|
||||||
m_titleLyt = new QHBoxLayout(m_titleFrame);
|
m_titleLyt = new QHBoxLayout(m_titleFrame);
|
||||||
m_titleLyt->setContentsMargins(0, 0, 0, 0);
|
m_titleLyt->setContentsMargins(0, 0, 0, 0);
|
||||||
m_iconLabel = new QLabel(m_titleFrame);
|
m_iconLabel = new QLabel(m_titleFrame);
|
||||||
|
@ -175,7 +175,7 @@ void MainWindow::initUi()
|
||||||
m_titleLabel = new QLabel(m_titleFrame);
|
m_titleLabel = new QLabel(m_titleFrame);
|
||||||
m_titleLabel->setText(tr("Search"));
|
m_titleLabel->setText(tr("Search"));
|
||||||
m_menuBtn = new QPushButton(m_titleFrame);
|
m_menuBtn = new QPushButton(m_titleFrame);
|
||||||
m_menuBtn->setFixedSize(24, 24);
|
m_menuBtn->setFixedSize(30, 30);
|
||||||
// m_menuBtn->setIcon(QIcon(":/res/icons/commonuse.svg"));
|
// m_menuBtn->setIcon(QIcon(":/res/icons/commonuse.svg"));
|
||||||
m_menuBtn->setIcon(QIcon::fromTheme("document-properties-symbolic"));
|
m_menuBtn->setIcon(QIcon::fromTheme("document-properties-symbolic"));
|
||||||
m_menuBtn->setProperty("useIconHighlightEffect", 0x2);
|
m_menuBtn->setProperty("useIconHighlightEffect", 0x2);
|
||||||
|
@ -214,7 +214,6 @@ void MainWindow::initUi()
|
||||||
mainlayout->addWidget(m_titleFrame);
|
mainlayout->addWidget(m_titleFrame);
|
||||||
mainlayout->addWidget(m_contentFrame);
|
mainlayout->addWidget(m_contentFrame);
|
||||||
mainlayout->addWidget(m_searchWidget);
|
mainlayout->addWidget(m_searchWidget);
|
||||||
mainlayout->setContentsMargins(16, 0, 16, 10);
|
|
||||||
|
|
||||||
connect(QApplication::primaryScreen(), &QScreen::geometryChanged,
|
connect(QApplication::primaryScreen(), &QScreen::geometryChanged,
|
||||||
this, &MainWindow::monitorResolutionChange);
|
this, &MainWindow::monitorResolutionChange);
|
||||||
|
|
|
@ -31,7 +31,7 @@ void SearchAppThread::stop()
|
||||||
void SearchAppThread::run()
|
void SearchAppThread::run()
|
||||||
{
|
{
|
||||||
//nameList:应用名,pathList:已安装的是.desktop路径,未安装为空,iconList:已安装的是图标名,未安装的是图标路径
|
//nameList:应用名,pathList:已安装的是.desktop路径,未安装为空,iconList:已安装的是图标名,未安装的是图标路径
|
||||||
QStringList nameList, pathList, iconList;
|
QStringList nameList, pathList, iconList, descList;
|
||||||
QVector<QStringList> appVector;
|
QVector<QStringList> appVector;
|
||||||
AppMatch::getAppMatch()->startMatchApp(m_keyword, m_installed_apps, m_uninstalled_apps);
|
AppMatch::getAppMatch()->startMatchApp(m_keyword, m_installed_apps, m_uninstalled_apps);
|
||||||
QMapIterator<NameString,QStringList> installed_iter(m_installed_apps);
|
QMapIterator<NameString,QStringList> installed_iter(m_installed_apps);
|
||||||
|
@ -41,6 +41,7 @@ void SearchAppThread::run()
|
||||||
nameList << installed_iter.key().app_name;
|
nameList << installed_iter.key().app_name;
|
||||||
pathList << installed_iter.value().at(0);
|
pathList << installed_iter.value().at(0);
|
||||||
iconList << installed_iter.value().at(1);
|
iconList << installed_iter.value().at(1);
|
||||||
|
descList << installed_iter.value().at(3);
|
||||||
}
|
}
|
||||||
QMapIterator<NameString,QStringList> uninstalled_iter(m_uninstalled_apps);
|
QMapIterator<NameString,QStringList> uninstalled_iter(m_uninstalled_apps);
|
||||||
while(uninstalled_iter.hasNext())
|
while(uninstalled_iter.hasNext())
|
||||||
|
@ -54,10 +55,12 @@ void SearchAppThread::run()
|
||||||
nameList << name;
|
nameList << name;
|
||||||
pathList << uninstalled_iter.value().at(0);
|
pathList << uninstalled_iter.value().at(0);
|
||||||
iconList << uninstalled_iter.value().at(1);
|
iconList << uninstalled_iter.value().at(1);
|
||||||
|
descList << uninstalled_iter.value().at(3);
|
||||||
}
|
}
|
||||||
appVector.append(nameList);
|
appVector.append(nameList);
|
||||||
appVector.append(pathList);
|
appVector.append(pathList);
|
||||||
appVector.append(iconList);
|
appVector.append(iconList);
|
||||||
|
appVector.append(descList);
|
||||||
if (!m_stop)
|
if (!m_stop)
|
||||||
Q_EMIT this->searchResultApp(appVector);
|
Q_EMIT this->searchResultApp(appVector);
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ extern void qt_blurImage(QImage &blurImage, qreal radius, bool quality, int tran
|
||||||
SettingsWidget::SettingsWidget(QWidget *parent) : QDialog(parent)
|
SettingsWidget::SettingsWidget(QWidget *parent) : QDialog(parent)
|
||||||
{
|
{
|
||||||
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
|
this->setWindowIcon(QIcon::fromTheme("kylin-search"));
|
||||||
this->setWindowTitle(tr("ukui-search"));
|
this->setWindowTitle(tr("ukui-search-settings"));
|
||||||
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
|
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint);
|
||||||
this->setAttribute(Qt::WA_TranslucentBackground);
|
this->setAttribute(Qt::WA_TranslucentBackground);
|
||||||
initUi();
|
initUi();
|
||||||
|
@ -55,7 +55,7 @@ void SettingsWidget::initUi() {
|
||||||
// this->setMinimumHeight(460);
|
// this->setMinimumHeight(460);
|
||||||
// this->setMaximumHeight(680);
|
// this->setMaximumHeight(680);
|
||||||
m_mainLyt = new QVBoxLayout(this);
|
m_mainLyt = new QVBoxLayout(this);
|
||||||
m_mainLyt->setContentsMargins(24, 9, 24, 24);
|
m_mainLyt->setContentsMargins(16, 8, 16, 24);
|
||||||
this->setLayout(m_mainLyt);
|
this->setLayout(m_mainLyt);
|
||||||
|
|
||||||
//标题栏
|
//标题栏
|
||||||
|
@ -88,30 +88,36 @@ void SettingsWidget::initUi() {
|
||||||
m_titleLyt->addWidget(m_closeBtn);
|
m_titleLyt->addWidget(m_closeBtn);
|
||||||
m_mainLyt->addWidget(m_titleFrame);
|
m_mainLyt->addWidget(m_titleFrame);
|
||||||
|
|
||||||
|
m_contentFrame = new QFrame(this);
|
||||||
|
m_contentLyt = new QVBoxLayout(m_contentFrame);
|
||||||
|
m_contentFrame->setLayout(m_contentLyt);
|
||||||
|
m_contentLyt->setContentsMargins(8,0,8,0);
|
||||||
|
m_mainLyt->addWidget(m_contentFrame);
|
||||||
|
|
||||||
//设置
|
//设置
|
||||||
m_settingLabel = new QLabel(this);
|
m_settingLabel = new QLabel(m_contentFrame);
|
||||||
m_settingLabel->setText(tr("<h2>Settings</h2>"));
|
m_settingLabel->setText(tr("<h2>Settings</h2>"));
|
||||||
m_mainLyt->addWidget(m_settingLabel);
|
m_contentLyt->addWidget(m_settingLabel);
|
||||||
|
|
||||||
//文件索引
|
//文件索引
|
||||||
m_indexTitleLabel = new QLabel(this);
|
m_indexTitleLabel = new QLabel(m_contentFrame);
|
||||||
m_indexTitleLabel->setText(tr("<h3>Index State</h3>"));
|
m_indexTitleLabel->setText(tr("<h3>Index State</h3>"));
|
||||||
m_indexStateLabel = new QLabel(this);
|
m_indexStateLabel = new QLabel(m_contentFrame);
|
||||||
m_indexStateLabel->setText(tr("..."));
|
m_indexStateLabel->setText(tr("..."));
|
||||||
m_indexNumLabel = new QLabel(this);
|
m_indexNumLabel = new QLabel(m_contentFrame);
|
||||||
m_indexNumLabel->setText(tr("..."));
|
m_indexNumLabel->setText(tr("..."));
|
||||||
m_mainLyt->addWidget(m_indexTitleLabel);
|
m_contentLyt->addWidget(m_indexTitleLabel);
|
||||||
m_mainLyt->addWidget(m_indexStateLabel);
|
m_contentLyt->addWidget(m_indexStateLabel);
|
||||||
// m_mainLyt->addWidget(m_indexNumLabel);
|
// m_mainLyt->addWidget(m_indexNumLabel);
|
||||||
m_indexNumLabel->hide();
|
m_indexNumLabel->hide();
|
||||||
|
|
||||||
//文件索引设置(黑名单)
|
//文件索引设置(黑名单)
|
||||||
m_indexSettingLabel = new QLabel(this);
|
m_indexSettingLabel = new QLabel(m_contentFrame);
|
||||||
m_indexSettingLabel->setText(tr("<h3>File Index Settings</h3>"));
|
m_indexSettingLabel->setText(tr("<h3>File Index Settings</h3>"));
|
||||||
m_indexDescLabel = new QLabel(this);
|
m_indexDescLabel = new QLabel(m_contentFrame);
|
||||||
m_indexDescLabel->setText(tr("Following folders will not be searched. You can set it by adding and removing folders."));
|
m_indexDescLabel->setText(tr("Following folders will not be searched. You can set it by adding and removing folders."));
|
||||||
m_indexDescLabel->setWordWrap(true);
|
m_indexDescLabel->setWordWrap(true);
|
||||||
m_indexBtnFrame = new QFrame(this);
|
m_indexBtnFrame = new QFrame(m_contentFrame);
|
||||||
m_indexBtnLyt = new QHBoxLayout(m_indexBtnFrame);
|
m_indexBtnLyt = new QHBoxLayout(m_indexBtnFrame);
|
||||||
m_indexBtnLyt->setContentsMargins(0, 0, 0, 0);
|
m_indexBtnLyt->setContentsMargins(0, 0, 0, 0);
|
||||||
m_indexBtnFrame->setLayout(m_indexBtnLyt);
|
m_indexBtnFrame->setLayout(m_indexBtnLyt);
|
||||||
|
@ -122,35 +128,35 @@ void SettingsWidget::initUi() {
|
||||||
connect(m_addDirBtn, &QPushButton::clicked, this, &SettingsWidget::onBtnAddClicked);
|
connect(m_addDirBtn, &QPushButton::clicked, this, &SettingsWidget::onBtnAddClicked);
|
||||||
m_indexBtnLyt->addWidget(m_addDirBtn);
|
m_indexBtnLyt->addWidget(m_addDirBtn);
|
||||||
m_indexBtnLyt->addStretch();
|
m_indexBtnLyt->addStretch();
|
||||||
m_dirListArea = new QScrollArea(this);
|
m_dirListArea = new QScrollArea(m_contentFrame);
|
||||||
m_dirListArea->setStyleSheet("QScrollArea{background:transparent;}");
|
m_dirListArea->setStyleSheet("QScrollArea{background:transparent;}");
|
||||||
m_dirListWidget = new QWidget(this);
|
m_dirListWidget = new QWidget(m_contentFrame);
|
||||||
m_dirListWidget->setStyleSheet("QWidget{background:transparent;}");
|
m_dirListWidget->setStyleSheet("QWidget{background:transparent;}");
|
||||||
m_dirListLyt = new QVBoxLayout(m_dirListWidget);
|
m_dirListLyt = new QVBoxLayout(m_dirListWidget);
|
||||||
m_dirListLyt->setContentsMargins(0, 0, 0, 0);
|
m_dirListLyt->setContentsMargins(0, 0, 0, 0);
|
||||||
m_dirListLyt->setSpacing(0);
|
m_dirListLyt->setSpacing(0);
|
||||||
m_dirListWidget->setLayout(m_dirListLyt);
|
m_dirListWidget->setLayout(m_dirListLyt);
|
||||||
m_dirListArea->setWidget(m_dirListWidget);
|
m_dirListArea->setWidget(m_dirListWidget);
|
||||||
m_dirListArea->setWidgetResizable(true);
|
m_dirListArea->setWidgetResizable(m_contentFrame);
|
||||||
m_mainLyt->addWidget(m_indexSettingLabel);
|
m_contentLyt->addWidget(m_indexSettingLabel);
|
||||||
m_mainLyt->addWidget(m_indexDescLabel);
|
m_contentLyt->addWidget(m_indexDescLabel);
|
||||||
m_mainLyt->addWidget(m_indexBtnFrame);
|
m_contentLyt->addWidget(m_indexBtnFrame);
|
||||||
m_mainLyt->addWidget(m_dirListArea);
|
m_contentLyt->addWidget(m_dirListArea);
|
||||||
|
|
||||||
//搜索引擎设置
|
//搜索引擎设置
|
||||||
m_searchEngineLabel = new QLabel(this);
|
m_searchEngineLabel = new QLabel(m_contentFrame);
|
||||||
m_searchEngineLabel->setText(tr("<h3>Search Engine Settings</h3>"));
|
m_searchEngineLabel->setText(tr("<h3>Search Engine Settings</h3>"));
|
||||||
m_engineDescLabel = new QLabel(this);
|
m_engineDescLabel = new QLabel(m_contentFrame);
|
||||||
m_engineDescLabel->setText(tr("Please select search engine you preferred."));
|
m_engineDescLabel->setText(tr("Please select search engine you preferred."));
|
||||||
m_engineDescLabel->setWordWrap(true);
|
m_engineDescLabel->setWordWrap(true);
|
||||||
m_engineBtnGroup = new QButtonGroup(this);
|
m_engineBtnGroup = new QButtonGroup(m_contentFrame);
|
||||||
m_baiduBtn = new QRadioButton(this);
|
m_baiduBtn = new QRadioButton(m_contentFrame);
|
||||||
m_sougouBtn = new QRadioButton(this);
|
m_sougouBtn = new QRadioButton(m_contentFrame);
|
||||||
m_360Btn = new QRadioButton(this);
|
m_360Btn = new QRadioButton(m_contentFrame);
|
||||||
m_baiduBtn->setFixedSize(16, 16);
|
m_baiduBtn->setFixedSize(16, 16);
|
||||||
m_sougouBtn->setFixedSize(16, 16);
|
m_sougouBtn->setFixedSize(16, 16);
|
||||||
m_360Btn->setFixedSize(16, 16);
|
m_360Btn->setFixedSize(16, 16);
|
||||||
m_radioBtnFrame = new QFrame(this);
|
m_radioBtnFrame = new QFrame(m_contentFrame);
|
||||||
m_radioBtnLyt = new QHBoxLayout(m_radioBtnFrame);
|
m_radioBtnLyt = new QHBoxLayout(m_radioBtnFrame);
|
||||||
m_radioBtnFrame->setLayout(m_radioBtnLyt);
|
m_radioBtnFrame->setLayout(m_radioBtnLyt);
|
||||||
m_baiduLabel = new QLabel();
|
m_baiduLabel = new QLabel();
|
||||||
|
@ -187,9 +193,9 @@ void SettingsWidget::initUi() {
|
||||||
if (checked) setWebEngine("360");
|
if (checked) setWebEngine("360");
|
||||||
});
|
});
|
||||||
|
|
||||||
m_mainLyt->addWidget(m_searchEngineLabel);
|
m_contentLyt->addWidget(m_searchEngineLabel);
|
||||||
m_mainLyt->addWidget(m_engineDescLabel);
|
m_contentLyt->addWidget(m_engineDescLabel);
|
||||||
m_mainLyt->addWidget(m_radioBtnFrame);
|
m_contentLyt->addWidget(m_radioBtnFrame);
|
||||||
|
|
||||||
//取消与确认按钮 (隐藏)
|
//取消与确认按钮 (隐藏)
|
||||||
// m_bottomBtnFrame = new QFrame(this);
|
// m_bottomBtnFrame = new QFrame(this);
|
||||||
|
@ -209,7 +215,7 @@ void SettingsWidget::initUi() {
|
||||||
// m_bottomBtnLyt->addWidget(m_confirmBtn);
|
// m_bottomBtnLyt->addWidget(m_confirmBtn);
|
||||||
// m_mainLyt->addWidget(m_bottomBtnFrame);
|
// m_mainLyt->addWidget(m_bottomBtnFrame);
|
||||||
|
|
||||||
m_mainLyt->addStretch();
|
m_contentLyt->addStretch();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -55,6 +55,8 @@ private:
|
||||||
void resetWebEngine();
|
void resetWebEngine();
|
||||||
//标题栏
|
//标题栏
|
||||||
QVBoxLayout * m_mainLyt = nullptr;
|
QVBoxLayout * m_mainLyt = nullptr;
|
||||||
|
QFrame * m_contentFrame = nullptr;
|
||||||
|
QVBoxLayout * m_contentLyt = nullptr;
|
||||||
QFrame * m_titleFrame = nullptr;
|
QFrame * m_titleFrame = nullptr;
|
||||||
QHBoxLayout * m_titleLyt = nullptr;
|
QHBoxLayout * m_titleLyt = nullptr;
|
||||||
QLabel * m_titleIcon = nullptr;
|
QLabel * m_titleIcon = nullptr;
|
||||||
|
|
|
@ -4,57 +4,57 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ContentWidget</name>
|
<name>ContentWidget</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="370"/>
|
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||||
<source>Recently Opened</source>
|
<source>Recently Opened</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="406"/>
|
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||||
<source>Open Quickly</source>
|
<source>Open Quickly</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="407"/>
|
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||||
<source>Commonly Used</source>
|
<source>Commonly Used</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||||
<source>Apps</source>
|
<source>Apps</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||||
<source>Files</source>
|
<source>Files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||||
<source>Dirs</source>
|
<source>Dirs</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||||
<source>File Contents</source>
|
<source>File Contents</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||||
<source>Best Matches</source>
|
<source>Best Matches</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||||
<source>Web Pages</source>
|
<source>Web Pages</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="684"/>
|
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||||
<source>Unknown</source>
|
<source>Unknown</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/mainwindow.cpp" line="175"/>
|
<location filename="../../src/mainwindow.cpp" line="176"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QObject</name>
|
<name>QObject</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/main.cpp" line="150"/>
|
<location filename="../../src/main.cpp" line="171"/>
|
||||||
<source>ukui-search is already running!</source>
|
<source>ukui-search is already running!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -137,22 +137,27 @@
|
||||||
<context>
|
<context>
|
||||||
<name>SearchDetailView</name>
|
<name>SearchDetailView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="485"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="490"/>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="493"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="498"/>
|
||||||
<source>Last time modified</source>
|
<source>Last time modified</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="210"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||||
<source>Application</source>
|
<source>Application</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="329"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="197"/>
|
||||||
|
<source>Introduction: %1</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../../src/control/search-detail-view.cpp" line="335"/>
|
||||||
<source>Document</source>
|
<source>Document</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -161,154 +166,154 @@
|
||||||
<name>SettingsWidget</name>
|
<name>SettingsWidget</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="70"/>
|
<location filename="../../src/settings-widget.cpp" line="70"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
<location filename="../../src/settings-widget.cpp" line="106"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="102"/>
|
<location filename="../../src/settings-widget.cpp" line="108"/>
|
||||||
<source>...</source>
|
<source>...</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="112"/>
|
<location filename="../../src/settings-widget.cpp" line="118"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
<location filename="../../src/settings-widget.cpp" line="127"/>
|
||||||
<source>Add ignored folders</source>
|
<source>Add ignored folders</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="144"/>
|
<location filename="../../src/settings-widget.cpp" line="150"/>
|
||||||
<source>Please select search engine you preferred.</source>
|
<source>Please select search engine you preferred.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="157"/>
|
<location filename="../../src/settings-widget.cpp" line="163"/>
|
||||||
<source>baidu</source>
|
<source>baidu</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="159"/>
|
<location filename="../../src/settings-widget.cpp" line="165"/>
|
||||||
<source>sougou</source>
|
<source>sougou</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="161"/>
|
<location filename="../../src/settings-widget.cpp" line="167"/>
|
||||||
<source>360</source>
|
<source>360</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="342"/>
|
<location filename="../../src/settings-widget.cpp" line="348"/>
|
||||||
<source>Creating ...</source>
|
<source>Creating ...</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="37"/>
|
<location filename="../../src/settings-widget.cpp" line="37"/>
|
||||||
<source>ukui-search</source>
|
<source>ukui-search-settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="93"/>
|
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||||
<source><h2>Settings</h2></source>
|
<source><h2>Settings</h2></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||||
<source><h3>Index State</h3></source>
|
<source><h3>Index State</h3></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="110"/>
|
<location filename="../../src/settings-widget.cpp" line="116"/>
|
||||||
<source><h3>File Index Settings</h3></source>
|
<source><h3>File Index Settings</h3></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="142"/>
|
<location filename="../../src/settings-widget.cpp" line="148"/>
|
||||||
<source><h3>Search Engine Settings</h3></source>
|
<source><h3>Search Engine Settings</h3></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<source>Whether to delete this directory?</source>
|
<source>Whether to delete this directory?</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="282"/>
|
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||||
<source>Yes</source>
|
<source>Yes</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
<location filename="../../src/settings-widget.cpp" line="289"/>
|
||||||
<source>No</source>
|
<source>No</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="345"/>
|
<location filename="../../src/settings-widget.cpp" line="351"/>
|
||||||
<source>Done</source>
|
<source>Done</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
<location filename="../../src/settings-widget.cpp" line="359"/>
|
||||||
<source>Index Entry: %1</source>
|
<source>Index Entry: %1</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="397"/>
|
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="398"/>
|
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="399"/>
|
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="400"/>
|
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="401"/>
|
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="498"/>
|
<location filename="../../src/settings-widget.cpp" line="504"/>
|
||||||
<source>Choosen path is Empty!</source>
|
<source>Choosen path is Empty!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="502"/>
|
<location filename="../../src/settings-widget.cpp" line="508"/>
|
||||||
<source>Choosen path is not in "home"!</source>
|
<source>Choosen path is not in "home"!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="506"/>
|
<location filename="../../src/settings-widget.cpp" line="512"/>
|
||||||
<source>Its' parent folder has been blocked!</source>
|
<source>Its' parent folder has been blocked!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
<location filename="../../src/settings-widget.cpp" line="516"/>
|
||||||
<source>Set blocked folder failed!</source>
|
<source>Set blocked folder failed!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -4,57 +4,57 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ContentWidget</name>
|
<name>ContentWidget</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="370"/>
|
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||||
<source>Recently Opened</source>
|
<source>Recently Opened</source>
|
||||||
<translation>Yeni Açılan</translation>
|
<translation>Yeni Açılan</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="406"/>
|
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||||
<source>Open Quickly</source>
|
<source>Open Quickly</source>
|
||||||
<translation>Hızlı Aç</translation>
|
<translation>Hızlı Aç</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="407"/>
|
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||||
<source>Commonly Used</source>
|
<source>Commonly Used</source>
|
||||||
<translation>Genel olarak kullanılan</translation>
|
<translation>Genel olarak kullanılan</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||||
<source>Apps</source>
|
<source>Apps</source>
|
||||||
<translation>Uygulamalar</translation>
|
<translation>Uygulamalar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Ayarlar</translation>
|
<translation>Ayarlar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||||
<source>Files</source>
|
<source>Files</source>
|
||||||
<translation>Dosyalar</translation>
|
<translation>Dosyalar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||||
<source>Dirs</source>
|
<source>Dirs</source>
|
||||||
<translation>Dizinler</translation>
|
<translation>Dizinler</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||||
<source>File Contents</source>
|
<source>File Contents</source>
|
||||||
<translation>Dosya İçeriği</translation>
|
<translation>Dosya İçeriği</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||||
<source>Best Matches</source>
|
<source>Best Matches</source>
|
||||||
<translation>En İyi Eşleşen</translation>
|
<translation>En İyi Eşleşen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||||
<source>Web Pages</source>
|
<source>Web Pages</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="684"/>
|
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||||
<source>Unknown</source>
|
<source>Unknown</source>
|
||||||
<translation>Bilinmeyen</translation>
|
<translation>Bilinmeyen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<translation>Genel Arama</translation>
|
<translation>Genel Arama</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/mainwindow.cpp" line="175"/>
|
<location filename="../../src/mainwindow.cpp" line="176"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation>Ara</translation>
|
<translation>Ara</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QObject</name>
|
<name>QObject</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/main.cpp" line="150"/>
|
<location filename="../../src/main.cpp" line="171"/>
|
||||||
<source>ukui-search is already running!</source>
|
<source>ukui-search is already running!</source>
|
||||||
<translation>ukui-bul zaten çalışıyor!</translation>
|
<translation>ukui-bul zaten çalışıyor!</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -137,22 +137,27 @@
|
||||||
<context>
|
<context>
|
||||||
<name>SearchDetailView</name>
|
<name>SearchDetailView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="485"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="490"/>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation>Yol</translation>
|
<translation>Yol</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="493"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="498"/>
|
||||||
<source>Last time modified</source>
|
<source>Last time modified</source>
|
||||||
<translation>Son değiştirilme zamanı</translation>
|
<translation>Son değiştirilme zamanı</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="210"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||||
<source>Application</source>
|
<source>Application</source>
|
||||||
<translation>Uygulama</translation>
|
<translation>Uygulama</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="329"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="197"/>
|
||||||
|
<source>Introduction: %1</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../../src/control/search-detail-view.cpp" line="335"/>
|
||||||
<source>Document</source>
|
<source>Document</source>
|
||||||
<translation>Belge</translation>
|
<translation>Belge</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -161,154 +166,158 @@
|
||||||
<name>SettingsWidget</name>
|
<name>SettingsWidget</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="70"/>
|
<location filename="../../src/settings-widget.cpp" line="70"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation>Ara</translation>
|
<translation>Ara</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
<location filename="../../src/settings-widget.cpp" line="106"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="102"/>
|
<location filename="../../src/settings-widget.cpp" line="108"/>
|
||||||
<source>...</source>
|
<source>...</source>
|
||||||
<translation>...</translation>
|
<translation>...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="112"/>
|
<location filename="../../src/settings-widget.cpp" line="118"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>Aşağıdaki klasörler aranmayacaktır. Klasör ekleyip kaldırarak ayarlayabilirsiniz.</translation>
|
<translation>Aşağıdaki klasörler aranmayacaktır. Klasör ekleyip kaldırarak ayarlayabilirsiniz.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
<location filename="../../src/settings-widget.cpp" line="127"/>
|
||||||
<source>Add ignored folders</source>
|
<source>Add ignored folders</source>
|
||||||
<translation>Göz ardı edilen klasörleri ekleyin</translation>
|
<translation>Göz ardı edilen klasörleri ekleyin</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="144"/>
|
<location filename="../../src/settings-widget.cpp" line="150"/>
|
||||||
<source>Please select search engine you preferred.</source>
|
<source>Please select search engine you preferred.</source>
|
||||||
<translation>Lütfen tercih ettiğiniz arama motorunu seçin.</translation>
|
<translation>Lütfen tercih ettiğiniz arama motorunu seçin.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="157"/>
|
<location filename="../../src/settings-widget.cpp" line="163"/>
|
||||||
<source>baidu</source>
|
<source>baidu</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="159"/>
|
<location filename="../../src/settings-widget.cpp" line="165"/>
|
||||||
<source>sougou</source>
|
<source>sougou</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="161"/>
|
<location filename="../../src/settings-widget.cpp" line="167"/>
|
||||||
<source>360</source>
|
<source>360</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>İptal</translation>
|
<translation>İptal</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="342"/>
|
<location filename="../../src/settings-widget.cpp" line="348"/>
|
||||||
<source>Creating ...</source>
|
<source>Creating ...</source>
|
||||||
<translation>Oluşturuluyor...</translation>
|
<translation>Oluşturuluyor...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="37"/>
|
|
||||||
<source>ukui-search</source>
|
<source>ukui-search</source>
|
||||||
<translation>ukui-bul</translation>
|
<translation type="vanished">ukui-bul</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="93"/>
|
<location filename="../../src/settings-widget.cpp" line="37"/>
|
||||||
|
<source>ukui-search-settings</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||||
<source><h2>Settings</h2></source>
|
<source><h2>Settings</h2></source>
|
||||||
<translation><h2>Ayarlar</h2></translation>
|
<translation><h2>Ayarlar</h2></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||||
<source><h3>Index State</h3></source>
|
<source><h3>Index State</h3></source>
|
||||||
<translation><h3>Dizin Durumu</h3></translation>
|
<translation><h3>Dizin Durumu</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="110"/>
|
<location filename="../../src/settings-widget.cpp" line="116"/>
|
||||||
<source><h3>File Index Settings</h3></source>
|
<source><h3>File Index Settings</h3></source>
|
||||||
<translation><h3>Dosya Dizini Ayarları</h3></translation>
|
<translation><h3>Dosya Dizini Ayarları</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="142"/>
|
<location filename="../../src/settings-widget.cpp" line="148"/>
|
||||||
<source><h3>Search Engine Settings</h3></source>
|
<source><h3>Search Engine Settings</h3></source>
|
||||||
<translation><h3>SArama Motoru Ayarları</h3></translation>
|
<translation><h3>SArama Motoru Ayarları</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<source>Whether to delete this directory?</source>
|
<source>Whether to delete this directory?</source>
|
||||||
<translation>Bu dizini silinsin mi?</translation>
|
<translation>Bu dizini silinsin mi?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="282"/>
|
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||||
<source>Yes</source>
|
<source>Yes</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
<location filename="../../src/settings-widget.cpp" line="289"/>
|
||||||
<source>No</source>
|
<source>No</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="345"/>
|
<location filename="../../src/settings-widget.cpp" line="351"/>
|
||||||
<source>Done</source>
|
<source>Done</source>
|
||||||
<translation>Tamam</translation>
|
<translation>Tamam</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
<location filename="../../src/settings-widget.cpp" line="359"/>
|
||||||
<source>Index Entry: %1</source>
|
<source>Index Entry: %1</source>
|
||||||
<translation>Dizin Girişi: %1</translation>
|
<translation>Dizin Girişi: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="397"/>
|
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation>Dizinler</translation>
|
<translation>Dizinler</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="398"/>
|
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation>engellenen klasörü seç</translation>
|
<translation>engellenen klasörü seç</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="399"/>
|
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>Seç</translation>
|
<translation>Seç</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="400"/>
|
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation>Pozisyon: </translation>
|
<translation>Pozisyon: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="401"/>
|
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation>Dosya Adı: </translation>
|
<translation>Dosya Adı: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation>Dosya Türü: </translation>
|
<translation>Dosya Türü: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="498"/>
|
<location filename="../../src/settings-widget.cpp" line="504"/>
|
||||||
<source>Choosen path is Empty!</source>
|
<source>Choosen path is Empty!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="502"/>
|
<location filename="../../src/settings-widget.cpp" line="508"/>
|
||||||
<source>Choosen path is not in "home"!</source>
|
<source>Choosen path is not in "home"!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="506"/>
|
<location filename="../../src/settings-widget.cpp" line="512"/>
|
||||||
<source>Its' parent folder has been blocked!</source>
|
<source>Its' parent folder has been blocked!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
<location filename="../../src/settings-widget.cpp" line="516"/>
|
||||||
<source>Set blocked folder failed!</source>
|
<source>Set blocked folder failed!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -4,57 +4,57 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ContentWidget</name>
|
<name>ContentWidget</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="370"/>
|
<location filename="../../src/content-widget.cpp" line="377"/>
|
||||||
<source>Recently Opened</source>
|
<source>Recently Opened</source>
|
||||||
<translation>最近</translation>
|
<translation>最近</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="406"/>
|
<location filename="../../src/content-widget.cpp" line="413"/>
|
||||||
<source>Open Quickly</source>
|
<source>Open Quickly</source>
|
||||||
<translation>快速入口</translation>
|
<translation>快速入口</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="407"/>
|
<location filename="../../src/content-widget.cpp" line="414"/>
|
||||||
<source>Commonly Used</source>
|
<source>Commonly Used</source>
|
||||||
<translation>常用</translation>
|
<translation>常用</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="670"/>
|
<location filename="../../src/content-widget.cpp" line="681"/>
|
||||||
<source>Apps</source>
|
<source>Apps</source>
|
||||||
<translation>应用</translation>
|
<translation>应用</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="672"/>
|
<location filename="../../src/content-widget.cpp" line="683"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>配置项</translation>
|
<translation>配置项</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="674"/>
|
<location filename="../../src/content-widget.cpp" line="685"/>
|
||||||
<source>Files</source>
|
<source>Files</source>
|
||||||
<translation>文件</translation>
|
<translation>文件</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="676"/>
|
<location filename="../../src/content-widget.cpp" line="687"/>
|
||||||
<source>Dirs</source>
|
<source>Dirs</source>
|
||||||
<translation>文件夹</translation>
|
<translation>文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="678"/>
|
<location filename="../../src/content-widget.cpp" line="689"/>
|
||||||
<source>File Contents</source>
|
<source>File Contents</source>
|
||||||
<translation>文件内容</translation>
|
<translation>文件内容</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="680"/>
|
<location filename="../../src/content-widget.cpp" line="691"/>
|
||||||
<source>Best Matches</source>
|
<source>Best Matches</source>
|
||||||
<translation>最佳匹配</translation>
|
<translation>最佳匹配</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="682"/>
|
<location filename="../../src/content-widget.cpp" line="693"/>
|
||||||
<source>Web Pages</source>
|
<source>Web Pages</source>
|
||||||
<translation>网页</translation>
|
<translation>网页</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/content-widget.cpp" line="684"/>
|
<location filename="../../src/content-widget.cpp" line="695"/>
|
||||||
<source>Unknown</source>
|
<source>Unknown</source>
|
||||||
<translation>未知</translation>
|
<translation>未知</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<translation>搜索</translation>
|
<translation>搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/mainwindow.cpp" line="175"/>
|
<location filename="../../src/mainwindow.cpp" line="176"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation>搜索</translation>
|
<translation>搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>QObject</name>
|
<name>QObject</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/main.cpp" line="150"/>
|
<location filename="../../src/main.cpp" line="171"/>
|
||||||
<source>ukui-search is already running!</source>
|
<source>ukui-search is already running!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -137,178 +137,187 @@
|
||||||
<context>
|
<context>
|
||||||
<name>SearchDetailView</name>
|
<name>SearchDetailView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="485"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="490"/>
|
||||||
<source>Path</source>
|
<source>Path</source>
|
||||||
<translation>路径</translation>
|
<translation>路径</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="493"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="498"/>
|
||||||
<source>Last time modified</source>
|
<source>Last time modified</source>
|
||||||
<translation>上次修改时间</translation>
|
<translation>上次修改时间</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="210"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="216"/>
|
||||||
<source>Application</source>
|
<source>Application</source>
|
||||||
<translation>应用</translation>
|
<translation>应用</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/search-detail-view.cpp" line="329"/>
|
<location filename="../../src/control/search-detail-view.cpp" line="197"/>
|
||||||
|
<source>Introduction: %1</source>
|
||||||
|
<translation>软件介绍: %1</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../../src/control/search-detail-view.cpp" line="335"/>
|
||||||
<source>Document</source>
|
<source>Document</source>
|
||||||
<translation>文件</translation>
|
<translation>文件</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsWidget</name>
|
<name>SettingsWidget</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../../src/settings-widget.cpp" line="37"/>
|
||||||
|
<source>ukui-search-settings</source>
|
||||||
|
<translation>搜索</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="70"/>
|
<location filename="../../src/settings-widget.cpp" line="70"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="514"/>
|
<location filename="../../src/settings-widget.cpp" line="520"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation>搜索</translation>
|
<translation>搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="93"/>
|
<location filename="../../src/settings-widget.cpp" line="99"/>
|
||||||
<source><h2>Settings</h2></source>
|
<source><h2>Settings</h2></source>
|
||||||
<translation><h2>设置</h2></translation>
|
<translation><h2>设置</h2></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="98"/>
|
<location filename="../../src/settings-widget.cpp" line="104"/>
|
||||||
<source><h3>Index State</h3></source>
|
<source><h3>Index State</h3></source>
|
||||||
<translation><h3>索引状态</h3></translation>
|
<translation><h3>索引状态</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="100"/>
|
<location filename="../../src/settings-widget.cpp" line="106"/>
|
||||||
<location filename="../../src/settings-widget.cpp" line="102"/>
|
<location filename="../../src/settings-widget.cpp" line="108"/>
|
||||||
<source>...</source>
|
<source>...</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="110"/>
|
<location filename="../../src/settings-widget.cpp" line="116"/>
|
||||||
<source><h3>File Index Settings</h3></source>
|
<source><h3>File Index Settings</h3></source>
|
||||||
<translation><h3>文件索引设置</h3></translation>
|
<translation><h3>文件索引设置</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="112"/>
|
<location filename="../../src/settings-widget.cpp" line="118"/>
|
||||||
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
<source>Following folders will not be searched. You can set it by adding and removing folders.</source>
|
||||||
<translation>搜索将不再查看以下文件夹。通过增加和删除文件夹可进行文件索引设置。</translation>
|
<translation>搜索将不再查看以下文件夹。通过增加和删除文件夹可进行文件索引设置。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="121"/>
|
<location filename="../../src/settings-widget.cpp" line="127"/>
|
||||||
<source>Add ignored folders</source>
|
<source>Add ignored folders</source>
|
||||||
<translation>添加文件夹至黑名单</translation>
|
<translation>添加文件夹至黑名单</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="142"/>
|
<location filename="../../src/settings-widget.cpp" line="148"/>
|
||||||
<source><h3>Search Engine Settings</h3></source>
|
<source><h3>Search Engine Settings</h3></source>
|
||||||
<translation><h3>搜索引擎设置</h3></translation>
|
<translation><h3>搜索引擎设置</h3></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="144"/>
|
<location filename="../../src/settings-widget.cpp" line="150"/>
|
||||||
<source>Please select search engine you preferred.</source>
|
<source>Please select search engine you preferred.</source>
|
||||||
<translation>设置互联网搜索引擎</translation>
|
<translation>设置互联网搜索引擎</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="157"/>
|
<location filename="../../src/settings-widget.cpp" line="163"/>
|
||||||
<source>baidu</source>
|
<source>baidu</source>
|
||||||
<translation>百度</translation>
|
<translation>百度</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="159"/>
|
<location filename="../../src/settings-widget.cpp" line="165"/>
|
||||||
<source>sougou</source>
|
<source>sougou</source>
|
||||||
<translation>搜狗</translation>
|
<translation>搜狗</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="161"/>
|
<location filename="../../src/settings-widget.cpp" line="167"/>
|
||||||
<source>360</source>
|
<source>360</source>
|
||||||
<translation>360</translation>
|
<translation>360</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="281"/>
|
<location filename="../../src/settings-widget.cpp" line="287"/>
|
||||||
<source>Whether to delete this directory?</source>
|
<source>Whether to delete this directory?</source>
|
||||||
<translation>是否要删除此目录</translation>
|
<translation>是否要删除此目录</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="282"/>
|
<location filename="../../src/settings-widget.cpp" line="288"/>
|
||||||
<source>Yes</source>
|
<source>Yes</source>
|
||||||
<translation>是(Y)</translation>
|
<translation>是(Y)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="283"/>
|
<location filename="../../src/settings-widget.cpp" line="289"/>
|
||||||
<source>No</source>
|
<source>No</source>
|
||||||
<translation>否(N)</translation>
|
<translation>否(N)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="403"/>
|
<location filename="../../src/settings-widget.cpp" line="409"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>取消</translation>
|
<translation>取消</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="498"/>
|
<location filename="../../src/settings-widget.cpp" line="504"/>
|
||||||
<source>Choosen path is Empty!</source>
|
<source>Choosen path is Empty!</source>
|
||||||
<translation>选择的路径不存在!</translation>
|
<translation>选择的路径不存在!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="502"/>
|
<location filename="../../src/settings-widget.cpp" line="508"/>
|
||||||
<source>Choosen path is not in "home"!</source>
|
<source>Choosen path is not in "home"!</source>
|
||||||
<translation>请选择家目录下的文件夹!</translation>
|
<translation>请选择家目录下的文件夹!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="506"/>
|
<location filename="../../src/settings-widget.cpp" line="512"/>
|
||||||
<source>Its' parent folder has been blocked!</source>
|
<source>Its' parent folder has been blocked!</source>
|
||||||
<translation>父文件夹已被屏蔽!</translation>
|
<translation>父文件夹已被屏蔽!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="510"/>
|
<location filename="../../src/settings-widget.cpp" line="516"/>
|
||||||
<source>Set blocked folder failed!</source>
|
<source>Set blocked folder failed!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="342"/>
|
<location filename="../../src/settings-widget.cpp" line="348"/>
|
||||||
<source>Creating ...</source>
|
<source>Creating ...</source>
|
||||||
<translation>正在索引</translation>
|
<translation>正在索引</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="37"/>
|
|
||||||
<source>ukui-search</source>
|
<source>ukui-search</source>
|
||||||
<translation>搜索</translation>
|
<translation type="vanished">搜索</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="345"/>
|
<location filename="../../src/settings-widget.cpp" line="351"/>
|
||||||
<source>Done</source>
|
<source>Done</source>
|
||||||
<translation>索引完成</translation>
|
<translation>索引完成</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="353"/>
|
<location filename="../../src/settings-widget.cpp" line="359"/>
|
||||||
<source>Index Entry: %1</source>
|
<source>Index Entry: %1</source>
|
||||||
<translation>索引项: %1</translation>
|
<translation>索引项: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="397"/>
|
<location filename="../../src/settings-widget.cpp" line="403"/>
|
||||||
<source>Directories</source>
|
<source>Directories</source>
|
||||||
<translation>文件夹</translation>
|
<translation>文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="398"/>
|
<location filename="../../src/settings-widget.cpp" line="404"/>
|
||||||
<source>select blocked folder</source>
|
<source>select blocked folder</source>
|
||||||
<translation>选择屏蔽文件夹</translation>
|
<translation>选择屏蔽文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="399"/>
|
<location filename="../../src/settings-widget.cpp" line="405"/>
|
||||||
<source>Select</source>
|
<source>Select</source>
|
||||||
<translation>选择</translation>
|
<translation>选择</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="400"/>
|
<location filename="../../src/settings-widget.cpp" line="406"/>
|
||||||
<source>Position: </source>
|
<source>Position: </source>
|
||||||
<translation>位置:</translation>
|
<translation>位置:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="401"/>
|
<location filename="../../src/settings-widget.cpp" line="407"/>
|
||||||
<source>FileName: </source>
|
<source>FileName: </source>
|
||||||
<translation>名称:</translation>
|
<translation>名称:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/settings-widget.cpp" line="402"/>
|
<location filename="../../src/settings-widget.cpp" line="408"/>
|
||||||
<source>FileType: </source>
|
<source>FileType: </source>
|
||||||
<translation>类型:</translation>
|
<translation>类型:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in New Issue