Thu, 06 Aug 2009 13:21:30 +0200
Remove seemingly declarations unnecessary according to Qt 4.5.2 headers.
1 ##
2 ## OSSP asgui - Accounting system graphical user interface
3 ## Copyright (c) 2002-2009 The OSSP Project (http://www.ossp.org/)
4 ## Copyright (c) 2002-2009 Ralf S. Engelschall <rse@engelschall.com>
5 ## Copyright (c) 2002-2009 Michael Schloh von Bennewitz <michael@schloh.com>
6 ## Copyright (c) 2002-2009 Cable & Wireless Telecommunications Services GmbH
7 ##
8 ## This file is part of OSSP asgui, an accounting system graphical user
9 ## interface which can be found at http://asgui.europalab.com/.
10 ##
11 ## Permission to use, copy, modify, and distribute this software for
12 ## any purpose with or without fee is hereby granted, provided that
13 ## the above copyright notice and this permission notice appear in all
14 ## copies.
15 ##
16 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
17 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
20 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 ## SUCH DAMAGE.
28 ##
29 ## as-gui.pod: Plain old documentation file
30 ##
32 =pod
34 =head1 NAME
36 B<as-gui> - accounting system graphical client
38 =head1 VERSION
40 as-gui ASGUI_VERSION_STR
42 =head1 SYNOPSIS
44 B<as-gui>
45 [I<X11_options>]
46 [I<Qt_options>]
47 [file]
49 =head1 DESCRIPTION
51 The B<as-gui> application tracks the time a person spends on a number of
52 predefined tasks. This is the graphical client to the B<Accounting System>
53 server (B<AS>). Although the two can interact through means of interprocess
54 communication mechanisms, B<as-gui> is a generic stand-alone tool which can be
55 used with no B<AS> server.
57 When logging to a local file, B<as-gui> takes input and waits until receiving
58 a save request from the user. Then, the time sheet will save its data entries
59 to the associated file name (as shown in the title bar).
61 Logging to a remote B<AS> server follows a similar input scheme, but at least
62 one B<AS> server must be specified in the preferences. A simple 'syncronize
63 with server' operation does the rest.
65 =head1 X11 OPTIONS
67 The following I<X11 options> are passed directly to the X11 subsystem, and
68 allow for the typical customization of a X11 application.
70 =over 4
72 =item B<-display display>
74 Sets the X display (host:server.screen). The default value is $DISPLAY.
76 =item B<-geometry geometry>
78 Sets the client geometry (width x height + xoffset + yoffset) of the main widget.
80 =item B<-fn font>, B<-font font>
82 Defines the application font. The font should be specified using a X logical
83 font description.
85 =item B<-bg color>, B<-background color>
87 Sets the default background color and an application palette (light and dark
88 shades are calculated).
90 =item B<-fg color>, B<-foreground color>
92 Sets the default foreground color.
94 =item B<-btn color>, B<-button color>
96 Sets the default button color.
98 =item B<-name name>
100 Sets the application name.
102 =item B<-title title>
104 Sets the application title (caption).
106 =item B<-visual TrueColor>
108 Forces the application to use a TrueColor visual on an 8-bit display.
110 =item B<-ncols count>
112 Limits the number of colors allocated in the color cube on an 8-bit display,
113 if the application is using the QApplication::ManyColor color specification.
114 If count is 216 then a 6x6x6 color cube is used (i.e. 6 levels of red, 6 of
115 green, and 6 of blue). For other values, a cube approximately proportional to
116 a 2x3x1 cube is used.
118 =item B<-cmap>
120 Causes the application to install a private color map on an 8-bit display.
122 =back
124 =head1 Qt OPTIONS
126 The following I<Qt options> are used when rendering the graphics of the Qt
127 widget library. They are not compatible with other X11 or Win32 applications,
128 unless they were first linked with the Qt widget library.
130 =over 4
132 =item B<-session session>
134 Restores the application from an earlier session.
136 =item B<-widgetcount>
138 Prints debug message at the end about number of widgets left undestroyed and
139 maximum number of widgets existed at the same time.
141 =back
143 =head1 ENVIRONMENT
145 C<USER> The user name to use when accounting.
147 C<HOME> The full path of the user's home directory.
149 =head1 RETURN VALUES
151 C<0> The application exited sucessfully.
153 C<E<gt>0 or E<lt>0> At least one error ocurred.
155 =head1 EXAMPLES
157 Try out some of these examples to customize B<as-gui> from the command
158 line. Remember that options can be mixed.
160 Initially editing the document 'figo.as':
162 =over 4
164 $ as-gui figo.as
166 =back
168 Showing lovely blue shades in most widgets:
170 =over 4
172 $ as-gui -bg lightblue -fg darkblue
174 =back
176 Starting with a title bar that reads 'Yours here':
178 =over 4
180 $ as-gui -title 'Yours here'
182 =back
184 Displaying graphics output on the host borchert:
186 =over 4
188 $ as-gui -display borchert:0.0
190 =back
192 A slim window slightly left of the top right corner:
194 =over 4
196 $ as-gui -geometry 761x347-120+0
198 =back
200 =head1 FILES
202 =over 4
204 =item ~/.as-gui
206 User preferences file.
208 =item as-gui.html
210 Help reference.
212 =back
214 =head1 BUGS
216 Sometimes a click on a widget (like a toolbar button) is seemingly ignored.
218 Consistent row shading is not always maintained. This means that the sharp
219 colour difference between one row and the next may not correctly follow the
220 chosen sort order. Press 'refresh' to work around this problem.
222 The row highlight may be wrong after resorting the entire time sheet. Press
223 the arrow keys a few times to find the currently selected row if this happens.
225 Double clicking on column separators should automatically expand or shrink
226 the corresponding column to the exact size needed. Broken.
228 Local reports only take datewise sorting into account. Attention! This is not
229 a bug, and local reports are almost always only useful when sorted by date.
231 =head1 SEE ALSO
233 as-gui.conf(5),
234 as-events(5),
235 as-accounts(5)
237 =head1 AUTHOR
239 Michael Schloh von Bennewitz
240 (michael@schloh.com)
242 =cut