00001 /* 00002 * HippoPlot ComboBox class implementation 00003 * 00004 * Copyright (C) 2002 The Board of Trustees of The Leland Stanford 00005 * Junior University. All Rights Reserved. 00006 * 00007 * $Id: ComboBox.cxx,v 1.3 2002/05/24 12:14:38 pfkeb Exp $ 00008 */ 00009 00010 #include "qt/ComboBox.h" 00011 #include <string> 00012 00013 using std::string; 00014 00015 ComboBox::ComboBox ( bool rw, 00016 QWidget * parent, 00017 const char * name ) 00018 : QComboBox ( rw, parent, name ) 00019 { 00020 string str ( name ); 00021 axisName = str.c_str(); 00022 } 00023 00024 void ComboBox::comboAcitvated ( const QString & label ) 00025 { 00026 emit myActivated ( label, axisName ); 00027 }