|
1 ## |
|
2 ## OSSP asgui - Accounting system graphical user interface |
|
3 ## Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) |
|
4 ## Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com> |
|
5 ## Copyright (c) 2002-2004 Michael Schloh von Bennewitz <michael@schloh.com> |
|
6 ## Copyright (c) 2002-2004 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://www.ossp.org/pkg/tool/asgui/. |
|
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 ## |
|
31 |
|
32 =pod |
|
33 |
|
34 =head1 NAME |
|
35 |
|
36 B<as-gui> - accounting system graphical client |
|
37 |
|
38 =head1 VERSION |
|
39 |
|
40 as-gui ASGUI_VERSION_STR |
|
41 |
|
42 =head1 SYNOPSIS |
|
43 |
|
44 B<as-gui> |
|
45 [I<X11_options>] |
|
46 [I<Qt_options>] |
|
47 [file] |
|
48 |
|
49 =head1 DESCRIPTION |
|
50 |
|
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. |
|
56 |
|
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). |
|
60 |
|
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. |
|
64 |
|
65 =head1 X11 OPTIONS |
|
66 |
|
67 The following I<X11 options> are passed directly to the X11 subsystem, and |
|
68 allow for the typical customization of a X11 application. |
|
69 |
|
70 =over 4 |
|
71 |
|
72 =item B<-display display> |
|
73 |
|
74 Sets the X display (host:server.screen). The default value is $DISPLAY. |
|
75 |
|
76 =item B<-geometry geometry> |
|
77 |
|
78 Sets the client geometry (width x height + xoffset + yoffset) of the main widget. |
|
79 |
|
80 =item B<-fn font>, B<-font font> |
|
81 |
|
82 Defines the application font. The font should be specified using a X logical |
|
83 font description. |
|
84 |
|
85 =item B<-bg color>, B<-background color> |
|
86 |
|
87 Sets the default background color and an application palette (light and dark |
|
88 shades are calculated). |
|
89 |
|
90 =item B<-fg color>, B<-foreground color> |
|
91 |
|
92 Sets the default foreground color. |
|
93 |
|
94 =item B<-btn color>, B<-button color> |
|
95 |
|
96 Sets the default button color. |
|
97 |
|
98 =item B<-name name> |
|
99 |
|
100 Sets the application name. |
|
101 |
|
102 =item B<-title title> |
|
103 |
|
104 Sets the application title (caption). |
|
105 |
|
106 =item B<-visual TrueColor> |
|
107 |
|
108 Forces the application to use a TrueColor visual on an 8-bit display. |
|
109 |
|
110 =item B<-ncols count> |
|
111 |
|
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. |
|
117 |
|
118 =item B<-cmap> |
|
119 |
|
120 Causes the application to install a private color map on an 8-bit display. |
|
121 |
|
122 =back |
|
123 |
|
124 =head1 Qt OPTIONS |
|
125 |
|
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. |
|
129 |
|
130 =over 4 |
|
131 |
|
132 =item B<-session session> |
|
133 |
|
134 Restores the application from an earlier session. |
|
135 |
|
136 =item B<-widgetcount> |
|
137 |
|
138 Prints debug message at the end about number of widgets left undestroyed and |
|
139 maximum number of widgets existed at the same time. |
|
140 |
|
141 =back |
|
142 |
|
143 =head1 ENVIRONMENT |
|
144 |
|
145 C<USER> The user name to use when accounting. |
|
146 |
|
147 C<HOME> The full path of the user's home directory. |
|
148 |
|
149 =head1 RETURN VALUES |
|
150 |
|
151 C<0> The application exited sucessfully. |
|
152 |
|
153 C<E<gt>0 or E<lt>0> At least one error ocurred. |
|
154 |
|
155 =head1 EXAMPLES |
|
156 |
|
157 Try out some of these examples to customize B<as-gui> from the command |
|
158 line. Remember that options can be mixed. |
|
159 |
|
160 Initially editing the document 'figo.as': |
|
161 |
|
162 =over 4 |
|
163 |
|
164 $ as-gui figo.as |
|
165 |
|
166 =back |
|
167 |
|
168 Showing lovely blue shades in most widgets: |
|
169 |
|
170 =over 4 |
|
171 |
|
172 $ as-gui -bg lightblue -fg darkblue |
|
173 |
|
174 =back |
|
175 |
|
176 Starting with a title bar that reads 'Yours here': |
|
177 |
|
178 =over 4 |
|
179 |
|
180 $ as-gui -title 'Yours here' |
|
181 |
|
182 =back |
|
183 |
|
184 Displaying graphics output on the host borchert: |
|
185 |
|
186 =over 4 |
|
187 |
|
188 $ as-gui -display borchert:0.0 |
|
189 |
|
190 =back |
|
191 |
|
192 A slim window slightly left of the top right corner: |
|
193 |
|
194 =over 4 |
|
195 |
|
196 $ as-gui -geometry 761x347-120+0 |
|
197 |
|
198 =back |
|
199 |
|
200 =head1 FILES |
|
201 |
|
202 =over 4 |
|
203 |
|
204 =item ~/.as-gui |
|
205 |
|
206 User preferences file. |
|
207 |
|
208 =item as-gui.html |
|
209 |
|
210 Help reference. |
|
211 |
|
212 =back |
|
213 |
|
214 =head1 BUGS |
|
215 |
|
216 Sometimes a click on a widget (like a toolbar button) is seemingly ignored. |
|
217 |
|
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. |
|
221 |
|
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. |
|
224 |
|
225 Double clicking on column separators should automatically expand or shrink |
|
226 the corresponding column to the exact size needed. Broken. |
|
227 |
|
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. |
|
230 |
|
231 =head1 SEE ALSO |
|
232 |
|
233 as-gui.conf(5), |
|
234 as-events(5), |
|
235 as-accounts(5) |
|
236 |
|
237 =head1 AUTHOR |
|
238 |
|
239 Michael Schloh von Bennewitz |
|
240 (michael@schloh.com) |
|
241 |
|
242 =cut |