QGDropDownBox Class Reference

List of all members.


Detailed Description

Drop down box with tab-complete.

Author:
Adam Bryant (adam_bryant@berkeley.edu)

Public Member Functions

 QGDropDownBox (const TGWindow *p=0)
 Constructor.
virtual ~QGDropDownBox ()
 Destructor.
void AddEntry (const std::string &entry)
 Add entry.
void EnableTabCompletion ()
 Enable tab completion.
std::vector< std::string > FindMatches (const std::string &s)
 Find a match to a string.
std::string GetCommonText (const std::vector< std::string > &v)
 Get common text.
void HandleReturnPressed ()
 Handle tab pressed.
void QGHandleEvent (Event_t *event)
 Handle event.
void SetReturnTarget (TGTextEntry *textBox)
 Set return target.
void TabComplete ()
 Tab complete.

Private Attributes

std::vector< std::string > fEntries
 Collection of entries.
TGTextEntry * fReturnTarget
 Text box to change to when return is pressed.

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6