Faith::ComboBox Class Reference

#include <faith/combobox.h>

Inheritance diagram for Faith::ComboBox:

Faith::Widget Faith::Object Faith::PaintDevice List of all members.

Public Slots

void setText (const Faith::String &text)

Public Member Functions

 ComboBox (Faith::Widget *parent, const char *name=0)
 ComboBox (const Faith::String &s, Faith::Widget *parent, const char *name=0)
 ComboBox (const std::list< Faith::String > &s, Faith::Widget *parent, const char *name=0)
 ~ComboBox ()
bool editable () const
Faith::Size sizeHint () const
String text () const

Protected Member Functions

void paintEvent (Faith::PaintEvent *e)
void resizeEvent (Faith::ResizeEvent *e)
void mousePressEvent (Faith::MouseEvent *e)
bool eventFilter (Faith::Object *filtered, Faith::Event *e)

Constructor & Destructor Documentation

Faith::ComboBox::ComboBox ( Faith::Widget parent,
const char *  name = 0 
)

Faith::ComboBox::ComboBox ( const Faith::String s,
Faith::Widget parent,
const char *  name = 0 
)

Faith::ComboBox::ComboBox ( const std::list< Faith::String > &  s,
Faith::Widget parent,
const char *  name = 0 
)

Faith::ComboBox::~ComboBox (  ) 


Member Function Documentation

bool Faith::ComboBox::editable (  )  const [inline]

bool Faith::ComboBox::eventFilter ( Faith::Object filtered,
Faith::Event e 
) [protected, virtual]

process a filtered object's events.

You should reimplement this function if you have installed a filter on another widget and directed it at this object.

This function is called in an undefined order in relationship to when the event filter was installed.

Returns:
whether the event should not continue to the filtered object. Return true to keep the event from reaching filtered, and also being sent to further filters.

Reimplemented from Faith::Object.

void Faith::ComboBox::mousePressEvent ( Faith::MouseEvent e  )  [protected, virtual]

This function is called when the user presses the mouse while over the widget (immediately after the push down)

Reimplemented from Faith::Widget.

void Faith::ComboBox::paintEvent ( Faith::PaintEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::ComboBox::resizeEvent ( Faith::ResizeEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::ComboBox::setText ( const Faith::String text  )  [slot]

Faith::Size Faith::ComboBox::sizeHint (  )  const [virtual]

Returns:
this Widget's recommended size.
If this widget doesn't want to make a recommendation, the size will be invalid Faith::Size::isInvalid()

Reimplemented from Faith::Widget.

String Faith::ComboBox::text (  )  const


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:09 2006 for Faith by  doxygen 1.4.7