[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeaccessibility/kmouth/phrasebook
From:       Gunnar Schmidt <gunnar () schmi-dt ! de>
Date:       2004-05-31 15:08:57
Message-ID: 20040531150857.EAA08126E2 () office ! kde ! org
[Download RAW message or body]

CVS commit by gunnar: 

Added missing 'What's This'-texts


  M +12 -0     buttonboxui.ui   1.4
  M +3 -0      phrasebookdialog.cpp   1.16


--- kdeaccessibility/kmouth/phrasebook/buttonboxui.ui  #1.3:1.4
@@ -52,4 +52,7 @@
                         <cstring>lineEdit</cstring>
                     </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>With this line edit you define the name of a \
sub-phrasebook or the contents of a phrase.</string> +                    </property>
                 </widget>
                 <widget class="QRadioButton" row="3" column="0">
@@ -60,4 +63,7 @@
                         <string>&amp;None</string>
                     </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>If you select this option then the selected phrase \
will not be reachable by a keyboard shortcut.</string> +                    \
</property>  </widget>
                 <widget class="QRadioButton" row="3" column="1">
@@ -68,4 +74,7 @@
                         <string>C&amp;ustom</string>
                     </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>If you select this option then the selected phrase \
will be reachable by a keyboard shortcut. You can change the shortcut with the button \
next to this option.</string> +                    </property>
                 </widget>
                 <widget class="QLabel" row="2" column="0" rowspan="1" colspan="3">
@@ -87,4 +96,7 @@
                         <cstring>lineEdit</cstring>
                     </property>
+                    <property name="whatsThis" stdset="0">
+                        <string>With this line edit you define the name of a \
sub-phrasebook or the contents of a phrase.</string> +                    </property>
                 </widget>
             </grid>

--- kdeaccessibility/kmouth/phrasebook/phrasebookdialog.cpp  #1.15:1.16
@@ -28,4 +28,5 @@
 #include <qvaluestack.h>
 #include <qptrstack.h>
+#include <qwhatsthis.h>
 
 // include files for KDE
@@ -239,4 +240,5 @@ ButtonBoxWidget::ButtonBoxWidget (QWidge
    keyButton = new KKeyButton (keyButtonPlace, "key");
    keyButtonPlaceLayout->addWidget (keyButton, 1,1);
+   QWhatsThis::add (keyButton, i18n("By clicking on this button you can select the \
keyboard shortcut associated with the selected phrase."));  
    group = new QButtonGroup (phrasebox);
@@ -301,4 +303,5 @@ void PhraseBookDialog::initGUI () {
    treeView->setAllColumnsShowFocus (true);
    treeView->setSelectionMode (QListView::Extended); 
+   QWhatsThis::add (treeView, i18n("This list contains the current phrase book in a \
tree structure. You can select and modify individual phrases and sub phrase books")); \
connect (treeView, SIGNAL(currentChanged(QListViewItem *)), this, \
SLOT(currentChanged(QListViewItem *)));  connect (treeView, \
SIGNAL(contextMenuRequested (QListViewItem *, const QPoint &, int)), this, \
SLOT(contextMenuRequested (QListViewItem *, const QPoint &, int)));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic