#include <kformulawidget.h>
Inherits TQWidget.
Inherited by TestWidget.
Public Slots | |
| void | slotSelectAll () |
Signals | |
| void | cursorChanged (bool visible, bool selecting) |
Public Member Functions | |
| KFormulaWidget (Container *, TQWidget *parent=0, const char *name=0, WFlags f=0) | |
| TQPoint | getCursorPoint () const |
| void | setReadOnly (bool ro) |
Protected Slots | |
| void | slotFormulaChanged (int width, int height) |
| void | slotCursorChanged (bool visible, bool selecting) |
Protected Member Functions | |
| virtual void | mousePressEvent (TQMouseEvent *event) |
| virtual void | mouseReleaseEvent (TQMouseEvent *event) |
| virtual void | mouseDoubleClickEvent (TQMouseEvent *event) |
| virtual void | mouseMoveEvent (TQMouseEvent *event) |
| virtual void | wheelEvent (TQWheelEvent *event) |
| virtual void | paintEvent (TQPaintEvent *event) |
| virtual void | keyPressEvent (TQKeyEvent *event) |
| virtual void | focusInEvent (TQFocusEvent *event) |
| virtual void | focusOutEvent (TQFocusEvent *event) |
| Container * | getDocument () |
| FormulaCursor * | getCursor () |
Detailed Description
The view.
A widget that shows the formula. There are methods to move the cursor around. To edit the formula use the document.
Definition at line 48 of file kformulawidget.h.
Constructor & Destructor Documentation
◆ KFormulaWidget()
| KFormulaWidget::KFormulaWidget | ( | Container * | doc, |
| TQWidget * | parent = 0, |
||
| const char * | name = 0, |
||
| WFlags | f = 0 |
||
| ) |
Definition at line 38 of file kformulawidget.cpp.
◆ ~KFormulaWidget()
| KFormulaWidget::~KFormulaWidget | ( | ) |
Definition at line 54 of file kformulawidget.cpp.
Member Function Documentation
◆ cursorChanged
|
signal |
Is emitted every time the cursor might have changed.
◆ focusInEvent()
|
protectedvirtual |
Definition at line 91 of file kformulawidget.cpp.
◆ focusOutEvent()
|
protectedvirtual |
Definition at line 96 of file kformulawidget.cpp.
◆ getCursor()
|
protected |
Our cursor.
Definition at line 146 of file kformulawidget.cpp.
◆ getCursorPoint()
| TQPoint KFormulaWidget::getCursorPoint | ( | ) | const |
- Returns
- the point inside the formula widget where the cursor is.
Definition at line 59 of file kformulawidget.cpp.
◆ getDocument()
|
protected |
The document we show.
Definition at line 138 of file kformulawidget.cpp.
◆ keyPressEvent()
|
protectedvirtual |
Definition at line 85 of file kformulawidget.cpp.
◆ mouseDoubleClickEvent()
|
protectedvirtual |
Definition at line 111 of file kformulawidget.cpp.
◆ mouseMoveEvent()
|
protectedvirtual |
Definition at line 116 of file kformulawidget.cpp.
◆ mousePressEvent()
|
protectedvirtual |
Definition at line 101 of file kformulawidget.cpp.
◆ mouseReleaseEvent()
|
protectedvirtual |
Definition at line 106 of file kformulawidget.cpp.
◆ paintEvent()
|
protectedvirtual |
Definition at line 70 of file kformulawidget.cpp.
◆ setReadOnly()
| void KFormulaWidget::setReadOnly | ( | bool | ro | ) |
Puts the widget in read only mode.
Definition at line 64 of file kformulawidget.cpp.
◆ slotCursorChanged
|
protectedslot |
Definition at line 157 of file kformulawidget.cpp.
◆ slotFormulaChanged
|
protectedslot |
The formula has changed and needs to be redrawn.
Definition at line 126 of file kformulawidget.cpp.
◆ slotSelectAll
|
slot |
Definition at line 152 of file kformulawidget.cpp.
◆ wheelEvent()
|
protectedvirtual |
Definition at line 121 of file kformulawidget.cpp.
The documentation for this class was generated from the following files:
