#include <kformulawidget.h>
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 37 of file kformulawidget.cpp.
◆ ~KFormulaWidget()
| KFormulaWidget::~KFormulaWidget | ( | ) |
Definition at line 53 of file kformulawidget.cpp.
Member Function Documentation
◆ cursorChanged
|
signal |
Is emitted every time the cursor might have changed.
◆ focusInEvent()
|
protectedvirtual |
Definition at line 90 of file kformulawidget.cpp.
◆ focusOutEvent()
|
protectedvirtual |
Definition at line 95 of file kformulawidget.cpp.
◆ getCursor()
|
protected |
Our cursor.
Definition at line 145 of file kformulawidget.cpp.
◆ getCursorPoint()
| TQPoint KFormulaWidget::getCursorPoint | ( | ) | const |
- Returns
- the point inside the formula widget where the cursor is.
Definition at line 58 of file kformulawidget.cpp.
◆ getDocument()
|
protected |
The document we show.
Definition at line 137 of file kformulawidget.cpp.
◆ keyPressEvent()
|
protectedvirtual |
Definition at line 84 of file kformulawidget.cpp.
◆ mouseDoubleClickEvent()
|
protectedvirtual |
Definition at line 110 of file kformulawidget.cpp.
◆ mouseMoveEvent()
|
protectedvirtual |
Definition at line 115 of file kformulawidget.cpp.
◆ mousePressEvent()
|
protectedvirtual |
Definition at line 100 of file kformulawidget.cpp.
◆ mouseReleaseEvent()
|
protectedvirtual |
Definition at line 105 of file kformulawidget.cpp.
◆ paintEvent()
|
protectedvirtual |
Definition at line 69 of file kformulawidget.cpp.
◆ setReadOnly()
| void KFormulaWidget::setReadOnly | ( | bool | ro | ) |
Puts the widget in read only mode.
Definition at line 63 of file kformulawidget.cpp.
◆ slotCursorChanged
|
protectedslot |
Definition at line 156 of file kformulawidget.cpp.
◆ slotFormulaChanged
|
protectedslot |
The formula has changed and needs to be redrawn.
Definition at line 125 of file kformulawidget.cpp.
◆ slotSelectAll
|
slot |
Definition at line 151 of file kformulawidget.cpp.
◆ wheelEvent()
|
protectedvirtual |
Definition at line 120 of file kformulawidget.cpp.
The documentation for this class was generated from the following files:
