Subversion Repositories public

Rev

Rev 88 | Rev 212 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
88 andreas 1
<?xml version="1.0" ?>
2
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
155 andreas 3
  <!ENTITY sportwatcher "<application>sportwatcher 0.3</application>">
88 andreas 4
  <!ENTITY kappname "&sportwatcher;"><!-- Do *not* replace kappname-->
5
  <!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc -->
6
  <!ENTITY % addindex "IGNORE">
7
  <!ENTITY % English "INCLUDE"><!-- change language only here -->
8
 
9
 
10
  <!-- Do not define any other entities; instead, use the entities
11
       from kde-genent.entities and $LANG/user.entities. -->
12
]>
13
<!-- kdoctemplate v0.8 October 1 1999 
14
     Minor update to "Credits and Licenses" section on August 24, 2000
15
     Removed "Revision history" section on 22 January 2001
16
     Changed to Installation/Help menu entities 18 October 2001
17
     Other minor cleanup and changes 18 October 2001 -->
18
 
19
 
20
<!--
21
This template was designed by: David Rugge davidrugge@mindspring.com
22
with lots of help from: Eric Bischoff ebisch@cybercable.tm.fr
23
and Frederik Fouvry fouvry@sfs.nphil.uni-tuebingen.de
24
of the KDE DocBook team.
25
 
26
You may freely use this template for writing any sort of KDE documentation.
27
If you have any changes or improvements, please let us know.
28
 
29
Remember:
30
- in XML, the case of the <tags> and attributes is relevant ;
31
- also, quote all attributes.
32
 
33
Please don't forget to remove all these comments in your final documentation,
34
thanks ;-).
35
-->
36
 
37
<!-- ................................................................ -->
38
 
39
<!-- The language must NOT be changed here. -->
40
 
41
<book lang="&language;">
42
 
43
<!-- This header contains all of the meta-information for the document such
44
as Authors, publish date, the abstract, and Keywords -->
45
 
46
<bookinfo>
47
<title>The &sportwatcher; Handbook</title>
48
 
49
<authorgroup>
50
<author>
155 andreas 51
<firstname>Andreas</firstname>
88 andreas 52
<othername></othername>
155 andreas 53
<surname>Theofilu</surname>
88 andreas 54
<affiliation>
55
<address><email>andreas@theosys.at</email></address>
56
</affiliation>
57
</author>
58
</authorgroup>
59
 
60
<!-- TRANS:ROLES_OF_TRANSLATORS -->
61
 
62
<copyright>
63
<year>2007</year>
155 andreas 64
<year>2008</year>
88 andreas 65
<holder>Andreas Theofilu</holder>
66
</copyright>
67
<!-- Translators: put here the copyright notice of the translation -->
68
<!-- Put here the FDL notice.  Read the explanation in fdl-notice.docbook
69
     and in the FDL itself on how to use it. -->
70
<legalnotice>&FDLNotice;</legalnotice>
71
 
72
<!-- Date and version information of the documentation
73
Don't forget to include this last date and this last revision number, we
74
need them for translation coordination !
75
Please respect the format of the date (YYYY-MM-DD) and of the version
76
(V.MM.LL), it could be used by automation scripts.
77
Do NOT change these in the translation. -->
78
 
155 andreas 79
<date>2008-01-01</date>
80
<releaseinfo>0.3</releaseinfo>
88 andreas 81
 
82
<!-- Abstract about this handbook -->
83
 
84
<abstract>
85
<para>
155 andreas 86
&sportwatcher; is an application specially designed to get out the data of
87
the Garmin Forerunner 305 over USB port. It may alo work for other Garmin
88
devices, unsing the same interface.
88 andreas 89
</para>
90
</abstract>
91
 
92
<!-- This is a set of Keywords for indexing by search engines.
93
Please at least include KDE, the KDE package it is in, the name
94
 of your application, and a few relevant keywords. -->
95
 
96
<keywordset>
97
<keyword>KDE</keyword>
155 andreas 98
<keyword>Sportwatcher</keyword>
99
<keyword>Garmin</keyword>
100
<keyword>GDAL</keyword>
88 andreas 101
</keywordset>
102
 
103
</bookinfo>
104
 
105
<!-- The contents of the documentation begin here.  Label
106
each chapter so with the id attribute. This is necessary for two reasons: it
107
allows you to easily reference the chapter from other chapters of your
108
document, and if there is no ID, the name of the generated HTML files will vary
109
from time to time making it hard to manage for maintainers and for the CVS
110
system. Any chapter labelled (OPTIONAL) may be left out at the author's
111
discretion. Other chapters should not be left out in order to maintain a
112
consistent documentation style across all KDE apps. -->
113
 
114
<chapter id="introduction">
115
<title>Introduction</title>
116
 
117
<!-- The introduction chapter contains a brief introduction for the
118
application that explains what it does and where to report
119
problems. Basically a long version of the abstract.  Don't include a
120
revision history. (see installation appendix comment) -->
121
 
122
<para>
155 andreas 123
&sportwatcher; is a program that lets you load the data from a Garmin
124
Forerunner 305 and similar products, over the USB port. &sportwatcher;
125
displays the laps, track heart beats per minute and the profile of the
126
surface. It is able to put a satellite image underneath the track or, if
127
available, a map or may both combined. To do this, it uses the WMS service,
128
provided by the GDAL library.
129
 
130
Please report any problems or feature requests to andreas@theosys.at.
88 andreas 131
</para>
132
</chapter>
133
 
134
<chapter id="using-sportwatcher">
135
<title>Using &sportwatcher;</title>
136
 
137
<!-- This chapter should tell the user how to use your app. You should use as
138
many sections (Chapter, Sect1, Sect3, etc...) as is necessary to fully document
139
your application. -->
140
 
141
<para>
142
 
143
<!-- Note that all graphics should be in .png format. Use no gifs because of
144
patent issues. -->
145
 
146
<screenshot>
147
<screeninfo>Here's a screenshot of &sportwatcher;</screeninfo>
148
	<mediaobject>
149
	  <imageobject>
150
	    <imagedata fileref="screenshot.png" format="PNG"/>
151
	  </imageobject>
152
	  <imageobject>
153
	    <imagedata fileref="screenshot.eps" format="EPS"/>
154
	  </imageobject>
155
	  <textobject>
156
	    <phrase>Screenshot</phrase>
157
	  </textobject>
158
	</mediaobject>
159
</screenshot>
160
</para>
161
 
162
 
163
<sect1 id="sportwatcher-features">
164
<title>More &sportwatcher; features</title>
165
 
166
<para>It slices! It dices! and it comes with a free toaster!</para>
167
<para>
168
The Squiggle Tool <guiicon><inlinemediaobject>
169
	  <imageobject>
170
	    <imagedata fileref="squiggle.png" format="PNG"/>
171
	  </imageobject>
172
	  <imageobject>
173
	    <imagedata fileref="squiggle.eps" format="EPS"/>
174
	  </imageobject>
175
	  <textobject>
176
	    <phrase>Squiggle</phrase>
177
	  </textobject>
178
</inlinemediaobject></guiicon> is used to draw squiggly lines all over
179
the &sportwatcher; main window. It's not a bug, it's a feature!
180
</para>
181
 
182
</sect1>
183
</chapter>
184
 
185
<chapter id="commands">
186
<title>Command Reference</title>
187
 
188
<!-- (OPTIONAL, BUT RECOMMENDED) This chapter should list all of the
189
application windows and their menubar and toolbar commands for easy reference.
190
Also include any keys that have a special function but have no equivalent in the
191
menus or toolbars. This may not be necessary for small apps or apps with no tool
192
or menu bars. -->
193
 
194
<sect1 id="sportwatcher-mainwindow">
195
<title>The main &sportwatcher; window</title>
196
 
197
<sect2>
198
<title>The File Menu</title>
199
<para>
200
<variablelist>
201
<varlistentry>
202
<term><menuchoice>
203
<shortcut>
204
<keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo>
205
</shortcut>
206
<guimenu>File</guimenu>
207
<guimenuitem>New</guimenuitem>
208
</menuchoice></term>
209
<listitem><para><action>Creates a new document</action></para></listitem>
210
</varlistentry>
211
<varlistentry>
212
<term><menuchoice>
213
<shortcut>
214
<keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo>
215
</shortcut>
216
<guimenu>File</guimenu>
217
<guimenuitem>Save</guimenuitem>
218
</menuchoice></term>
219
<listitem><para><action>Saves the document</action></para></listitem>
220
</varlistentry>
221
<varlistentry>
222
<term><menuchoice>
223
<shortcut>
224
<keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo>
225
</shortcut>
226
<guimenu>File</guimenu>
227
<guimenuitem>Quit</guimenuitem>
228
</menuchoice></term>
229
<listitem><para><action>Quits</action> &sportwatcher;</para></listitem>
230
</varlistentry>
231
</variablelist>
232
</para>
233
 
234
</sect2>
235
 
236
<sect2>
237
<title>The <guimenu>Help</guimenu> Menu</title>
238
 
239
<!-- Assuming you have a standard help menu (help, what's this, about -->
240
<!-- &sportwatcher;, about KDE) then the documentation is already written. -->
241
<!-- The following entity is valid anywhere that a variablelist is -->
242
<!-- valid.  -->
243
 
244
&help.menu.documentation;
245
 
246
</sect2>
247
 
248
</sect1>
249
</chapter>
250
 
251
<chapter id="developers">
252
<title>Developer's Guide to &sportwatcher;</title>
253
 
254
<!-- (OPTIONAL) A Programming/Scripting reference chapter should be
255
used for apps that use plugins or that provide their own scripting hooks
256
and/or development libraries. -->
257
 
258
<para>
259
Programming &sportwatcher; plugins is a joy to behold. Just read through the next
260
66 pages of API's to learn how!
261
</para>
262
 
263
<!-- Use refentries to describe APIs.  Refentries are fairly complicated and you
264
should consult the docbook reference for further details. The example below was
265
taken from that reference and shortened a bit for readability. -->
266
 
267
<refentry id="re-1007-unmanagechildren-1">
268
<refmeta>
269
<refentrytitle>XtUnmanageChildren</refentrytitle>
270
<refmiscinfo>Xt - Geometry Management</refmiscinfo>
271
</refmeta>
272
<refnamediv>
273
<refname>XtUnmanageChildren
274
</refname>
275
<refpurpose>remove a list of children from a parent widget's managed
276
list.
277
<indexterm id="ix-1007-unmanagechildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm>
278
<indexterm id="ix-1007-unmanagechildren-2"><primary>XtUnmanageChildren</primary></indexterm> 
279
</refpurpose>
280
 
281
</refnamediv>
282
<refsynopsisdiv>
283
<refsynopsisdivinfo>
284
<date>4 March 1996</date>
285
</refsynopsisdivinfo>
286
<synopsis>
287
void XtUnmanageChildren(<replaceable class="parameter">children</replaceable>, <replaceable class="parameter">num_children</replaceable>)
288
    WidgetList <replaceable class="parameter">children</replaceable>;
289
    Cardinal <replaceable class="parameter">num_children</replaceable>;
290
</synopsis>
291
 
292
<refsect2 id="r2-1007-unmanagechildren-1">
293
<title>Inputs</title>
294
<variablelist>
295
<varlistentry>
296
<term><replaceable class="parameter">children</replaceable>
297
</term>
298
<listitem>
299
<para>Specifies an array of child widgets. Each child must be of
300
class RectObj or any subclass thereof.
301
</para>
302
</listitem>
303
</varlistentry>
304
<varlistentry>
305
<term><replaceable class="parameter">num_children</replaceable>
306
</term>
307
<listitem>
308
<para>Specifies the number of elements in <replaceable class="parameter">children</replaceable>.
309
</para>
310
</listitem>
311
</varlistentry>
312
</variablelist>
313
</refsect2></refsynopsisdiv>
314
 
315
<refsect1 id="r1-1007-unmanagechildren-1">
316
<title>Description
317
</title>
318
<para><function>XtUnmanageChildren()</function> unmaps the specified widgets
319
and removes them from their parent's geometry management.
320
The widgets will disappear from the screen, and (depending
321
on its parent) may no longer have screen space allocated for
322
them.
323
</para>
324
<para>Each of the widgets in the <replaceable class="parameter">children</replaceable> array must have
325
the same parent.
326
</para>
327
<para>See the &ldquo;Algorithm&rdquo; section below for full details of the
328
widget unmanagement procedure.
329
</para>
330
</refsect1>
331
 
332
<refsect1 id="r1-1007-unmanagechildren-2">
333
<title>Usage</title>
334
<para>Unmanaging widgets is the usual method for temporarily
335
making them invisible.  They can be re-managed with
336
<function>XtManageChildren()</function>.
337
</para>
338
<para>You can unmap a widget, but leave it under geometry
339
management by calling <function>XtUnmapWidget()</function>.  You can
340
destroy a widget's window without destroying the widget by
341
calling <function>XtUnrealizeWidget()</function>.  You can destroy a
342
widget completely with <function>XtDestroyWidget()</function>.
343
</para>
344
<para>If you are only going to unmanage a single widget, it is
345
more convenient to call <function>XtUnmanageChild()</function>.  It is
346
often more convenient to call <function>XtUnmanageChild()</function>
347
several times than it is to declare and initialize an array
348
of widgets to pass to <function>XtUnmanageChildren()</function>.  Calling
349
<function>XtUnmanageChildren()</function> is more efficient, however,
350
because it only calls the parent's <function>change_managed()</function>
351
method once.
352
</para>
353
</refsect1>
354
 
355
<refsect1 id="r1-1007-unmanagechildren-3">
356
<title>Algorithm
357
</title>
358
<para><function>XtUnmanageChildren()</function> performs the following:
359
</para>
360
<variablelist>
361
<varlistentry>
362
<term>-
363
</term>
364
<listitem>
365
<para>Ignores the child if it already is unmanaged or is being
366
destroyed.
367
</para>
368
</listitem>
369
</varlistentry>
370
<varlistentry>
371
<term>-
372
</term>
373
<listitem>
374
<para>Otherwise, if the child is realized, it makes it nonvisible
375
by unmapping it.
376
</para>
377
</listitem>
378
</varlistentry>
379
</variablelist>
380
<para>
381
</para>
382
</refsect1>
383
 
384
<refsect1 id="r1-1007-unmanagechildren-4">
385
<title>Structures</title>
386
<para>The <type>WidgetList</type> type is simply an array of widgets:
387
</para>
388
<screen id="sc-1007-unmanagechildren-1">typedef Widget *WidgetList;
389
</screen>
390
</refsect1>
391
</refentry>
392
 
393
</chapter>
394
 
395
<chapter id="faq">
396
<title>Questions and Answers</title>
397
 
398
<!-- (OPTIONAL but recommended) This chapter should include all of the silly
399
(and not-so-silly) newbie questions that fill up your mailbox. This chapter
400
should be reserved for BRIEF questions and answers! If one question uses more
401
than a page or so then it should probably be part of the
402
"Using this Application" chapter instead. You should use links to
403
cross-reference questions to the parts of your documentation that answer them.
404
This is also a great place to provide pointers to other FAQ's if your users
405
must do some complicated configuration on other programs in order for your
406
application work. -->
407
 
408
&reporting.bugs;
409
&updating.documentation;
410
 
411
<qandaset id="faqlist">
412
<qandaentry>
413
<question>
414
<para>My Mouse doesn't work. How do I quit &sportwatcher;?</para>
415
</question>
416
<answer>
417
<para>You silly goose! Check out the <link linkend="commands">Commands
418
Section</link> for the answer.</para>
419
</answer>
420
</qandaentry>
421
<qandaentry>
422
<question>
423
<para>Why can't I twiddle my documents?</para>
424
</question>
425
<answer>
426
<para>You can only twiddle your documents if you have the foobar.lib
427
installed.</para>
428
</answer>
429
</qandaentry>
430
</qandaset>
431
</chapter>
432
 
433
<chapter id="credits">
434
 
435
<!-- Include credits for the programmers, documentation writers, and
436
contributors here. The license for your software should then be included below
437
the credits with a reference to the appropriate license file included in the KDE
438
distribution. -->
439
 
440
<title>Credits and License</title>
441
 
442
<para>
443
&sportwatcher;
444
</para>
445
<para>
446
Program copyright 2007 Andreas Theofilu <email>andreas@theosys.at</email>
447
</para>
448
<para>
449
Contributors:
450
<itemizedlist>
451
<listitem><para>Konqui the KDE Dragon <email>konqui@kde.org</email></para>
452
</listitem>
453
<listitem><para>Tux the Linux Penguin <email>tux@linux.org</email></para>
454
</listitem>
455
</itemizedlist>
456
</para>
457
 
458
<para>
459
Documentation copyright 2007 Andreas Theofilu <email>andreas@theosys.at</email>
460
</para>
461
 
462
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
463
 
464
&underFDL;               <!-- FDL: do not remove -->
465
 
466
<!-- Determine which license your application is licensed under, 
467
     and delete all the remaining licenses below:
468
 
469
     (NOTE:  All documentation are licensed under the FDL, 
470
     regardless of what license the application uses) -->
471
 
472
&underGPL;        	 <!-- GPL License -->
473
&underBSDLicense;        <!-- BSD License -->
474
&underArtisticLicense;   <!-- BSD Artistic License -->
475
&underX11License;        <!-- X11 License  -->
476
 
477
</chapter>
478
 
479
<appendix id="installation">
480
<title>Installation</title>
481
 
482
<sect1 id="getting-sportwatcher">
483
<title>How to obtain &sportwatcher;</title>
484
 
485
<!-- This first entity contains boiler plate for applications that are
486
part of KDE CVS.  You should remove it if you are releasing your
487
application --> 
488
 
489
&install.intro.documentation;
490
 
491
</sect1>
492
 
493
<sect1 id="requirements">
494
<title>Requirements</title>
495
 
496
<!--
497
List any special requirements for your application here. This should include:
498
.Libraries or other software that is not included in kdesupport,
499
kdelibs, or kdebase.
500
.Hardware requirements like amount of RAM, disk space, graphics card
501
capabilities, screen resolution, special expansion cards, etc.
502
.Operating systems the app will run on. If your app is designed only for a
503
specific OS, (you wrote a graphical LILO configurator for example) put this
504
information here.
505
-->
506
 
507
<para>
508
In order to successfully use &sportwatcher;, you need &kde; 1.1. Foobar.lib is
509
required in order to support the advanced &sportwatcher; features. &sportwatcher; uses
510
about 5 megs of memory to run, but this may vary depending on your
511
platform and configuration.
512
</para>
513
 
514
<para>
515
All required libraries as well as &sportwatcher; itself can be found
516
on <ulink url="ftp://ftp.sportwatcher.org">The &sportwatcher; home page</ulink>.
517
</para>
518
 
519
<!-- For a list of updates, you may refer to the application web site
520
or the ChangeLog file, or ... -->
521
<para>
522
You can find a list of changes at <ulink
523
url="http://apps.kde.org/sportwatcher">http://apps.kde.org/sportwatcher</ulink>.
524
</para>
525
</sect1>
526
 
527
<sect1 id="compilation">
528
<title>Compilation and Installation</title>
529
 
530
<!-- This entity contains the boilerplate text for standard -->
531
<!-- compilation instructions.  If your application requires any -->
532
<!-- special handling, remove it, and replace with your own text. -->
533
 
534
&install.compile.documentation;
535
 
536
</sect1>
537
 
538
<sect1 id="configuration">
539
<title>Configuration</title>
540
 
541
<para>Don't forget to tell your system to start the <filename>dtd</filename>
542
dicer-toaster daemon first, or &sportwatcher; won't work !</para>
543
 
544
</sect1>
545
 
546
</appendix>
547
 
548
&documentation.index;
549
</book>
550
 
551
<!--
552
Local Variables:
553
mode: sgml
554
sgml-minimize-attributes:nil
555
sgml-general-insert-case:lower
556
sgml-indent-step:0
557
sgml-indent-data:nil
558
End:
559
 
560
vim:tabstop=2:shiftwidth=2:expandtab 
561
-->
562