All Classes Namespaces Files Functions Variables Enumerations Enumerator
programs/MultiUrgViewer/MultiUrgViewerWidget.h
Go to the documentation of this file.
00001 #ifndef MULTI_URG_VIEWER_WIDGET_H
00002 #define MULTI_URG_VIEWER_WIDGET_H
00003 
00013 #include <QWidget>
00014 #include <memory>
00015 
00016 
00017 class UrgStateWidget;
00018 class DrawWidget;
00019 
00020 
00021 class MultiUrgViewerWidget : public QWidget
00022 {
00023   Q_OBJECT;
00024 
00025   MultiUrgViewerWidget(const MultiUrgViewerWidget& rhs);
00026   MultiUrgViewerWidget& operator = (const MultiUrgViewerWidget& rhs);
00027 
00028   struct pImpl;
00029   std::auto_ptr<pImpl> pimpl;
00030 
00031 private slots:
00032   void deleteUrgState(UrgStateWidget* widget);
00033   void closeEvent(QCloseEvent* event);
00034 
00035 public:
00036   MultiUrgViewerWidget(QWidget* parent = 0);
00037   ~MultiUrgViewerWidget(void);
00038 
00039   void addUrgState(void);
00040   DrawWidget* drawWidget(void);
00041 
00042 public slots:
00043   void rescanDevices(void);
00044 };
00045 
00046 #endif /* !MULTI_URG_VIEWER_WIDGET_H */