INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
pathplannerbuttons.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef PATHPLANNER_BUTTONS_H 00012 #define PATHPLANNER_BUTTONS_H 00013 00014 #include <QObject> 00015 #include <memory> 00016 #include <hydroqguielementutil/shortcutkeymanager.h> 00017 00018 class QAction; 00019 00020 namespace hydroqguielementutil { 00021 class IHumanManager; 00022 } 00023 00024 namespace hydroqguipath { 00025 00026 // 00027 // This class sets up all the buttons and actions user interaction with the pathplanner. 00028 // 00029 // Author: Tobias Kaupp 00030 // 00031 class PathplannerButtons : public QObject 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 PathplannerButtons( QObject *parent, 00037 hydroqguielementutil::IHumanManager &humanManager, 00038 hydroqguielementutil::ShortcutKeyManager &shortcutKeyManager, 00039 const std::string &proxyString); 00040 void setWpButton( bool onOff ); 00041 00042 private: 00043 QAction *hiWaypoints_; 00044 00045 std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> drawWaypointsShortcutKey_; 00046 std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> sendPathShortcutKey_; 00047 }; 00048 00049 } 00050 00051 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)