39 #ifndef __usUltrasonixClientWidget_h_
40 #define __usUltrasonixClientWidget_h_
43 #include <visp3/ustk_core/usConfig.h>
45 #if defined(USTK_HAVE_VTK_QT) && defined(VISP_HAVE_MODULE_USTK_GRABBER)
47 #include <QApplication>
49 #include <QGridLayout>
50 #include <QHostAddress>
53 #include <QMessageBox>
54 #include <QPushButton>
56 #include <visp3/ustk_grabber/usNetworkGrabber.h>
58 class VISP_EXPORT usUltrasonixClientWidget :
public QWidget
62 usUltrasonixClientWidget();
63 virtual ~usUltrasonixClientWidget();
66 void connectToServer(QHostAddress adress);
68 void center3DProbeMotor();
69 void runAcquisition();
70 void stopAcquisition();
73 void initAcquisitionSlot();
74 void connectToServerSlot();
78 QLabel *serverIpAdressLabel;
79 QLabel *probeSelectionLabel;
82 QPushButton *connectPushButton;
83 QPushButton *initPushButton;
84 QPushButton *center3Dprobe;
85 QPushButton *startPushButton;
86 QPushButton *stopPushButton;
89 QLineEdit *ipTextEdit;
90 QComboBox *probeSelectComboBox;
92 QRegExpValidator *ipValidator;
97 QHostAddress hostAddress;