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

Classes | Public Types | Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes

Editor Class Reference

Collaboration diagram for Editor:
Collaboration graph
[legend]

List of all members.

Classes

class  Private

Public Types

enum  ColorType { Number, FunctionName, Variable, MatchedPar }

Public Slots

void appendHistory (const QString &text)
void clearHistory ()
void setText (const QString &txt)
void squelchNextAutoCalc ()

Public Member Functions

bool autoCalcEnabled () const
bool autoCompleteEnabled () const
 Editor (QWidget *parent=0, const char *name=0)
QColor highlightColor (ColorType type)
QStringList history () const
bool isSyntaxHighlightEnabled () const
void setAutoCalcEnabled (bool enable)
void setAutoCompleteEnabled (bool enable)
void setDecimalDigits (int digits)
void setFormat (char format)
void setHighlightColor (ColorType type, QColor color)
void setHistory (const QStringList &history)
void setSyntaxHighlight (bool enable)
QSize sizeHint () const
QSize xminimumSizeHint () const

Protected Slots

void autoCalc ()
void autoComplete (const QString &item)
void checkAutoCalc ()
void checkAutoComplete ()
void checkMatching ()
void doMatchingLeft ()
void doMatchingRight ()
void historyBack ()
void historyForward ()
void triggerAutoComplete ()

Protected Member Functions

QString formatNumber (const Abakus::number_t &value) const
void keyPressEvent (QKeyEvent *)
void wheelEvent (QWheelEvent *)

Private Member Functions

 Editor (const Editor &)
Editoroperator= (const Editor &)

Private Attributes

Privated

Detailed Description

Definition at line 37 of file editor.h.


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

Generated by  Doxygen 1.6.0   Back to index