Rev 287 | Blame | Last modification | View Log | RSS feed
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "GlobalDefines.h"
class DepthMap;
class ImageWidget;
class DepthProcessor;
class RobotControl;
class OpenNI;
class MainWindow : public QWidget {
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void updateStatusText(const QString &);
void updateFrameText(const QString &);
void updateFPSText(const QString &);
void updateSelectionList(const QStringList &);
void imageSelectionChanged(const QString &);
void sensorConnected();
signals:
void changeDisplayImage(const int, const QString &);
protected:
void keyPressEvent(QKeyEvent *event);
void keyReleaseEvent(QKeyEvent *event);
private:
ImageWidget *topLeftImage;
ImageWidget *topRightImage;
ImageWidget *botLeftImage;
ImageWidget *botRightImage;
QComboBox *topLeftSelect;
QComboBox *topRightSelect;
QComboBox *botLeftSelect;
QComboBox *botRightSelect;
OpenNI *openNIThread;
DepthProcessor *openNIProcessor;
RobotControl *robot;
QLabel *statusLabel;
QLabel *frameLabel;
QLabel *fpsLabel;
};
#endif MAINWINDOW_H