QGuiComboBox Class Reference

List of all members.


Detailed Description

extends TGComboBox adding autocompletion

Author:
Sergio Di Domizio

Public Member Functions

 QGuiComboBox (const TGWindow *parent)
 ctor
virtual ~QGuiComboBox ()
 dtor
virtual void AddEntry (const std::string &entry)
 add an entry to the combo box
void HandleTabPressed ()
 slot function triggered when tab is pressed

Private Member Functions

std::set< std::string > GetMatching (const std::string &part) const
std::string GetCommonPart (const std::set< std::string > &entries) const
void MakeConnections ()

Private Attributes

std::set< std::string > fEntries

Member Function Documentation

std::set< std::string > QGuiComboBox::GetMatching ( const std::string &  part  )  const [private]

get set of entries that begin with part

References fEntries.

Referenced by HandleTabPressed().

std::string QGuiComboBox::GetCommonPart ( const std::set< std::string > &  entries  )  const [private]

get the longest substring common to all entries

Referenced by HandleTabPressed().

void QGuiComboBox::MakeConnections (  )  [private]

perform signal/slot connections

Referenced by QGuiComboBox().


Member Data Documentation

std::set<std::string> QGuiComboBox::fEntries [private]

available entries

Referenced by AddEntry(), and GetMatching().


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