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

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

Worksheet Class Reference

Collaboration diagram for Worksheet:
Collaboration graph
[legend]

List of all members.

Public Slots

WorksheetEntryappendCommandEntry ()
void appendCommandEntry (const QString &text)
WorksheetEntryappendTextEntry ()
bool completionEnabled ()
void enableCompletion (bool enable)
void enableExpressionNumbering (bool enable)
void enableHighlighting (bool highlight)
void evaluate ()
void evaluateCurrentEntry ()
void gotResult (Cantor::Expression *expr=0)
WorksheetEntryinsertCommandEntry ()
void insertCommandEntry (const QString &text)
WorksheetEntryinsertCommandEntryBefore ()
WorksheetEntryinsertTextEntry ()
WorksheetEntryinsertTextEntryBefore ()
void interrupt ()
void interruptCurrentEntryEvaluation ()
void load (const QString &filename)
void moveToNextEntry ()
void moveToPreviousEntry ()
void removeCurrentEntry ()
void save (const QString &filename)
void saveLatex (const QString &filename, bool exportImages)
void savePlain (const QString &filename)
void setCurrentEntry (WorksheetEntry *entry, bool moveCursor=true)
void showCompletion ()
QDomDocument toXML (KZip *archive=0)
void zoomIn (int range=1)
void zoomOut (int range=1)

Signals

void modified ()
void sessionChanged ()
void showHelp (const QString &help)
void updatePrompt ()

Public Member Functions

bool isRunning ()
void print (QPrinter *printer)
ResultProxyresultProxy ()
Cantor::Sessionsession ()
bool showExpressionIds ()
 Worksheet (Cantor::Backend *backend, QWidget *parent)

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)
void dragMoveEvent (QDragMoveEvent *event)
void dropEvent (QDropEvent *event)
bool event (QEvent *event)
void keyPressEvent (QKeyEvent *event)
void mouseDoubleClickEvent (QMouseEvent *event)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)

Private Slots

WorksheetEntryappendEntry (int type)
void checkEntriesForSanity ()
WorksheetEntryinsertEntry (int type)
WorksheetEntryinsertEntryAt (int type, const QTextCursor &cursor)
WorksheetEntryinsertEntryBefore (int type)
void loginToSession ()
void removeEntry (QObject *object)

Private Member Functions

WorksheetEntrycurrentEntry ()
WorksheetEntryentryAt (const QTextCursor &cursor)
WorksheetEntryentryAt (int row)
WorksheetEntryentryNextTo (const QTextCursor &cursor)

Private Attributes

bool m_completionEnabled
WorksheetEntrym_currentEntry
QList< WorksheetEntry * > m_entries
QSyntaxHighlighter * m_highlighter
bool m_loginFlag
ResultProxym_proxy
Cantor::Sessionm_session
bool m_showExpressionIds

Detailed Description

Definition at line 37 of file worksheet.h.


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

Generated by  Doxygen 1.6.0   Back to index