as-gui.pod

Thu, 06 Aug 2009 13:21:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 06 Aug 2009 13:21:30 +0200
changeset 15
0e0eb7c91312
parent 3
c1941114ca88
permissions
-rw-r--r--

Remove seemingly declarations unnecessary according to Qt 4.5.2 headers.

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

mercurial