QguLineEdit Class Reference

This is the QguLineEdit class. More...

#include <qgu.h>

List of all members.

Public Slots

void paste ()
 Method that pastes the content of the clipboard into the current line edit object and validates it.

Signals

void hadDropEvent ()
 signal emitted drop received

Public Member Functions

 QguLineEdit (QWidget *parent, const char *name)
 QguLineEdit constructor.
 ~QguLineEdit ()

Public Attributes

QguWLinputWLinput

Protected Member Functions

virtual void dropEvent (QDropEvent *e)
 This event handler is called when the drag is dropped on this widget. It has been re-implemented from QWidget.


Detailed Description

This is the QguLineEdit class.

This class specialises the QLineEdit widget itself inside QguWLinput to allow us to overload drop and paste

A line edit allows the user to enter and edit a single line of plain text with a useful collection of editing functions, including undo and redo, cut and paste, and drag and drop

It inherits QLineEdit which is a built-in QT3 class

Remarks:
{ This class includes Q_OBJECT which is a QT3 macro that is used in all sub-classes of QObject in order to benefit from the QT's Meta object system which are signals and slots mechanisms for inter-object communication, runtime type information and the dynamic property system }

Constructor & Destructor Documentation

QguLineEdit::QguLineEdit ( QWidget *  parent,
const char *  name 
)

QguLineEdit constructor.

Parameters:
parent of type QWidget*
name of type const char*
Exceptions:
None 
Returns:
None

QguLineEdit::~QguLineEdit (  ) 


Member Function Documentation

void QguLineEdit::dropEvent ( QDropEvent *  e  )  [protected, virtual]

This event handler is called when the drag is dropped on this widget. It has been re-implemented from QWidget.

Sets and validates dropped text

Parameters:
e of type QDropEvent *
Exceptions:
None 
Returns:
None

void QguLineEdit::hadDropEvent (  )  [signal]

signal emitted drop received

Parameters:
None 
Exceptions:
None 
Returns:
None

void QguLineEdit::paste (  )  [slot]

Method that pastes the content of the clipboard into the current line edit object and validates it.

Parameters:
None 
Exceptions:
None 
Returns:
None


Member Data Documentation


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

Generated on Tue Dec 9 16:55:37 2008 for QSAS by  doxygen 1.5.7