Faith::LineEdit Class Reference

#include <faith/lineedit.h>

Inheritance diagram for Faith::LineEdit:

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

Public Slots

void setText (const Faith::String &)
void moveCarat (int offset)

Signals

void changed ()
void changed (const Faith::String &)
void returnPressed ()

Public Member Functions

 LineEdit (Widget *parent, const char *name=0)
 LineEdit (const String &text, Widget *parent, const char *name=0)
 ~LineEdit ()
virtual Size sizeHint () const
String text () const
int caratPosition (int ptx) const
void setDrawFrame (bool f)
bool drawFrame () const

Protected Member Functions

void paintEvent (Faith::PaintEvent *e)
void keyPressEvent (Faith::KeyPressEvent *e)
void timerEvent (Faith::TimerEvent *e)
void mousePressEvent (Faith::MouseEvent *e)
void mouseMoveEvent (Faith::MouseEvent *e)
void focusInEvent (Faith::FocusEvent *e)
void focusOutEvent (Faith::FocusEvent *e)

Constructor & Destructor Documentation

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

Faith::LineEdit::LineEdit ( const String text,
Widget parent,
const char *  name = 0 
)

Faith::LineEdit::~LineEdit (  ) 


Member Function Documentation

int Faith::LineEdit::caratPosition ( int  ptx  )  const

Returns:
the the character to precede when clicking at the X position ptx

void Faith::LineEdit::changed ( const Faith::String  )  [signal]

void Faith::LineEdit::changed (  )  [signal]

bool Faith::LineEdit::drawFrame (  )  const

void Faith::LineEdit::focusInEvent ( Faith::FocusEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::LineEdit::focusOutEvent ( Faith::FocusEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::LineEdit::keyPressEvent ( Faith::KeyPressEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::LineEdit::mouseMoveEvent ( Faith::MouseEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::LineEdit::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::LineEdit::moveCarat ( int  offset  )  [slot]

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

Reimplemented from Faith::Widget.

void Faith::LineEdit::returnPressed (  )  [signal]

void Faith::LineEdit::setDrawFrame ( bool  f  ) 

void Faith::LineEdit::setText ( const Faith::String  )  [slot]

virtual Size Faith::LineEdit::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::LineEdit::text (  )  const

void Faith::LineEdit::timerEvent ( Faith::TimerEvent e  )  [protected, virtual]

Receives timer events as created by startTimer

Reimplemented from Faith::Object.


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