Eneboo - Documentación para desarrolladores
|
#include <qtmultilineedit.h>
QtMultiLineEdit::QtMultiLineEdit | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
QtMultiLineEdit::~QtMultiLineEdit | ( | ) |
int QtMultiLineEdit::alignment | ( | ) | const |
void QtMultiLineEdit::append | ( | const QString & | s | ) | [slot] |
bool QtMultiLineEdit::atBeginning | ( | ) | const |
bool QtMultiLineEdit::atEnd | ( | ) | const |
bool QtMultiLineEdit::autoUpdate | ( | ) | const |
Reimplementado de QtTableView.
void QtMultiLineEdit::backspace | ( | ) | [protected, virtual] |
void QtMultiLineEdit::clear | ( | void | ) | [slot] |
void QtMultiLineEdit::copy | ( | ) | const [slot] |
void QtMultiLineEdit::copyAvailable | ( | bool | ) | [signal] |
void QtMultiLineEdit::copyText | ( | ) | const [slot] |
void QtMultiLineEdit::cursorDown | ( | bool | mark = FALSE | ) | [protected, virtual] |
QPoint QtMultiLineEdit::cursorPoint | ( | ) | const [protected] |
void QtMultiLineEdit::cursorUp | ( | bool | mark = FALSE | ) | [protected, virtual] |
void QtMultiLineEdit::cursorWordBackward | ( | bool | mark | ) |
void QtMultiLineEdit::cursorWordForward | ( | bool | mark | ) |
void QtMultiLineEdit::cut | ( | ) | [slot] |
int QtMultiLineEdit::defaultTabStop | ( | ) | [static] |
void QtMultiLineEdit::del | ( | ) | [protected, virtual] |
void QtMultiLineEdit::deselect | ( | ) | [slot] |
void QtMultiLineEdit::dragEnterEvent | ( | QDragEnterEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse enters this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QtMultiLineEdit::dragLeaveEvent | ( | QDragLeaveEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse leaves this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QtMultiLineEdit::dragMoveEvent | ( | QDragMoveEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse enters this widget, and whenever it moves within the widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QtMultiLineEdit::dropEvent | ( | QDropEvent * | ) | [protected, virtual] |
This event handler is called when the drag is dropped on this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
EchoMode QtMultiLineEdit::echoMode | ( | ) | const |
bool QtMultiLineEdit::edited | ( | ) | const |
void QtMultiLineEdit::end | ( | bool | mark = FALSE | ) | [protected, virtual] |
This is the main event handler; it handles event e. You can reimplement this function in a subclass, but we recommend using one of the specialized event handlers instead.
The main event handler first passes an event through all event filters that have been installed. If none of the filters intercept the event, it calls one of the specialized event handlers.
Key press and release events are treated differently from other events. event() checks for Tab and Shift+Tab and tries to move the focus appropriately. If there is no widget to move the focus to (or the key press is not Tab or Shift+Tab), event() calls keyPressEvent().
This function returns TRUE if it is able to pass the event over to someone (i.e. someone wanted the event); otherwise returns FALSE.
Reimplementado de QWidget.
void QtMultiLineEdit::focusInEvent | ( | QFocusEvent * | ) | [protected, virtual] |
This event handler can be reimplemented in a subclass to receive keyboard focus events (focus received) for the widget.
A widget normally must setFocusPolicy() to something other than NoFocus
in order to receive focus events. (Note that the application programmer can call setFocus() on any widget, even those that do not normally accept focus.)
The default implementation updates the widget (except for toplevel widgets that do not specify a focusPolicy() ). It also calls setMicroFocusHint(), hinting any system-specific input tools about the focus of the user's attention.
Reimplementado de QWidget.
Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns TRUE if is can find a new widget and FALSE if it can't,
If next is TRUE, this function searches "forwards", if next is FALSE, it searches "backwards".
Sometimes, you will want to reimplement this function. For example, a web browser might reimplement it to move its "current active link" forwards or backwards, and call QWidget::focusNextPrevChild() only when it reaches the last or first link on the "page".
Child widgets call focusNextPrevChild() on their parent widgets, but only the top-level widget decides where to redirect focus. By overriding this method for an object, you thus gain control of focus traversal for all child widgets.
Reimplementado de QWidget.
void QtMultiLineEdit::focusOutEvent | ( | QFocusEvent * | ) | [protected, virtual] |
This event handler can be reimplemented in a subclass to receive keyboard focus events (focus lost) for the widget.
A widget normally must setFocusPolicy() to something other than NoFocus
in order to receive focus events. (Note that the application programmer can call setFocus() on any widget, even those that do not normally accept focus.)
The default implementation updates the widget (except for toplevel widgets that do not specify a focusPolicy() ). It also calls setMicroFocusHint(), hinting any system-specific input tools about the focus of the user's attention.
Reimplementado de QWidget.
bool QtMultiLineEdit::getMarkedRegion | ( | int * | line1, |
int * | col1, | ||
int * | line2, | ||
int * | col2 | ||
) | const [protected] |
bool QtMultiLineEdit::hasMarkedText | ( | ) | const [protected] |
int QtMultiLineEdit::hMargin | ( | ) | const |
void QtMultiLineEdit::home | ( | bool | mark = FALSE | ) | [protected, virtual] |
void QtMultiLineEdit::insert | ( | const QString & | s | ) | [slot] |
void QtMultiLineEdit::insertAt | ( | const QString & | s, |
int | line, | ||
int | col, | ||
bool | mark = FALSE |
||
) | [virtual] |
void QtMultiLineEdit::insertChar | ( | QChar | c | ) | [protected] |
bool QtMultiLineEdit::isOverwriteMode | ( | ) | const [inline] |
bool QtMultiLineEdit::isReadOnly | ( | ) | const [inline] |
bool QtMultiLineEdit::isUndoEnabled | ( | ) | const |
void QtMultiLineEdit::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive key press events for the widget.
A widget must call setFocusPolicy() to accept focus initially and have focus in order to receive a key press event.
If you reimplement this handler, it is very important that you explicitly ignore the event if you do not understand it, so that the widget's parent can interpret it; otherwise, the event will be implicitly accepted. Although top-level widgets are able to choose whether to accept or ignore unknown events because they have no parent widgets that could otherwise handle them, it is good practice to explicitly ignore events to make widgets as reusable as possible.
The default implementation closes popup widgets if the user presses Esc. Otherwise the event is ignored.
Reimplementado de QWidget.
void QtMultiLineEdit::killLine | ( | ) | [protected, virtual] |
void QtMultiLineEdit::leaveEvent | ( | QEvent * | ) | [protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget leave events.
A leave event is sent to the widget when the mouse cursor leaves the widget.
Reimplementado de QWidget.
int QtMultiLineEdit::length | ( | ) | const |
QString QtMultiLineEdit::markedText | ( | ) | const [protected] |
int QtMultiLineEdit::maxLength | ( | ) | const |
int QtMultiLineEdit::maxLineLength | ( | ) | const |
int QtMultiLineEdit::maxLines | ( | ) | const |
int QtMultiLineEdit::maxLineWidth | ( | ) | const |
void QtMultiLineEdit::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse double click events for the widget.
The default implementation generates a normal mouse press event.
Note that the widgets gets a mousePressEvent() and a mouseReleaseEvent() before the mouseDoubleClickEvent().
Reimplementado de QWidget.
void QtMultiLineEdit::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse move events for the widget.
If mouse tracking is switched off, mouse move events only occur if a mouse button is pressed while the mouse is being moved. If mouse tracking is switched on, mouse move events occur even if no mouse button is pressed.
QMouseEvent::pos() reports the position of the mouse cursor, relative to this widget. For press and release events, the position is usually the same as the position of the last mouse move event, but it might be different if the user's hand shakes. This is a feature of the underlying window system, not Qt.
Reimplementado de QWidget.
void QtMultiLineEdit::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse press events for the widget.
If you create new widgets in the mousePressEvent() the mouseReleaseEvent() may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more.
The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing.
Reimplementado de QWidget.
void QtMultiLineEdit::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse release events for the widget.
Reimplementado de QWidget.
void QtMultiLineEdit::newLine | ( | ) | [protected, virtual] |
int QtMultiLineEdit::numLines | ( | ) | const |
void QtMultiLineEdit::pageDown | ( | bool | mark = FALSE | ) | [protected, virtual] |
void QtMultiLineEdit::pageUp | ( | bool | mark = FALSE | ) | [protected, virtual] |
Implementa QtTableView.
void QtMultiLineEdit::paste | ( | ) | [slot] |
void QtMultiLineEdit::pasteSubType | ( | const QCString & | subtype | ) | [slot] |
void QtMultiLineEdit::redo | ( | ) | [slot] |
void QtMultiLineEdit::redoAvailable | ( | bool | ) | [signal] |
void QtMultiLineEdit::removeLine | ( | int | line | ) | [virtual] |
void QtMultiLineEdit::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Processes the resize event e.
Adjusts the frame rectangle for the resized widget. The frame rectangle is elastic, and the surrounding area is static.
The resulting frame rectangle may be null or invalid. You can use setMinimumSize() to avoid those possibilities.
Nothing is done if the frame rectangle is a null rectangle already.
Reimplementado de QtTableView.
void QtMultiLineEdit::returnPressed | ( | ) | [signal] |
void QtMultiLineEdit::selectAll | ( | ) | [slot] |
void QtMultiLineEdit::setAlignment | ( | int | flags | ) |
void QtMultiLineEdit::setAutoUpdate | ( | bool | enable | ) | [virtual] |
Reimplementado de QtTableView.
void QtMultiLineEdit::setDefaultTabStop | ( | int | ex | ) | [static] |
void QtMultiLineEdit::setEchoMode | ( | EchoMode | em | ) | [virtual] |
void QtMultiLineEdit::setEdited | ( | bool | e | ) |
void QtMultiLineEdit::setFixedVisibleLines | ( | int | lines | ) | [virtual] |
void QtMultiLineEdit::setHMargin | ( | int | m | ) | [virtual] |
void QtMultiLineEdit::setMaxLength | ( | int | m | ) |
void QtMultiLineEdit::setMaxLineLength | ( | int | m | ) | [virtual] |
void QtMultiLineEdit::setMaxLines | ( | int | m | ) | [virtual] |
void QtMultiLineEdit::setOverwriteMode | ( | bool | on | ) | [inline, virtual, slot] |
void QtMultiLineEdit::setReadOnly | ( | bool | on | ) | [virtual, slot] |
void QtMultiLineEdit::setText | ( | const QString & | s | ) | [virtual, slot] |
void QtMultiLineEdit::setUndoDepth | ( | int | depth | ) |
void QtMultiLineEdit::setUndoEnabled | ( | bool | enable | ) |
void QtMultiLineEdit::setValidator | ( | const QValidator * | v | ) | [virtual] |
void QtMultiLineEdit::setWordWrap | ( | WordWrap | mode | ) |
void QtMultiLineEdit::setWrapColumnOrWidth | ( | int | value | ) |
void QtMultiLineEdit::setWrapPolicy | ( | WrapPolicy | policy | ) |
QSizePolicy QtMultiLineEdit::sizePolicy | ( | ) | const [virtual] |
Reimplementado de QWidget.
QString QtMultiLineEdit::text | ( | ) | const |
void QtMultiLineEdit::textChanged | ( | ) | [signal] |
void QtMultiLineEdit::timerEvent | ( | QTimerEvent * | ) | [protected, virtual] |
This event handler can be reimplemented in a subclass to receive timer events for the object.
QTimer provides a higher-level interface to the timer functionality, and also more general information about timers.
Reimplementado de QObject.
void QtMultiLineEdit::undo | ( | ) | [slot] |
void QtMultiLineEdit::undoAvailable | ( | bool | ) | [signal] |
int QtMultiLineEdit::undoDepth | ( | ) | const |
const QValidator * QtMultiLineEdit::validator | ( | ) | const |
void QtMultiLineEdit::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive wheel events for the widget.
If you reimplement this handler, it is very important that you ignore() the event if you do not handle it, so that the widget's parent can interpret it.
The default implementation ignores the event.
Reimplementado de QWidget.
WordWrap QtMultiLineEdit::wordWrap | ( | ) | const |
int QtMultiLineEdit::wrapColumnOrWidth | ( | ) | const |
WrapPolicy QtMultiLineEdit::wrapPolicy | ( | ) | const |
bool QtMultiLineEdit::cursorOn [protected] |
int QtMultiLineEdit::alignment [read, write] |
bool QtMultiLineEdit::atBeginning [inline, read] |
bool QtMultiLineEdit::atEnd [inline, read] |
bool QtMultiLineEdit::autoUpdate [read, write] |
QtMultiLineEdit::EchoMode QtMultiLineEdit::echoMode [read, write] |
bool QtMultiLineEdit::edited [read, write] |
int QtMultiLineEdit::hMargin [read, write] |
int QtMultiLineEdit::length [read] |
int QtMultiLineEdit::maxLength [read, write] |
int QtMultiLineEdit::maxLines [read, write] |
int QtMultiLineEdit::maxLineWidth [read] |
int QtMultiLineEdit::numLines [inline, read] |
bool QtMultiLineEdit::overWriteMode [read, write] |
bool QtMultiLineEdit::readOnly [read, write] |
QString QtMultiLineEdit::text [read, write] |
int QtMultiLineEdit::undoDepth [read, write] |
bool QtMultiLineEdit::undoEnabled [read, write] |
QtMultiLineEdit::WordWrap QtMultiLineEdit::wordWrap [read, write] |
int QtMultiLineEdit::wrapColumnOrWidth [read, write] |
QtMultiLineEdit::WrapPolicy QtMultiLineEdit::wrapPolicy [read, write] |