45 void resetCaretTime();
48 virtual QSize sizeHint()
const;
51 virtual void paintEvent( QPaintEvent* paintEvent );
52 virtual void moveEvent( QMoveEvent* moveEvent );
53 virtual void hideEvent( QHideEvent* hideEvent );
54 virtual bool event( QEvent* event );
55 virtual void keyPressEvent( QKeyEvent* event );
56 virtual void keyReleaseEvent ( QKeyEvent* event );
57 void inputMethodEvent( QInputMethodEvent* m );
58 QVariant inputMethodQuery( Qt::InputMethodQuery p )
const;
59 void registerClickEvent();
60 virtual void mousePressEvent( QMouseEvent* event );
61 virtual void mouseReleaseEvent( QMouseEvent* event );
62 virtual void mouseDoubleClickEvent( QMouseEvent* event );
63 virtual void mouseMoveEvent( QMouseEvent* event );
64 virtual void focusInEvent( QFocusEvent* event );
65 virtual void focusOutEvent( QFocusEvent* event );
66 virtual void contextMenuEvent(QContextMenuEvent* event);
71 virtual void updateLineAtOffset(
int offset);
72 virtual void updateAreaAroundOffset(
int offset,
int width=8);
73 virtual void updateLine(
int line,
int length );
76 void textKeyPressed();
85 QKeySequence lastKeySequence_;
86 QString lastCharacter_;
93 qint64 lastClickEvent_;
This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition textdocument.h:42
This is a texteditor map. This is used to map Command-Names to commands This class is the owner of th...
Definition texteditorcommandmap.h:20
TextSelection * textSelection()
Returns the texselection range.
Definition texteditorcomponent.cpp:128
TextEditorRenderer * textEditorRenderer()
Definition texteditorcomponent.h:42
TextEditorController * controller()
Returns the active texteditor controller.
Definition texteditorcomponent.cpp:121
TextEditorKeyMap * keyMap()
Returns the current keymap.
Definition texteditorcomponent.cpp:114
TextDocument * textDocument() const
Returns the active textdocument.
Definition texteditorcomponent.cpp:107
TextEditorConfig * config() const
Returns the active configuration.
Definition texteditorcomponent.cpp:100
TextEditorComponent(TextEditorController *controller, QWidget *parent=0)
The default texteditor compenent constructor.
Definition texteditorcomponent.cpp:40
TextEditorCommandMap * commandMap()
Returns the active commandmap.
Definition texteditorcomponent.cpp:93
General configuration settings of the text editor.
Definition texteditorconfig.h:18
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition texteditorcontroller.h:39
A text editor key map This key map, maps key-sequences to action-names.
Definition texteditorkeymap.h:39
Definition texteditorrenderer.h:17
A single text region A region constists of an anchor and a caret: The anchor defines the 'start' of t...
Definition textrange.h:29
A class for rendering the text.
Definition textrenderer.h:35
The class textselection is a RangeSet that is used by the view of the document.
Definition textselection.h:25
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20