Overview |
Go to the projects home page.
written by: Axel Böger
qrwho has a very simple user interface and can be used to show the users currently logged in and the average loads of the hosts in the network.
User window from qrwho. It shows the users logged in and the according hosts. |
Host window from qrwho. It shows a list of active hosts and their actual load. |
qrwho creates a file named $HOME/.qrwho, which stores the preferences.
Qt debugging options (not available if Qt was compiled with the NO_DEBUG flag defined):
-nograb,
tells Qt to never grab the mouse or the keyboard.
-dograb
(only under X11), running under a debugger can cause
an implicit -nograb, use -dograb to override.
-sync
(only under X11), switches to synchronous mode for
debugging.
All Qt programs automatically support the following command line options:
-style=
style, sets the application GUI style. Possible values
are motif, windows,
and platinum.
-session=
session, restores the application from an earlier
session.
The X11 version of Qt also supports some traditional X11 command line options:
-display
display, sets the X display (default is $DISPLAY).
-geometry
geometry, sets the client geometry of the
main widget.
-fn
or -font
font, defines the application font.
-bg
or -background
color, sets the default background color
and an application palette (light and dark shades are calculated).
-fg
or -foreground
color, sets the default foreground color.
-btn
or -button
color, sets the default button color.
-name
name, sets the application name.
-title
title, sets the application title (caption).
-visual TrueColor,
forces the application to use a TrueColor visual
on an 8-bit display.
-ncols
count, limits the number of colors allocated in the
color cube on a 8-bit display, if the application is using the
QApplication::ManyColor
color specification. If count is
216 then a 6x6x6 color cube is used (ie. 6 levels of red, 6 of green,
and 6 of blue); for other values, a cube
approximately proportional to a 2x3x1 cube is used.
-cmap,
causes the application to install a private color map
on an 8-bit display.
g++
qt-2.x:
|
or |
qt-3.x:
|
Qt 2.x (the actual version of qrwho is compiled with qt-2.3.1) tmake 1.7 (a cross-platform Makefile tool for Qt based programs) |
Qt 3.x (the actual version of qrwho is compiled with qt-3.0.0) qmake (is included in the qt-3.0.0 distribution) |
qt-2.x:
|
qt-3.x:
|
|
For building qrwho with Qt-2.x, the adequate paths and environment variables should be set, i.e. QTDIR, TMAKEPATH and the PATH-variable. See the installation documentation for Qt-2.x and tmake. | For building qrwho with Qt-3.x, the adequate paths and environment variables should be set, i.e. QTDIR, QMAKESPEC and the PATH-variable. See the installation documentation for Qt-3.x and qmake. |
You can build two versions of qrwho, a development and a final version.
For the development version type
make
and for the final version type
make release
This will build the qrwho program.
Currently this program has been tested on Linux and Solaris 2.5.
Last modified: 21.11.2001 by Axel Böger