Preferences: hide built-in OSK settings when system OSK is selected

preferencesAboutTextFull
Craig Watson 9 years ago
parent 2c68edd548
commit 1423458afc
  1. 59
      resources/forms/preferences.ui
  2. 6
      resources/i18n/OpenBoard_ar.ts
  3. 6
      resources/i18n/OpenBoard_bg.ts
  4. 6
      resources/i18n/OpenBoard_ca.ts
  5. 6
      resources/i18n/OpenBoard_cs.ts
  6. 6
      resources/i18n/OpenBoard_da.ts
  7. 6
      resources/i18n/OpenBoard_de.ts
  8. 6
      resources/i18n/OpenBoard_el.ts
  9. 8
      resources/i18n/OpenBoard_en.ts
  10. 8
      resources/i18n/OpenBoard_en_UK.ts
  11. 6
      resources/i18n/OpenBoard_es.ts
  12. 6
      resources/i18n/OpenBoard_fr.ts
  13. 6
      resources/i18n/OpenBoard_fr_CH.ts
  14. 6
      resources/i18n/OpenBoard_it.ts
  15. 6
      resources/i18n/OpenBoard_iw.ts
  16. 6
      resources/i18n/OpenBoard_ja.ts
  17. 6
      resources/i18n/OpenBoard_ko.ts
  18. 6
      resources/i18n/OpenBoard_mg.ts
  19. 6
      resources/i18n/OpenBoard_nb.ts
  20. 6
      resources/i18n/OpenBoard_nl.ts
  21. 6
      resources/i18n/OpenBoard_pl.ts
  22. 6
      resources/i18n/OpenBoard_pt.ts
  23. 6
      resources/i18n/OpenBoard_ro.ts
  24. 6
      resources/i18n/OpenBoard_ru.ts
  25. 6
      resources/i18n/OpenBoard_sk.ts
  26. 6
      resources/i18n/OpenBoard_sv.ts
  27. 6
      resources/i18n/OpenBoard_tr.ts
  28. 6
      resources/i18n/OpenBoard_zh.ts
  29. 6
      resources/i18n/OpenBoard_zh_CN.ts
  30. 6
      resources/i18n/OpenBoard_zh_TW.ts
  31. 9
      src/core/UBPreferencesController.cpp
  32. 1
      src/core/UBPreferencesController.h

@ -422,13 +422,27 @@
<string>Virtual Keyboard</string>
</property>
<layout class="QGridLayout" name="gridLayout_13">
<item row="0" column="1">
<item row="0" column="1" colspan="2">
<layout class="QGridLayout" name="oskGridLayout">
<item row="3" column="1">
<widget class="QComboBox" name="keyboardPaletteKeyButtonSize"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="keyboardPaletteKeyButtonSize_Label">
<property name="text">
<string>Built-in virtual keyboard button size:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="useSystemOSKCheckBox">
<property name="text">
<string>Use system keyboard (recommended)</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
@ -445,12 +459,7 @@
</property>
</spacer>
</item>
<item row="1" column="1" colspan="2">
<layout class="QGridLayout" name="gridLayout_11">
<item row="2" column="1">
<widget class="QComboBox" name="keyboardPaletteKeyButtonSize"/>
</item>
<item row="2" column="2">
<item row="0" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -463,28 +472,6 @@
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Keyboard button size:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
@ -2670,7 +2657,7 @@ Public License instead of this License. But first, please read
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:12pt; font-weight:600;&quot;&gt;Translations&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;A special thanks to:&lt;/span&gt;&lt;/p&gt;
@ -2717,7 +2704,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Creative Commons BY-ND&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://douteau.ecolier.perso.sfr.fr/page_ecolier.htm&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#000000;&quot;&gt;DGESCO (&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;mailto:degre.numerique@education.gouv.fr&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;degre.numerique@education.gouv.fr&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;http://douteau.ecolier.perso.sfr.fr/page_ecolier.htm&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#000000;&quot;&gt;)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://douteau.ecolier.perso.sfr.fr/page_ecolier.htm&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#000000;&quot;&gt;Source: &lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;http://eduscol.education.fr/cid72979/polices-de-caracteres-cursives-pour-l-enseignement-de-l-ecriture.html&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;http://eduscol.education.fr/cid72979/polices-de-caracteres-cursives-pour-l-enseignement-de-l-ecriture.html&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Lucida Grande'; font-size:13pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;GeTypo Libre&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;Creative Commons BY-NC-ND&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://www.ge.ch/sem/cc/by-nc-nd/&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.ge.ch/sem/cc/by-nc-nd/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
@ -2764,17 +2751,17 @@ p, li { white-space: pre-wrap; }
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
&lt;tr&gt;
&lt;td style=&quot;border: none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard 1.10.0&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard 1.3.0&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Cantarell'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard is copyright © 2015. All rights reserved.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Cantarell'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard is derived from Open-Sankoré. Open-Sankoré is copyright © 2010-2015 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA). All right reserved.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Cantarell'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License, with a specific linking exception for the OpenSSL project's &amp;quot;OpenSSL&amp;quot; library (or with modified versions of it that use the same license as the &amp;quot;OpenSSL&amp;quot; library). You can find the source code of this software at &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard-ThirdParty&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard-ThirdParty&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;, and &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard-Importer&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard-Importer.&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License, with a specific linking exception for the OpenSSL project's &amp;quot;OpenSSL&amp;quot; library (or with modified versions of it that use the same license as the &amp;quot;OpenSSL&amp;quot; library). You can find the source code of this software at &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard&quot;&gt;&lt;span style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard-ThirdParty&quot;&gt;&lt;span style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard-ThirdParty&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;, and &lt;/span&gt;&lt;a href=&quot;https://github.com/DIP-SEM/OpenBoard-Importer&quot;&gt;&lt;span style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;github.com/DIP-SEM/OpenBoard-Importer.&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;OpenBoard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License below for more details.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Cantarell'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;Contact :&lt;/span&gt;&lt;/p&gt;
@ -2783,8 +2770,8 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;Case Postale 241&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;1211 Genève 8&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;Switzerland&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://www.openboard.ch&quot;&gt;&lt;span style=&quot; font-size:11pt; text-decoration: underline; color:#0000ff;&quot;&gt;openboard.ch&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt; text-decoration: underline; color:#0000ff;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://www.openboard.ch&quot;&gt;&lt;span style=&quot; font-family:'.Helvetica Neue DeskInterface'; font-size:11pt; text-decoration: underline; color:#0000ff;&quot;&gt;openboard.ch&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'.Helvetica Neue DeskInterface'; font-size:11pt; text-decoration: underline; color:#0000ff;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt;&quot;&gt;email: &lt;/span&gt;&lt;a href=&quot;mailto:sem.logistique@edu.ge.ch&quot;&gt;&lt;span style=&quot; font-family:'Cantarell'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;sem.logistique@edu.ge.ch&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">

@ -2486,7 +2486,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>حجم أزرار لوحة المفاتيح:</translation>
<translation type="vanished">حجم أزرار لوحة المفاتيح:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2600,6 +2600,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2473,7 +2473,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Големина на бутоните на клавиатурата:</translation>
<translation type="vanished">Големина на бутоните на клавиатурата:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2474,7 +2474,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Mida de les tecles:</translation>
<translation type="vanished">Mida de les tecles:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2588,6 +2588,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2516,7 +2516,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Velikost tlačítka klávesnice:</translation>
<translation type="vanished">Velikost tlačítka klávesnice:</translation>
</message>
<message>
<source>Stylus Palette</source>
@ -2598,6 +2598,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2481,7 +2481,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Størrelse tastaturknapper:</translation>
<translation type="vanished">Størrelse tastaturknapper:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2591,6 +2591,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2485,7 +2485,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Tastengröße der Tastatur:</translation>
<translation type="vanished">Tastengröße der Tastatur:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2596,6 +2596,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2473,7 +2473,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Μέγεθος πλήκτρων πληκτρολογίου:</translation>
<translation type="vanished">Μέγεθος πλήκτρων πληκτρολογίου:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2404,10 +2404,6 @@ p, li { white-space: pre-wrap; }
<source>Virtual Keyboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
<translation type="unfinished"></translation>
@ -2528,6 +2524,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2404,10 +2404,6 @@ p, li { white-space: pre-wrap; }
<source>Virtual Keyboard</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
<translation type="unfinished"></translation>
@ -2528,6 +2524,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2479,7 +2479,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Tamaño de los botones del teclado:</translation>
<translation type="vanished">Tamaño de los botones del teclado:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2589,6 +2589,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2483,7 +2483,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Taille des touches du clavier virtuel:</translation>
<translation type="vanished">Taille des touches du clavier virtuel:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2605,6 +2605,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation>Utiliser le clavier virtuel système (recommandé)</translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation>Taille des touches du clavier virtuel integré :</translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2483,7 +2483,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Taille des touches du clavier virtuel:</translation>
<translation type="vanished">Taille des touches du clavier virtuel:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2605,6 +2605,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation>Utiliser le clavier virtuel système (recommandé)</translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation>Taille des touches du clavier virtuel integré :</translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2485,7 +2485,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Dimensione pulsanti tastiera:</translation>
<translation type="vanished">Dimensione pulsanti tastiera:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2478,7 +2478,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>גודל מקשי המקלדת:</translation>
<translation type="vanished">גודל מקשי המקלדת:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2588,6 +2588,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2472,7 +2472,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>: </translation>
<translation type="vanished">: </translation>
</message>
<message>
<source>Toolbar</source>
@ -2582,6 +2582,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2486,7 +2486,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation> :</translation>
<translation type="vanished"> :</translation>
</message>
<message>
<source>Toolbar</source>
@ -2596,6 +2596,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2473,7 +2473,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Haben&apos;ny kitendrin&apos;ny fafan-teny:</translation>
<translation type="vanished">Haben&apos;ny kitendrin&apos;ny fafan-teny:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2480,7 +2480,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Tastestørrelse tastatur:</translation>
<translation type="vanished">Tastestørrelse tastatur:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2592,6 +2592,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2470,7 +2470,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Formaat knoppen van toetsenbord:</translation>
<translation type="vanished">Formaat knoppen van toetsenbord:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2580,6 +2580,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2496,7 +2496,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Rozmiar przycisków klawiatury:</translation>
<translation type="vanished">Rozmiar przycisków klawiatury:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2606,6 +2606,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2483,7 +2483,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Tamanho dos botões do teclado:</translation>
<translation type="vanished">Tamanho dos botões do teclado:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2485,7 +2485,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Dimensiune buton tastatură:</translation>
<translation type="vanished">Dimensiune buton tastatură:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2485,7 +2485,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Размер клавиш клавиатуры:</translation>
<translation type="vanished">Размер клавиш клавиатуры:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2595,6 +2595,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2517,7 +2517,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Veľkosť tlačidla klávesnice:</translation>
<translation type="vanished">Veľkosť tlačidla klávesnice:</translation>
</message>
<message>
<source>Stylus Palette</source>
@ -2599,6 +2599,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2486,7 +2486,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Storlek tangentbordet knappar:</translation>
<translation type="vanished">Storlek tangentbordet knappar:</translation>
</message>
<message>
<source>Toolbar</source>
@ -2596,6 +2596,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2471,7 +2471,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>Klavye tuş boyutu:</translation>
<translation type="vanished">Klavye tuş boyutu:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2593,6 +2593,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2483,7 +2483,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<source>Toolbar</source>
@ -2593,6 +2593,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2483,7 +2483,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<source>Toolbar</source>
@ -2593,6 +2593,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -2458,7 +2458,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<source>Keyboard button size:</source>
<translation>:</translation>
<translation type="vanished">:</translation>
</message>
<message>
<source>Positioned at the Top (recommended for tablets)</source>
@ -2580,6 +2580,10 @@ p, li { white-space: pre-wrap; }
<source>Use system keyboard (recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Built-in virtual keyboard button size:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>trapFlashDialog</name>

@ -130,6 +130,8 @@ void UBPreferencesController::wire()
connect(mPreferencesUI->useSystemOSKCheckBox, SIGNAL(clicked(bool)), settings->useSystemOnScreenKeyboard, SLOT(setBool(bool)));
connect(mPreferencesUI->useSystemOSKCheckBox, SIGNAL(clicked(bool)), this, SLOT(systemOSKCheckBoxToggled(bool)));
connect(mPreferencesUI->keyboardPaletteKeyButtonSize, SIGNAL(currentIndexChanged(const QString &)), settings->boardKeyboardPaletteKeyBtnSize, SLOT(setString(const QString &)));
connect(mPreferencesUI->startModeComboBox, SIGNAL(currentIndexChanged(int)), settings->appStartMode, SLOT(setInt(int)));
@ -201,6 +203,7 @@ void UBPreferencesController::init()
}
mPreferencesUI->useSystemOSKCheckBox->setChecked(settings->useSystemOnScreenKeyboard->get().toBool());
this->systemOSKCheckBoxToggled(mPreferencesUI->useSystemOSKCheckBox->isChecked());
mPreferencesUI->startModeComboBox->setCurrentIndex(settings->appStartMode->get().toInt());
@ -451,6 +454,12 @@ void UBPreferencesController::toolbarOrientationHorizontal(bool checked)
settings->appToolBarOrientationVertical->set(!checked);
}
void UBPreferencesController::systemOSKCheckBoxToggled(bool checked)
{
mPreferencesUI->keyboardPaletteKeyButtonSize->setVisible(!checked);
mPreferencesUI->keyboardPaletteKeyButtonSize_Label->setVisible(!checked);
}
UBBrushPropertiesFrame::UBBrushPropertiesFrame(QFrame* owner, const QList<QColor>& lightBackgroundColors,
const QList<QColor>& darkBackgroundColors, const QList<QColor>& lightBackgroundSelectedColors,
const QList<QColor>& darkBackgroundSelectedColors, UBPreferencesController* controller)

@ -93,6 +93,7 @@ class UBPreferencesController : public QObject
void toolbarPositionChanged(bool checked);
void toolbarOrientationVertical(bool checked);
void toolbarOrientationHorizontal(bool checked);
void systemOSKCheckBoxToggled(bool checked);
private slots:
void adjustScreens(int screen);

Loading…
Cancel
Save