[kde-doc-english] [kwave/frameworks] /: added screenshot of the edit_label dialog

Thomas Eschenbacher Thomas.Eschenbacher at gmx.de
Sat Oct 17 16:34:51 UTC 2015


Git commit bf08602ab7768f4c2a7fb51c3ed4889e19187e9a by Thomas Eschenbacher.
Committed on 17/10/2015 at 16:34.
Pushed by eschenbacher into branch 'frameworks'.

added screenshot of the edit_label dialog

M  +1    -0    CHANGES
M  +0    -1    TODO
M  +11   -0    doc/en/index.docbook
M  +3    -3    scripts/create-testfile.kwave
M  +9    -0    scripts/screenshots.kwave

http://commits.kde.org/kwave/bf08602ab7768f4c2a7fb51c3ed4889e19187e9a

diff --git a/CHANGES b/CHANGES
index 7f9a2a1..24ded78 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@
    title of the current block
  * workaround for bug in KDE #345320 (missing translators in help/about dialog)
  * about pugin: added info about translation team
+ * added screenshot of the edit_label dialog
 
 0.9.0 [2015-05-25]
 
diff --git a/TODO b/TODO
index cbe3f16..468ba3a 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
 
 o PHONON playback is broken (skips input/too fast?)
-o screenshot for "editlabel()"
 
 o recording via Phonon
 
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 27f8a55..ce14bee 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -3468,6 +3468,17 @@
 
 	<!-- @COMMAND@ edit_label(index) -->
 	<sect2 id="cmd_sect_edit_label"><title id="cmd_title_edit_label">&no-i18n-cmd_edit_label;</title>
+	<screenshot>
+	    <screeninfo>Screenshot</screeninfo>
+	    <mediaobject>
+		<imageobject>
+		    <imagedata fileref="kwave-edit-label.png" format="PNG"/>
+		</imageobject>
+		<textobject>
+		    <phrase>Screenshot of the label editing dialog</phrase>
+		</textobject>
+	    </mediaobject>
+	</screenshot>
 	<simplesect>
 	    <title>&i18n-cmd_syntax;<command>&no-i18n-cmd_edit_label;</command>(<replaceable>index</replaceable>)</title>
 	    <para>
diff --git a/scripts/create-testfile.kwave b/scripts/create-testfile.kwave
index 70a1e3a..8f498cc 100644
--- a/scripts/create-testfile.kwave
+++ b/scripts/create-testfile.kwave
@@ -23,9 +23,9 @@ view:zoom_all()
 selectall()
 plugin:execute(normalize)
 add_track()
-add_label(10478, "left")
-add_label(151500, "right")
-add_label(80000, "middle")
+add_label(10478, Beethoven - Symphony No. 5)
+add_label(151500, right)
+add_label(80000, middle)
 select_track:off(1)
 copy()
 select_track:invert()
diff --git a/scripts/screenshots.kwave b/scripts/screenshots.kwave
index e5939ad..1d6ec3c 100644
--- a/scripts/screenshots.kwave
+++ b/scripts/screenshots.kwave
@@ -124,6 +124,15 @@ main:
     sync()
 
 #
+# screenshot of the Edit Label dialog
+#
+edit-label:
+    delayed(1000,window:screenshot(Kwave::LabelPropertiesWidget, /var/tmp/screenshots/${LANG}/kwave-edit-label.png))
+    delayed(100,window:close(Kwave::LabelPropertiesWidget))
+    edit_label(0)
+    sync()
+
+#
 # screenshot of the Help/About dialog
 #
 plugin-about:


More information about the kde-doc-english mailing list