testo0 = t0;
Cambia = c;
Controlla = ct;
finestra0 = w;
QObject::connect(c,
SIGNAL(clicked
()),
this ,
SLOT(impostaC
()));
QObject::connect(ct,
SIGNAL(clicked
()),
this ,
SLOT(controllaPCD
()));
//finestra0->show();
//aggiornaFinestra(daControllare,finestra0);
}
Dati = d; //inserire entrambi i percorsi contemporaneamente
Registrazione = r; //bottone che avvia la registrazione
ImpS=s; //cambiare percorso sorgente
ImpT=t; //cambiare percorso target
Seleziona=sel; //bottone selezione pointPick
testo1 = t1; //inserimento percorso source
testo2 = t2; //inserimento percorso target
finestra = w;
loggerBase=lgr;
//routine di risposta
QObject::connect(d,
SIGNAL(clicked
()),
this ,
SLOT(reg
()));
QObject::connect(r,
SIGNAL(clicked
()),
this ,
SLOT(esegui
()));
QObject::connect(s,
SIGNAL(clicked
()),
this ,
SLOT(impostaS
()));
QObject::connect(t,
SIGNAL(clicked
()),
this ,
SLOT(impostaT
()));
QObject::connect(sel,
SIGNAL(clicked
()),
this ,
SLOT(selezionatore
()));
//aggiornaFinestra(daControllare,finestra);
//rendere visibile la finestra di
//finestra->setVisible(true);
//finestra->show();
return;
}
void MainWindow::setVisualizer(QTextEdit *t0, QPushButton *c, QPushButton *ct, QVTKWidget *w){
testo0 = t0;
Cambia = c;
Controlla = ct;
finestra0 = w;
QObject::connect(c, SIGNAL(clicked()), this ,SLOT(impostaC()));
QObject::connect(ct, SIGNAL(clicked()), this ,SLOT(controllaPCD()));
//finestra0->show();
//aggiornaFinestra(daControllare,finestra0);
}
void MainWindow::setVisualizer(QPushButton *d, QPushButton *r, QTextEdit *t1, QTextEdit *t2, QVTKWidget *w, QPushButton *s, QPushButton *t, QPushButton *sel, QWidget *lgr){
Dati = d; //inserire entrambi i percorsi contemporaneamente
Registrazione = r; //bottone che avvia la registrazione
ImpS=s; //cambiare percorso sorgente
ImpT=t; //cambiare percorso target
Seleziona=sel; //bottone selezione pointPick
testo1 = t1; //inserimento percorso source
testo2 = t2; //inserimento percorso target
finestra = w;
loggerBase=lgr;
//routine di risposta
QObject::connect(d, SIGNAL(clicked()), this ,SLOT(reg()));
QObject::connect(r, SIGNAL(clicked()), this ,SLOT(esegui()));
QObject::connect(s, SIGNAL(clicked()), this ,SLOT(impostaS()));
QObject::connect(t, SIGNAL(clicked()), this ,SLOT(impostaT()));
QObject::connect(sel, SIGNAL(clicked()), this ,SLOT(selezionatore()));
//aggiornaFinestra(daControllare,finestra);
//rendere visibile la finestra di
//finestra->setVisible(true);
//finestra->show();
return;
}
To copy to clipboard, switch view to plain text mode
Bookmarks