OSDN Git Service

remove raw fonts support leftovers
authorIvailo Monev <xakepa10@gmail.com>
Mon, 10 Jan 2022 09:55:38 +0000 (11:55 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Mon, 10 Jan 2022 10:10:15 +0000 (12:10 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/tools/qtconfig/mainwindow.cpp
src/tools/qtconfig/mainwindow.h
src/tools/qtconfig/mainwindow.ui
tests/auto/qjsondocument/qjsondocument.json
translations/qt.pot
translations/qt_tools.pot

index c33411e..af1dbf9 100644 (file)
@@ -55,32 +55,38 @@ QT_BEGIN_NAMESPACE
 static const char *appearance_text = QT_TRANSLATE_NOOP("MainWindow",
 "<p><b><font size+=2>Appearance</font></b></p>"
 "<hr>"
-"<p>Use this tab to customize the appearance of your Qt applications.</p>"
+"<p>Use this tab to customize the appearance of your Katie applications.</p>"
 "<p>You can select the default GUI Style from the drop down list and "
 "customize the colors.</p>"
 "<p>Any GUI Style plugins in your plugin path will automatically be added "
-"to the list of built-in Qt styles. (See the Library Paths tab for "
+"to the list of built-in Katie styles. (See the Library Paths tab for "
 "information on adding new plugin paths.)</p>"
-"<p>When you choose 3-D Effects and Window Background colors, the Qt "
+"<p>When you choose 3-D Effects and Window Background colors, the Katie "
 "Configuration program will automatically generate a palette for you. "
 "To customize colors further, press the Tune Palette button to open "
-"the advanced palette editor."
+"the advanced palette editor.</p>"
 "<p>The Preview Window shows what the selected Style and colors look "
-"like.");
+"like.</p>"
+);
 
 static const char *font_text = QT_TRANSLATE_NOOP("MainWindow",
 "<p><b><font size+=2>Fonts</font></b></p>"
 "<hr>"
-"<p>Use this tab to select the default font for your Qt applications. "
+"<p>Use this tab to select the default font for your Katie applications. "
 "The selected font is shown (initially as 'Sample Text') in the line "
-"edit below the Family, "
-"Style and Point Size drop down lists.</p>");
+"edit below the Family, Style and Point Size drop down lists.</p>"
+"<p>You can specify if Katie should try to embed fonts into its generated output "
+"when printing. If you enable font embedding, the resulting postscript will be "
+"more portable and will more accurately reflect the "
+"visual output on the screen; however the resulting postscript file "
+"size will be bigger.</p>"
+);
 
 static const char *interface_text = QT_TRANSLATE_NOOP("MainWindow",
 "<p><b><font size+=2>Interface</font></b></p>"
 "<hr>"
-"<p>Use this tab to customize the feel of your Qt applications.</p>"
-"<p>If the Resolve Symlinks checkbox is checked Qt will follow symlinks "
+"<p>Use this tab to customize the feel of your Katie applications.</p>"
+"<p>If the Resolve Symlinks checkbox is checked Katie will follow symlinks "
 "when handling URLs. For example, in the file dialog, if this setting is turned "
 "on and /usr/tmp is a symlink to /var/tmp, entering the /usr/tmp directory "
 "will cause the file dialog to change to /var/tmp.  With this setting turned "
@@ -88,22 +94,10 @@ static const char *interface_text = QT_TRANSLATE_NOOP("MainWindow",
 "<p>The Global Strut setting is useful for people who require a "
 "minimum size for all widgets (e.g. when using a touch panel or for users "
 "who are visually impaired).  Leaving the Global Strut width and height "
-"at 0 will disable the Global Strut feature.");
+"at 0 will disable the Global Strut feature.</p>"
+);
 // ### What does the 'Enhanced support for languages written R2L do?
 
-static const char *printer_text = QT_TRANSLATE_NOOP("MainWindow",
-"<p><b><font size+=2>Printer</font></b></p>"
-"<hr>"
-"<p>Use this tab to configure the way Qt generates output for the printer."
-"You can specify if Qt should try to embed fonts into its generated output."
-"If you enable font embedding, the resulting postscript will be more "
-"portable and will more accurately reflect the "
-"visual output on the screen; however the resulting postscript file "
-"size will be bigger."
-"<p>When using font embedding you can select additional directories where "
-"Qt should search for embeddable font files.  By default, the X "
-"server font path is used.");
-
 QPalette::ColorGroup MainWindow::groupFromIndex(int item)
 {
     switch (item) {
@@ -138,12 +132,8 @@ MainWindow::MainWindow()
     statusBar();
 
     // signals and slots connections
-    connect(ui->fontPathLineEdit, SIGNAL(returnPressed()), SLOT(addFontpath()));
-    connect(ui->addFontPathButton, SIGNAL(clicked()), SLOT(addFontpath()));
-    connect(ui->browseFontPathButton, SIGNAL(clicked()), SLOT(browseFontpath()));
     connect(ui->fontStyleCombo, SIGNAL(activated(int)), SLOT(buildFont()));
     connect(ui->pointSizeCombo, SIGNAL(activated(int)), SLOT(buildFont()));
-    connect(ui->downFontpathButton, SIGNAL(clicked()), SLOT(downFontpath()));
     connect(ui->fontFamilyCombo, SIGNAL(activated(QString)), SLOT(familySelected(QString)));
     connect(ui->fileExitAction, SIGNAL(triggered()), SLOT(fileExit()));
     connect(ui->fileSaveAction, SIGNAL(triggered()), SLOT(fileSave()));
@@ -151,7 +141,6 @@ MainWindow::MainWindow()
     connect(ui->helpAboutQtAction, SIGNAL(triggered()), SLOT(helpAboutQt()));
     connect(ui->mainTabWidget, SIGNAL(currentChanged(int)), SLOT(pageChanged(int)));
     connect(ui->paletteCombo, SIGNAL(activated(int)), SLOT(paletteSelected(int)));
-    connect(ui->removeFontpathButton, SIGNAL(clicked()), SLOT(removeFontpath()));
     connect(ui->toolBoxEffectCombo, SIGNAL(activated(int)), SLOT(somethingModified()));
     connect(ui->doubleClickIntervalSpinBox, SIGNAL(valueChanged(int)), SLOT(somethingModified()));
     connect(ui->cursorFlashTimeSpinBox, SIGNAL(valueChanged(int)), SLOT(somethingModified()));
@@ -167,7 +156,6 @@ MainWindow::MainWindow()
     connect(ui->rtlExtensionsCheckBox, SIGNAL(toggled(bool)), SLOT(somethingModified()));
     connect(ui->guiStyleCombo, SIGNAL(activated(QString)), SLOT(styleSelected(QString)));
     connect(ui->tunePaletteButton, SIGNAL(clicked()), SLOT(tunePalette()));
-    connect(ui->upFontpathButton, SIGNAL(clicked()), SLOT(upFontpath()));
 
     modified = true;
     desktopThemeName = tr("Desktop Settings (Default)");
@@ -300,8 +288,6 @@ MainWindow::MainWindow()
 
     ui->fontEmbeddingCheckBox->setChecked(settings.value(QLatin1String("Qt/embedFonts"), true)
                                           .toBool());
-    fontpaths = settings.value(QLatin1String("Qt/fontPath")).toStringList();
-    ui->fontpathListBox->insertItems(0, fontpaths);
 
     ui->helpView->setText(tr(appearance_text));
 
@@ -354,7 +340,6 @@ void MainWindow::fileSave()
         settings.setValue(QLatin1String("Qt/Palette/inactive"), inactcg);
         settings.setValue(QLatin1String("Qt/Palette/disabled"), discg);
 
-        settings.setValue(QLatin1String("Qt/fontPath"), fontpaths);
         settings.setValue(QLatin1String("Qt/embedFonts"), ui->fontEmbeddingCheckBox->isChecked());
         settings.setValue(QLatin1String("Qt/style"),
                           overrideDesktopSettings ? ui->guiStyleCombo->currentText() : QString());
@@ -514,84 +499,6 @@ void MainWindow::buildFont()
     setModified(true);
 }
 
-void MainWindow::removeFontpath()
-{
-    if (!ui->fontpathListBox->currentItem())
-        return;
-
-    int row = ui->fontpathListBox->currentRow();
-    fontpaths.removeAt(row);
-    ui->fontpathListBox->clear();
-    ui->fontpathListBox->insertItems(0, fontpaths);
-    if (row > ui->fontpathListBox->count())
-        row = ui->fontpathListBox->count() - 1;
-    ui->fontpathListBox->setCurrentRow(row);
-    setModified(true);
-}
-
-void MainWindow::addFontpath()
-{
-    if (ui->fontPathLineEdit->text().isEmpty())
-        return;
-
-    if (!ui->fontpathListBox->currentItem()) {
-        fontpaths.append(ui->fontPathLineEdit->text());
-        ui->fontpathListBox->clear();
-        ui->fontpathListBox->insertItems(0, fontpaths);
-        setModified(true);
-
-        return;
-    }
-
-    int row = ui->fontpathListBox->currentRow();
-    fontpaths.insert(row + 1, ui->fontPathLineEdit->text());
-    ui->fontpathListBox->clear();
-    ui->fontpathListBox->insertItems(0, fontpaths);
-    ui->fontpathListBox->setCurrentRow(row);
-    setModified(true);
-}
-
-void MainWindow::downFontpath()
-{
-    if (!ui->fontpathListBox->currentItem()
-        || ui->fontpathListBox->currentRow() >= (ui->fontpathListBox->count() - 1)) {
-        return;
-    }
-
-    int row = ui->fontpathListBox->currentRow();
-    QString fam = fontpaths.at(row);
-    fontpaths.removeAt(row);
-    fontpaths.insert(row + 1, fam);
-    ui->fontpathListBox->clear();
-    ui->fontpathListBox->insertItems(0, fontpaths);
-    ui->fontpathListBox->setCurrentRow(row + 1);
-    setModified(true);
-}
-
-void MainWindow::upFontpath()
-{
-    if (!ui->fontpathListBox->currentItem() || ui->fontpathListBox->currentRow() < 1)
-        return;
-
-    int row = ui->fontpathListBox->currentRow();
-    QString fam = fontpaths.at(row);
-    fontpaths.removeAt(row);
-    fontpaths.insert(row - 1, fam);
-    ui->fontpathListBox->clear();
-    ui->fontpathListBox->insertItems(0, fontpaths);
-    ui->fontpathListBox->setCurrentRow(row - 1);
-    setModified(true);
-}
-
-void MainWindow::browseFontpath()
-{
-    QString dirname = QFileDialog::getExistingDirectory(this, tr("Select a Directory"));
-    if (dirname.isNull())
-        return;
-
-   ui->fontPathLineEdit->setText(dirname);
-}
-
 void MainWindow::somethingModified()
 {
     setModified(true);
@@ -625,8 +532,6 @@ void MainWindow::pageChanged(int pageNumber)
         ui->helpView->setText(tr(appearance_text));
     else if (page == ui->fontsTab)
         ui->helpView->setText(tr(font_text));
-    else if (page == ui->printerTab)
-        ui->helpView->setText(tr(printer_text));
 }
 
 void MainWindow::closeEvent(QCloseEvent *e)
index be01cd8..e9fed2c 100644 (file)
@@ -47,11 +47,6 @@ public slots:
     virtual void paletteSelected(int);
     virtual void styleSelected(const QString &);
     virtual void familySelected(const QString &);
-    virtual void removeFontpath();
-    virtual void addFontpath();
-    virtual void downFontpath();
-    virtual void upFontpath();
-    virtual void browseFontpath();
     virtual void fileSave();
     virtual void fileExit();
     virtual void somethingModified();
@@ -75,7 +70,6 @@ private:
     QString desktopThemeName;
     QPalette editPalette, previewPalette;
     QStyle *previewstyle;
-    QStringList fontpaths;
     bool modified;
 };
 
index 7009c95..676a03b 100644 (file)
     <property name="margin">
      <number>8</number>
     </property>
-    <item row="0" column="0">
-     <widget class="QTextEdit" name="helpView">
-      <property name="minimumSize">
-       <size>
-        <width>200</width>
-        <height>0</height>
-       </size>
-      </property>
-      <property name="readOnly">
-       <bool>true</bool>
-      </property>
-     </widget>
-    </item>
-    <item row="0" column="1">
+    <item row="1" column="1">
      <widget class="QTabWidget" name="mainTabWidget">
       <property name="currentIndex">
        <number>0</number>
            <property name="spacing">
             <number>4</number>
            </property>
-           <item row="0" column="1">
-            <widget class="QComboBox" name="fontFamilyCombo">
+           <item row="1" column="1">
+            <widget class="QComboBox" name="fontStyleCombo">
              <property name="autoCompletion">
               <bool>true</bool>
              </property>
              </property>
             </widget>
            </item>
-           <item row="1" column="1">
-            <widget class="QComboBox" name="fontStyleCombo">
+           <item row="0" column="1">
+            <widget class="QComboBox" name="fontFamilyCombo">
              <property name="autoCompletion">
               <bool>true</bool>
              </property>
              </property>
             </widget>
            </item>
-           <item row="3" column="0" colspan="2">
-            <widget class="QLineEdit" name="sampleLineEdit">
-             <property name="text">
-              <string>Sample Text</string>
-             </property>
-             <property name="alignment">
-              <set>Qt::AlignHCenter</set>
-             </property>
-            </widget>
-           </item>
            <item row="4" column="0" colspan="2">
             <spacer name="verticalSpacer">
              <property name="orientation">
              </property>
             </spacer>
            </item>
+           <item row="3" column="0" colspan="2">
+            <widget class="QLineEdit" name="sampleLineEdit">
+             <property name="text">
+              <string>Sample Text</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignHCenter</set>
+             </property>
+            </widget>
+           </item>
+           <item row="5" column="0">
+            <widget class="QCheckBox" name="fontEmbeddingCheckBox">
+             <property name="text">
+              <string>Enable Font embedding</string>
+             </property>
+             <property name="checked">
+              <bool>true</bool>
+             </property>
+            </widget>
+           </item>
           </layout>
          </widget>
         </item>
         </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="printerTab">
-       <attribute name="title">
-        <string>Printer</string>
-       </attribute>
-       <layout class="QVBoxLayout">
-        <item>
-         <widget class="QCheckBox" name="fontEmbeddingCheckBox">
-          <property name="text">
-           <string>Enable Font embedding</string>
-          </property>
-          <property name="checked">
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QGroupBox" name="fontPathsGroup">
-          <property name="sizePolicy">
-           <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="title">
-           <string>Font Paths</string>
-          </property>
-          <layout class="QVBoxLayout">
-           <property name="spacing">
-            <number>4</number>
-           </property>
-           <property name="margin">
-            <number>8</number>
-           </property>
-           <item>
-            <layout class="QGridLayout">
-             <property name="margin">
-              <number>0</number>
-             </property>
-             <property name="spacing">
-              <number>4</number>
-             </property>
-             <item row="1" column="0">
-              <widget class="QPushButton" name="upFontpathButton">
-               <property name="text">
-                <string>Up</string>
-               </property>
-              </widget>
-             </item>
-             <item row="1" column="2">
-              <widget class="QPushButton" name="removeFontpathButton">
-               <property name="text">
-                <string>Remove</string>
-               </property>
-              </widget>
-             </item>
-             <item row="1" column="1">
-              <widget class="QPushButton" name="downFontpathButton">
-               <property name="text">
-                <string>Down</string>
-               </property>
-              </widget>
-             </item>
-             <item row="0" column="0" colspan="3">
-              <widget class="QListWidget" name="fontpathListBox"/>
-             </item>
-            </layout>
-           </item>
-           <item>
-            <layout class="QGridLayout">
-             <property name="margin">
-              <number>0</number>
-             </property>
-             <property name="spacing">
-              <number>4</number>
-             </property>
-             <item row="2" column="0">
-              <spacer>
-               <property name="orientation">
-                <enum>Qt::Horizontal</enum>
-               </property>
-               <property name="sizeType">
-                <enum>QSizePolicy::Minimum</enum>
-               </property>
-               <property name="sizeHint" stdset="0">
-                <size>
-                 <width>20</width>
-                 <height>20</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-             <item row="2" column="2">
-              <widget class="QPushButton" name="addFontPathButton">
-               <property name="text">
-                <string>Add</string>
-               </property>
-              </widget>
-             </item>
-             <item row="2" column="1">
-              <widget class="QPushButton" name="browseFontPathButton">
-               <property name="text">
-                <string>Browse...</string>
-               </property>
-              </widget>
-             </item>
-             <item row="0" column="0" colspan="3">
-              <widget class="QLabel" name="browseFontPathLabel">
-               <property name="text">
-                <string>Press the &lt;b&gt;Browse&lt;/b&gt; button or enter a directory and press Enter to add them to the list.</string>
-               </property>
-              </widget>
-             </item>
-             <item row="1" column="0" colspan="3">
-              <widget class="QLineEdit" name="fontPathLineEdit"/>
-             </item>
-            </layout>
-           </item>
-          </layout>
-         </widget>
-        </item>
-       </layout>
-      </widget>
+     </widget>
+    </item>
+    <item row="1" column="0">
+     <widget class="QTextEdit" name="helpView">
+      <property name="minimumSize">
+       <size>
+        <width>200</width>
+        <height>0</height>
+       </size>
+      </property>
+      <property name="readOnly">
+       <bool>true</bool>
+      </property>
      </widget>
     </item>
    </layout>
      <x>0</x>
      <y>0</y>
      <width>861</width>
-     <height>21</height>
+     <height>19</height>
     </rect>
    </property>
    <widget class="QMenu" name="fileMenu">
      <rect>
       <x>203</x>
       <y>114</y>
-      <width>130</width>
+      <width>122</width>
       <height>110</height>
      </rect>
     </property>
      <rect>
       <x>543</x>
       <y>98</y>
-      <width>130</width>
+      <width>122</width>
       <height>106</height>
      </rect>
     </property>
   <tabstop>strutWidthSpinBox</tabstop>
   <tabstop>strutHeightSpinBox</tabstop>
   <tabstop>rtlExtensionsCheckBox</tabstop>
-  <tabstop>fontEmbeddingCheckBox</tabstop>
-  <tabstop>fontpathListBox</tabstop>
-  <tabstop>upFontpathButton</tabstop>
-  <tabstop>downFontpathButton</tabstop>
-  <tabstop>removeFontpathButton</tabstop>
-  <tabstop>fontPathLineEdit</tabstop>
-  <tabstop>browseFontPathButton</tabstop>
-  <tabstop>addFontPathButton</tabstop>
  </tabstops>
  <resources/>
  <connections/>
index d3095af..73e05a2 100644 (file)
@@ -12,8 +12,6 @@
     "Qt/doubleClickInterval": 400,
     "Qt/embedFonts": true,
     "Qt/font": "Sans Serif,9,-1,5,50,0,0,0,0",
-    "Qt/fontPath": [
-    ],
     "Qt/globalStrut/height": 0,
     "Qt/globalStrut/width": 0,
     "Qt/resolveSymlinks": false,
index 49cf6ef..8a75466 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-10 11:23+0200\n"
+"POT-Creation-Date: 2022-01-10 12:09+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
index d90788a..4ab5f22 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-10 11:23+0200\n"
+"POT-Creation-Date: 2022-01-10 12:09+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -25,98 +25,85 @@ msgstr ""
 msgctxt "MainWindow"
 msgid ""
 "<p><b><font size+=2>Appearance</font></b></p><hr><p>Use this tab to "
-"customize the appearance of your Qt applications.</p><p>You can select the "
-"default GUI Style from the drop down list and customize the colors.</"
+"customize the appearance of your Katie applications.</p><p>You can select "
+"the default GUI Style from the drop down list and customize the colors.</"
 "p><p>Any GUI Style plugins in your plugin path will automatically be added "
-"to the list of built-in Qt styles. (See the Library Paths tab for "
+"to the list of built-in Katie styles. (See the Library Paths tab for "
 "information on adding new plugin paths.)</p><p>When you choose 3-D Effects "
-"and Window Background colors, the Qt Configuration program will "
+"and Window Background colors, the Katie Configuration program will "
 "automatically generate a palette for you. To customize colors further, press "
-"the Tune Palette button to open the advanced palette editor.<p>The Preview "
-"Window shows what the selected Style and colors look like."
+"the Tune Palette button to open the advanced palette editor.</p><p>The "
+"Preview Window shows what the selected Style and colors look like.</p>"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:72
+#: src/tools/qtconfig/mainwindow.cpp:73
 msgctxt "MainWindow"
 msgid ""
 "<p><b><font size+=2>Fonts</font></b></p><hr><p>Use this tab to select the "
-"default font for your Qt applications. The selected font is shown (initially "
-"as 'Sample Text') in the line edit below the Family, Style and Point Size "
-"drop down lists.</p>"
+"default font for your Katie applications. The selected font is shown "
+"(initially as 'Sample Text') in the line edit below the Family, Style and "
+"Point Size drop down lists.</p><p>You can specify if Katie should try to "
+"embed fonts into its generated output when printing. If you enable font "
+"embedding, the resulting postscript will be more portable and will more "
+"accurately reflect the visual output on the screen; however the resulting "
+"postscript file size will be bigger.</p>"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:80
+#: src/tools/qtconfig/mainwindow.cpp:86
 msgctxt "MainWindow"
 msgid ""
 "<p><b><font size+=2>Interface</font></b></p><hr><p>Use this tab to customize "
-"the feel of your Qt applications.</p><p>If the Resolve Symlinks checkbox is "
-"checked Qt will follow symlinks when handling URLs. For example, in the file "
-"dialog, if this setting is turned on and /usr/tmp is a symlink to /var/tmp, "
-"entering the /usr/tmp directory will cause the file dialog to change to /var/"
-"tmp.  With this setting turned off, symlinks are not resolved or followed.</"
-"p><p>The Global Strut setting is useful for people who require a minimum "
-"size for all widgets (e.g. when using a touch panel or for users who are "
-"visually impaired).  Leaving the Global Strut width and height at 0 will "
-"disable the Global Strut feature."
-msgstr ""
-
-#: src/tools/qtconfig/mainwindow.cpp:95
-msgctxt "MainWindow"
-msgid ""
-"<p><b><font size+=2>Printer</font></b></p><hr><p>Use this tab to configure "
-"the way Qt generates output for the printer.You can specify if Qt should try "
-"to embed fonts into its generated output.If you enable font embedding, the "
-"resulting postscript will be more portable and will more accurately reflect "
-"the visual output on the screen; however the resulting postscript file size "
-"will be bigger.<p>When using font embedding you can select additional "
-"directories where Qt should search for embeddable font files.  By default, "
-"the X server font path is used."
-msgstr ""
-
-#: src/tools/qtconfig/mainwindow.cpp:173
+"the feel of your Katie applications.</p><p>If the Resolve Symlinks checkbox "
+"is checked Katie will follow symlinks when handling URLs. For example, in "
+"the file dialog, if this setting is turned on and /usr/tmp is a symlink to /"
+"var/tmp, entering the /usr/tmp directory will cause the file dialog to "
+"change to /var/tmp.  With this setting turned off, symlinks are not resolved "
+"or followed.</p><p>The Global Strut setting is useful for people who require "
+"a minimum size for all widgets (e.g. when using a touch panel or for users "
+"who are visually impaired).  Leaving the Global Strut width and height at 0 "
+"will disable the Global Strut feature.</p>"
+msgstr ""
+
+#: src/tools/qtconfig/mainwindow.cpp:161
 msgid "Desktop Settings (Default)"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:179
+#: src/tools/qtconfig/mainwindow.cpp:167
 msgid "Choose style and palette based on your desktop settings."
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:194
+#: src/tools/qtconfig/mainwindow.cpp:182
 msgid "Unknown"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:324
+#: src/tools/qtconfig/mainwindow.cpp:310
 msgid "No changes to be saved."
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:328
+#: src/tools/qtconfig/mainwindow.cpp:314
 msgid "Saving changes..."
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:405
+#: src/tools/qtconfig/mainwindow.cpp:390
 msgid "Saved changes."
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:588
-msgid "Select a Directory"
-msgstr ""
-
-#: src/tools/qtconfig/mainwindow.cpp:603
+#: src/tools/qtconfig/mainwindow.cpp:510
 msgid ""
 "<h3>%1</h3><br/>Version %2<br/><br/>Copyright (C) 2015 The Qt Company Ltd."
 "<br/><br/>Copyright (C) 2016 Ivailo Monev"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:608 src/tools/qtconfig/mainwindow.cpp:609
-#: src/tools/qtconfig/mainwindow.cpp:616
+#: src/tools/qtconfig/mainwindow.cpp:515 src/tools/qtconfig/mainwindow.cpp:516
+#: src/tools/qtconfig/mainwindow.cpp:523
 msgid "Katie Configuration"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:635
+#: src/tools/qtconfig/mainwindow.cpp:540
 msgid "Save Changes"
 msgstr ""
 
-#: src/tools/qtconfig/mainwindow.cpp:636
+#: src/tools/qtconfig/mainwindow.cpp:541
 msgid "Save changes to settings?"
 msgstr ""