[kde-doc-english] [kxstitch] /: Add prompts for user to add flosses to palette in new patterns

Steve Allewell steve.allewell at gmail.com
Wed Jun 18 18:28:08 UTC 2014


Git commit 099945b580129569e4a883065e293a44a662ee2a by Steve Allewell.
Committed on 18/06/2014 at 18:24.
Pushed by sallewell into branch 'master'.

Add prompts for user to add flosses to palette in new patterns

Palette view tooltip updated to show need to add flosses to palette to
enable the drawing tools.  Updated documentation to show this need in
the creating patterns section.

GUI: Updated tooltip message,  Updated documentation text.

M  +5    -0    doc/patterns.docbook
M  +1    -1    src/Palette.cpp

http://commits.kde.org/kxstitch/099945b580129569e4a883065e293a44a662ee2a

diff --git a/doc/patterns.docbook b/doc/patterns.docbook
index 585bb79..8f29202 100644
--- a/doc/patterns.docbook
+++ b/doc/patterns.docbook
@@ -13,6 +13,11 @@
             the <menuchoice><guimenu>File</guimenu><guimenuitem>File Properties</guimenuitem></menuchoice> dialog to change it.
             Adjust the values as required and after clicking on <guibutton>OK</guibutton>, the pattern will be resized to suit.
         </para>
+        <para>
+            Before creating a pattern you will need to add some flosses to the palette using the <menuchoice><guimenu>Palette</guimenu>
+            <guimenuitem>Palette Manager</guimenuitem></menuchoice>. This will enable the tools in the <menuchoice><guimenu>Tools</guimenu></menuchoice> menu and toolbar.
+            See the <link linkend="PaletteManagerDialog">Palette Manager Dialog</link> for further information.
+        </para>
     </sect1>
 
     <sect1 id="importing-images">
diff --git a/src/Palette.cpp b/src/Palette.cpp
index 045c66f..81499fb 100644
--- a/src/Palette.cpp
+++ b/src/Palette.cpp
@@ -264,7 +264,7 @@ bool Palette::event(QEvent *event)
                 event->ignore();
             }
         } else {
-            QToolTip::showText(helpEvent->globalPos(), i18n("No colors in palette"));
+            QToolTip::showText(helpEvent->globalPos(), i18n("There are no flosses in the palette.\nAdd them with the Palette Manager\nwhich will then enable the drawing tools."));
         }
 
         return true;


More information about the kde-doc-english mailing list