The program Avvis was written over 6 years in C++ and Qt (migrated from 4 to 5 to 6)
overview of some key features of the program Avvis
The program was initially used in 2005 to compute basic properties of signals in the search of pink noise and extended until 2012 to basically compute signal processing and plotting.
Features:
void ElementiGrafici::DisegnaPunti(QPainter *p){
if(PrimaVolta){
return;
}if(NVisMin < 0 || NVisMax > PuntiMax || NVisMin > NVisMax){
"Non `e corretto l'ordine 0<=%d<%d<=%d",NVisMin,NVisMax,PuntiMax);
sprintf(stringa,"Non `e corretto l'ordine 0<=%d<%d<=%d\n",NVisMin,NVisMax,PuntiMax);
printf(
ErrPrima->message(stringa);return;
}if( IfRiscala != 0 ) GrRiscala();
GrStampante(p);
GrConf(nomeConf);
GrScript(nomeConf,p);if( DIS_IF_TYPE(IfDisegna,DIS_TUTTI) ){
for(int s=0,sColor=0;s<NVar;s++){
if(v1->IsAbscissa(s)) continue;
sColor = s;
p->setBrush( GrLinee[sColor] );QPen( GrLinee[sColor],2 ) );
p->setPen(
Quadrati = DIS_IF_TYPE(LineaCome[sColor],LINEA_PUNTO);
Linee = DIS_IF_TYPE(LineaCome[sColor],LINEA_TRATTO);
GrSet(p,s);
sColor++;
} }
The python 2 code caciotta leaks was written to create an interface between the erp database and the user.
Caciotta leaks, database interface to compute milk efficiency in a cheese factory
import pygtk
import gtk, pango
= None
window = 5*[None]
flag_checkboxes = 5*[0]
settings self.marked_date = 31*[0]
= gtk.Window(gtk.WINDOW_TOPLEVEL)
window "CaciottaLeaks")
window.set_title(5)
window.set_border_width(connect("destroy", lambda x: gtk.main_quit())
window.
False)
window.set_resizable(
= gtk.VBox(False, self.DEF_PAD)
vbox
window.add(vbox) ...