equal
deleted
inserted
replaced
15 * You should have received a copy of the GNU General Public License |
15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 #pragma once |
18 #pragma once |
19 |
19 |
20 #include <QMainWindow> |
20 #include "ui_SpacenavWindow.h" |
21 |
|
22 #include "SpacenavWrapper.h" |
21 #include "SpacenavWrapper.h" |
23 |
22 |
24 class SpacenavWindow : public QMainWindow { |
23 class SpacenavWindow : public QMainWindow { |
25 |
|
26 Q_OBJECT |
24 Q_OBJECT |
27 public: |
25 public: |
|
26 SpacenavWindow(); |
|
27 virtual ~SpacenavWindow(); |
28 public slots: |
28 public slots: |
29 void spacenavEvent(SpacenavWrapper::Event e) { |
29 void spacenavEvent(SpacenavWrapper::Event e); |
30 setWindowTitle("event!"); |
30 private: |
31 } |
31 Ui::SpacenavWindow widget; |
32 }; |
32 }; |