Logo Search packages:      
Sourcecode: cantor version File versions  Download package

Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes

TextEntry Class Reference

Inheritance diagram for TextEntry:
Inheritance graph
[legend]
Collaboration diagram for TextEntry:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { Type = 0 }
enum  { Type = 1 }

Public Slots

void update ()

Signals

void bottommostValidLineReached ()
void leftmostValidPositionReached ()
void rightmostValidPositionReached ()
void topmostValidLineReached ()

Public Member Functions

bool acceptRichText ()
bool acceptsDrop (const QTextCursor &cursor)
virtual void checkForSanity ()
QTextCursor closestValidCursor (const QTextCursor &cursor)
bool contains (const QTextCursor &cursor)
bool evaluate (bool current)
QTextCursor firstCursorPosition ()
int firstPosition ()
QTextCursor firstValidCursorPosition ()
int firstValidPosition ()
void interruptEvaluation ()
bool isEmpty ()
bool isValidCursor (const QTextCursor &cursor)
QTextCursor lastCursorPosition ()
int lastPosition ()
QTextCursor lastValidCursorPosition ()
int lastValidPosition ()
virtual void setActive (bool active, bool moveCursor)
void setContent (const QString &content)
void setContent (const QDomElement &content, const KZip &file)
virtual void showCompletion ()
 TextEntry (QTextCursor position, Worksheet *parent)
QString toPlain (QString &commandSep, QString &commentStartingSeq, QString &commentEndingSeq)
QDomElement toXml (QDomDocument &doc, KZip *archive)
int type ()
virtual bool worksheetContextMenuEvent (QContextMenuEvent *event, const QTextCursor &cursor)
virtual bool worksheetKeyPressEvent (QKeyEvent *event, const QTextCursor &cursor)
virtual bool worksheetMouseDoubleClickEvent (QMouseEvent *event, const QTextCursor &cursor)
virtual bool worksheetMousePressEvent (QMouseEvent *event, const QTextCursor &cursor)
virtual bool worksheetShortcutOverrideEvent (QKeyEvent *event, const QTextCursor &cursor)

Protected Attributes

QTextFrame * m_frame
Worksheetm_worksheet

Detailed Description

Definition at line 31 of file textentry.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index