Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/package/contents/ui/main.qml
Show All 22 Lines | |||||
23 | import QtQuick.Controls 2.11 as QQC2 | 23 | import QtQuick.Controls 2.11 as QQC2 | ||
24 | import QtQuick.Dialogs 1.2 as QtDialogs | 24 | import QtQuick.Dialogs 1.2 as QtDialogs | ||
25 | import org.kde.kirigami 2.4 as Kirigami | 25 | import org.kde.kirigami 2.4 as Kirigami | ||
26 | import org.kde.kcm 1.1 as KCM | 26 | import org.kde.kcm 1.1 as KCM | ||
27 | 27 | | |||
28 | KCM.SimpleKCM { | 28 | KCM.SimpleKCM { | ||
29 | id: root | 29 | id: root | ||
30 | 30 | | |||
31 | KCM.ConfigModule.quickHelp: i18n("This module lets you configure the file indexer and search functionality.") | 31 | KCM.ConfigModule.quickHelp: i18n("This module lets you configure the Baloo file indexer and search functionality.") | ||
32 | ColumnLayout { | 32 | ColumnLayout { | ||
33 | anchors.fill: parent | 33 | anchors.fill: parent | ||
34 | anchors.margins: Kirigami.Units.largeSpacing | 34 | anchors.margins: Kirigami.Units.largeSpacing | ||
35 | 35 | | |||
36 | QQC2.Label { | 36 | QQC2.Label { | ||
37 | text: i18n("File Search helps you quickly locate all your files based on their content.") | 37 | text: i18n("The Baloo file search and indexing service helps you quickly locate all your files based on their content.") | ||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | QQC2.CheckBox { | 40 | QQC2.CheckBox { | ||
41 | id: fileSearchEnabled | 41 | id: fileSearchEnabled | ||
42 | text: i18n("Enable File Search") | 42 | text: i18n("Enable File Search") | ||
43 | checked: kcm.indexing | 43 | checked: kcm.indexing | ||
44 | onCheckStateChanged: { | 44 | onCheckStateChanged: { | ||
45 | kcm.indexing = checked | 45 | kcm.indexing = checked | ||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |