INCPATH = -I/home/hugo/GPC-Qt/include -I$(QTDIR)/include -I$(QTDIR)/include/qtfrom 'home/hugo' to where you put GPC-Qt.
####### Compiler, tools and options section to the Makefile
INCPATH = -I/home/hugo/GPC-Qt/include -I$(QTDIR)/include -I$(QTDIR)/include/qtfrom 'home/hugo' to where you put GPC-Qt.
####### Compiler, tools and options section to the Makefile
INCPATH = -I/home/hugo/GPC-Qt/include -I$(QTDIR)/include -I$(QTDIR)/include/qtfrom 'home/hugo' to where you put GPC-Qt.
C:\qt\examples\GPC-Qt
This is an unavoidable consequence of Qt/Embedded using raw keyboard
mode on the terminal. If this happens, it is necessary to run
kbd_mode -a
on the system. This is easy to do if the machine is networked, of
course, but there are ways to trigger this on a standalone machine as
well. (The simplest is to run your program from a script.)
If you run your program with -nokeyboard, it will not mess up the
keyboard (Answer from qt-bugs@trolltech.com: Issue N 14657, 1/20/03).
#!/bin/bash
set -x
if ! [ -z $1 ] ; then
RUN=$1
else
echo "This runs a qws application "
echo "Enter the application as parameter "
fi
$RUN -qws &>anything
kbd_mode -a
exit
| Affecting | Variable | 3.1.1-Emb. | 3.1.1-x11 | 3.0.5-x11 | 2.3.0-NC | 2.3.1-x11 | 1.45-x11 | |||
| Window Mgr | . | . | Fvwm | KDE2 | KDE3 | Win | Fvwm | KDE2 | Fvwm | KDE2 |
| Frame | desktop_x_off | 0 | 7 | 0 | 0 | 7 | 7 | 0 | 7 | 0 |
| . | desktop_y_off | 0 | 31 | 0 | 0 | 31 | 31 | 0 | 31 | 0 |
| . | width_diff | 8 | 12 | 8 | 40 | 12 | 12 | 8 | 12 | 8 |
| . | client_height_diff | 28 | 35 | 29 | 30 | 35 | 35 | 29 | 35 | 28 |
| client-area | fs_view_height_diff | 80 | 96 | 96 | 108 | 112 | 96 | 96 | 96 | 96 |
| . | nl_view_height_diff | 53 | 52 | 52 | 72 | 80 | 52 | 52 | 52 | 67 |
| Font | main_window_font | h* | h* | h* | h* | h* | h* | h* | h* | h* |
| . | font_point_size | 12 | 12 | 12 | 12 | 112 | 12 | 12 | 12 | 12 |
| . | font_weight | 55 | 55 | 55 | 60 | 112 | 55 | 55 | 55 | 55 |
trace_<0-x>" in local vars.trace_<0..> that is set
and trace its description when it matches GivenName.
gpcmain_<next> as a float he will collect elapsed time for each plot
and use it on subsequent runs to paint the progressbar.
QString _t_ = "xxxxxx.xxx";
set_desc(_t_,get_var_x("app_debug"));
i.e. the description part of the app_debug parm. Then Debug
opens up a window that displays the contents of xxxxxx.xxx. You write to this
with:
TDebug samp;
...
char name[32]="gpc_main";
...
samp.Debug(name,">>**Started... %s","\n");
You can write anything to this file, but the display is read-only.
<tkf file name from bgnplot call>X<next value>.svgz
IMPORTANT: Graphic has very fancy contour filling code which is used to fill
font characters if the font is filled. (E.g. "news.fnt", "swiss.fnt") But all
this does is create little lines, which "confuses" svgz enabled systems like
Batik. So for best svgz viewing fonts should be UNFILLED. For best X viewing
they should be FILLED. All examples employ a test for this variable before the
call to fillfont. (E.g. bar.c)
There is only one example that generates a svgz file that is too large. So
it has "gen_svgz" turned off, this is fermi.c.
| Name | Function | Linux | Smoothing |
| - | - | Exec(secs) | - |
| aa | Astrological program. Draws natal + transit charts. | 8.0 | 3* |
| . | 41.1 | . | |
| astrosyms | Draws explanation of astrological symbols in Spanish | 12.1 | 3 |
| bar | Draws bar chart with legend. Shows duration warning message. | 314.0 | 3* |
| bar3d | Draws 3d bars. | 3.7 | 3* |
| bess | 2-D projection within a grid. | 5.2 | 3* |
| clrtest | Semi-log plots. 3 plots. | 1.2 | 3* |
| . | 1.9 | . | |
| . | 1.6 | . | |
| cnttest | Contour plot. | 2.1 | 3* |
| d2test | Draws 4 plots on one page. | 29.8 | . |
| d3test | Plots 3-D surfaces. 2 plots. | 2.1 | 3* |
| . | 3.8 | . | |
| delays | Plots a non-linear polar grid plot from a datafile. | 18.7 | 2* |
| erftest | Plots a single curve on an error function grid. | 1.3 | 3* |
| exh | Plots the E by H vectors on the Z axis. | 7.12 | 3* |
| fermi | Example of simultaneous plots. Duration warning message. | 239.5 | 3*c |
| filltest | Example of using surmat() to draw 3-D surfaces. | 7.1 | . |
| . | Duration warning message. 2 plots. | 26.3 | 3* |
| fonttabl | Plots a font with all ascii characters. Select from File-Open. | 5.4 | 3* |
| fnttest1 | Plots a sample of many fonts. | 8.5 | 3* |
| funds | Database extraction. Mutual fund plots. 5 plots. Last one contour | 4.5 | 3* |
| . | 3.6 | . | |
| . | 13.4 | . | |
| . | 14.6 | . | |
| . | 119.8 | . | |
| jcont | Proton tokamak orbit plot. | 7.9 | 3* |
| logtest | Semi-log and log-log plot. 2 plots. | 1.9 | 3* |
| . | 2.5 | . | |
| machii | Contour plot from random data. Duration warning. | 96.0 | 3* |
| orbits | Plots Tokamak Banana Orbits. | 4.0 | 3* |
| pat256 | Plots patterns 1-16 and GPC colors 200-447 | 25.9 | 3* |
| pattern | Plots patterns 1-16, IBM colors 0>-15, GPC colors 50-174 | 10.1 | 3* |
| pie | Plots a pie chart. Duration warning. | 228.0 | 3* |
| poltest | Plots 2 polar plots. | 1.0 | 3* |
| . | 1.2 | . | |
| r3test | Plots 3-D surface and contour map of random points. 2 plots. | 10.1 | 3* |
| . | 2.6 | . | |
| rates | Plots airport arrivals. 3 plots. Boxplot + 2 contours. Warning. | 2.9 | 2*g |
| . | 119.5 | . | |
| . | 87.1 | . | |
| sample | Simple sample x-y plot. | 2.2 | 3* |
| smtest | The famous Smith Chart. | 3.0 | 3* |
| tritest | Triangle plot. | 3.2 | 3* |
| tztest | 3 contour plots of airtraffic over the us. Longest running. | 79.0 | 3* |
| . | 670.0 | . | |
| . | 126.9 | . | |
| vfield | Plot of the vector() function - a magnetic field. | 2.2 | 3* |
#16( a point) does not show up well smoothed, use #12.
#1