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
|
platformfocuscombo.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 00012 #ifndef ORCAQGUI_PLATFORMFOCUSCOMBO_H 00013 #define ORCAQGUI_PLATFORMFOCUSCOMBO_H 00014 00015 #include <hydroqgui/platformfocusmanager.h> 00016 #include <QComboBox> 00017 00018 namespace orcaqgui { 00019 00027 class PlatformFocusCombo : public QComboBox, 00028 public hydroqgui::PlatformFocusChangeReceiver 00029 { 00030 Q_OBJECT 00031 public: 00032 00033 PlatformFocusCombo( hydroqgui::PlatformFocusManager &platformFocusManager, 00034 QWidget *parent=NULL ); 00035 void platformFocusChanged( const QString &newPlatformName ); 00036 00037 public slots: 00038 00039 void changePlatformFocus(const QString&); 00040 void addPlatformToList(const QString&); 00041 void removePlatformFromList(const QString&); 00042 00043 private: 00044 00045 hydroqgui::PlatformFocusManager &platformFocusManager_; 00046 }; 00047 00048 } 00049 00050 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)