changeset 223:0ad684255485

Add some tooltips to the main window.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 Mar 2018 10:24:45 +0200
parents 5406b8664f00
children d340a85b7669
files src/mainwindow.ui
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mainwindow.ui	Wed Mar 07 14:47:25 2018 +0200
+++ b/src/mainwindow.ui	Mon Mar 12 10:24:45 2018 +0200
@@ -92,6 +92,9 @@
         <layout class="QHBoxLayout" name="horizontalLayout">
          <item>
           <widget class="QPushButton" name="button_DeletePerson">
+           <property name="toolTip">
+            <string>Poista valittu henkilö, kaikki henkilön transaktiot. Kysyy varmistuksen.</string>
+           </property>
            <property name="text">
             <string>Poista henkilö</string>
            </property>
@@ -180,6 +183,9 @@
            </item>
            <item>
             <widget class="QLabel" name="label_BalanceValue">
+             <property name="toolTip">
+              <string>Henkilön nykyinen kokonaisvelka.</string>
+             </property>
              <property name="text">
               <string>12345</string>
              </property>
@@ -224,6 +230,9 @@
           <layout class="QHBoxLayout" name="horizontalLayout_5">
            <item>
             <widget class="QPushButton" name="button_AddDebt">
+             <property name="toolTip">
+              <string>Lisää valitulle henkilölle velkaa.</string>
+             </property>
              <property name="text">
               <string>Lisää velkaa</string>
              </property>
@@ -231,6 +240,9 @@
            </item>
            <item>
             <widget class="QPushButton" name="button_PayDebt">
+             <property name="toolTip">
+              <string>Maksa/poista valitulta henkilöltä velkaa.</string>
+             </property>
              <property name="text">
               <string>Maksa velkaa</string>
              </property>
@@ -257,6 +269,9 @@
          </item>
          <item>
           <widget class="QPushButton" name="button_PayFullDebt">
+           <property name="toolTip">
+            <string>Maksa käyttäjän koko nykyinen velka kerralla (kysyy varmistuksen).</string>
+           </property>
            <property name="text">
             <string>Maksa koko velka</string>
            </property>
@@ -285,6 +300,9 @@
         </property>
         <item>
          <widget class="QPushButton" name="button_About">
+          <property name="toolTip">
+           <string>Näytä tietoja tästä ohjelmasta.</string>
+          </property>
           <property name="text">
            <string/>
           </property>
@@ -302,6 +320,9 @@
         </item>
         <item>
          <widget class="QPushButton" name="button_Print">
+          <property name="toolTip">
+           <string>Henkilölistan tulostuksen esikatselu.</string>
+          </property>
           <property name="text">
            <string>Tulosta</string>
           </property>
@@ -309,6 +330,9 @@
         </item>
         <item>
          <widget class="QPushButton" name="button_ViewTransactions">
+          <property name="toolTip">
+           <string>Täydellinen tapahtumalista.</string>
+          </property>
           <property name="text">
            <string>Tapahtumat</string>
           </property>
@@ -329,6 +353,9 @@
         </item>
         <item>
          <widget class="QPushButton" name="button_Quit">
+          <property name="toolTip">
+           <string>Poistu ohjelmasta ja suorita etävarmuuskopiointi.</string>
+          </property>
           <property name="text">
            <string>Poistu ohjelmasta</string>
           </property>