#include <qgu.h>
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 | |
| QguWLinput * | WLinput |
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. | |
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
| QguLineEdit::QguLineEdit | ( | QWidget * | parent, | |
| const char * | name | |||
| ) |
QguLineEdit constructor.
| parent | of type QWidget* | |
| name | of type const char* |
| None |
| QguLineEdit::~QguLineEdit | ( | ) |
| 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
| e | of type QDropEvent * |
| None |
| void QguLineEdit::hadDropEvent | ( | ) | [signal] |
signal emitted drop received
| None |
| None |
| void QguLineEdit::paste | ( | ) | [slot] |
Method that pastes the content of the clipboard into the current line edit object and validates it.
| None |
| None |
1.5.7