Go to the documentation of this file.00001
00046 #ifndef MAINWINDOW_H
00047 #define MAINWINDOW_H
00048
00049 #include <QWidget>
00050 #include <QDir>
00051
00052 namespace Ui {
00053 class MainWindow;
00054 }
00055
00056 class ComThread;
00057
00061 class MainWindow : public QWidget
00062 {
00063 Q_OBJECT
00064
00065 public:
00066 explicit MainWindow(QWidget *parent = 0);
00067 ~MainWindow();
00068
00069 public Q_SLOTS:
00073 void addStatusMessage(QString msg);
00077 void insertCloud(QString);
00078
00079 private Q_SLOTS:
00080 void on_boundingBoxSizeDoubleSpinBox_valueChanged(double );
00081 void on_cloudListWidget_itemSelectionChanged();
00082 void on_saveButton_clicked();
00083 void on_reButton_clicked();
00084 void on_objectClassEdit_textChanged(const QString &arg1);
00085 void on_objectNameEdit_textChanged(const QString &arg1);
00086 void on_apiKeyEdit_textChanged(QString );
00087
00088 void on_startstopbutton_toggled(bool checked);
00089
00090 void on_loadButton_clicked();
00091
00092 void on_actionDelete_triggered();
00093
00094 Q_SIGNALS:
00099 void changedBoxSize(double);
00100
00101 protected:
00102 void closeEvent(QCloseEvent *);
00103
00104 bool checkInput();
00105 bool saveModels(QString parent_directory_str, QStringList *modelFiles=NULL);
00106
00107 private:
00108 void updateOWL();
00109 bool createZippedModel(QDir model_dir, const QString& zip_filename);
00110
00111 Ui::MainWindow *ui;
00112 ComThread * comthread;
00113 };
00114
00115 #endif // MAINWINDOW_H