SpeedCrunch
0.11
|
#include <editor.h>
Public Slots | |
void | appendHistory (const QString &result, const QString &expression) |
void | appendHistory (const QStringList &expressions, const QStringList &results) |
void | cancelConstantCompletion () |
void | evaluate () |
void | decreaseFontPointSize () |
void | increaseFontPointSize () |
void | insert (const QString &) |
void | insertConstant (const QString &) |
void | rehighlight () |
Signals | |
void | autoCalcEnabled (const QString &) |
void | autoCalcDisabled () |
void | controlPageDownPressed () |
void | controlPageUpPressed () |
void | copySequencePressed () |
void | pageDownPressed () |
void | pageUpPressed () |
void | returnPressed () |
void | shiftDownPressed () |
void | shiftUpPressed () |
void | shiftPageDownPressed () |
void | shiftPageUpPressed () |
Public Member Functions | |
Editor (QWidget *parent=0) | |
bool | isAutoCalcEnabled () const |
bool | isAutoCompletionEnabled () const |
void | clearHistory () |
int | cursorPosition () const |
void | doBackspace () |
QStringList | history () const |
QStringList | historyResults () const |
char | radixChar () const |
void | setAnsAvailable (bool) |
void | setAutoCalcEnabled (bool) |
void | setAutoCompletionEnabled (bool) |
void | setCursorPosition (int pos) |
void | setText (const QString &) |
void | setHistory (const QStringList &) |
void | setHistoryResults (const QStringList &) |
QSize | sizeHint () const |
void | stopAutoCalc () |
void | stopAutoComplete () |
QString | text () const |
Protected Slots | |
virtual void | insertFromMimeData (const QMimeData *) |
void | autoCalc () |
void | autoCalcSelection () |
void | autoComplete (const QString &) |
void | checkAutoCalc () |
void | checkAutoComplete () |
void | checkMatching () |
void | doMatchingLeft () |
void | doMatchingPar () |
void | doMatchingRight () |
void | historyBack () |
void | historyForward () |
void | startSelAutoCalcTimer () |
void | triggerAutoComplete () |
void | triggerEnter () |
Protected Member Functions | |
virtual void | changeEvent (QEvent *) |
virtual void | focusOutEvent (QFocusEvent *) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | paintEvent (QPaintEvent *) |
virtual void | wheelEvent (QWheelEvent *) |
Editor::Editor | ( | QWidget * | parent = 0 | ) | [explicit] |
void Editor::appendHistory | ( | const QString & | result, |
const QString & | expression | ||
) | [slot] |
void Editor::appendHistory | ( | const QStringList & | expressions, |
const QStringList & | results | ||
) | [slot] |
void Editor::autoCalc | ( | ) | [protected, slot] |
void Editor::autoCalcDisabled | ( | ) | [signal] |
void Editor::autoCalcEnabled | ( | const QString & | _t1 | ) | [signal] |
void Editor::autoCalcSelection | ( | ) | [protected, slot] |
void Editor::autoComplete | ( | const QString & | item | ) | [protected, slot] |
void Editor::cancelConstantCompletion | ( | ) | [slot] |
void Editor::changeEvent | ( | QEvent * | event | ) | [protected, virtual] |
void Editor::checkAutoCalc | ( | ) | [protected, slot] |
void Editor::checkAutoComplete | ( | ) | [protected, slot] |
void Editor::checkMatching | ( | ) | [protected, slot] |
void Editor::clearHistory | ( | ) |
void Editor::controlPageDownPressed | ( | ) | [signal] |
void Editor::controlPageUpPressed | ( | ) | [signal] |
void Editor::copySequencePressed | ( | ) | [signal] |
int Editor::cursorPosition | ( | ) | const |
void Editor::decreaseFontPointSize | ( | ) | [slot] |
void Editor::doBackspace | ( | ) |
void Editor::doMatchingLeft | ( | ) | [protected, slot] |
void Editor::doMatchingPar | ( | ) | [protected, slot] |
void Editor::doMatchingRight | ( | ) | [protected, slot] |
void Editor::evaluate | ( | ) | [slot] |
void Editor::focusOutEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
QStringList Editor::history | ( | ) | const |
void Editor::historyBack | ( | ) | [protected, slot] |
void Editor::historyForward | ( | ) | [protected, slot] |
QStringList Editor::historyResults | ( | ) | const |
void Editor::increaseFontPointSize | ( | ) | [slot] |
void Editor::insert | ( | const QString & | text | ) | [slot] |
void Editor::insertConstant | ( | const QString & | constant | ) | [slot] |
void Editor::insertFromMimeData | ( | const QMimeData * | source | ) | [protected, virtual, slot] |
bool Editor::isAutoCalcEnabled | ( | ) | const |
bool Editor::isAutoCompletionEnabled | ( | ) | const |
void Editor::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
void Editor::pageDownPressed | ( | ) | [signal] |
void Editor::pageUpPressed | ( | ) | [signal] |
void Editor::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
char Editor::radixChar | ( | ) | const |
void Editor::rehighlight | ( | ) | [slot] |
void Editor::returnPressed | ( | ) | [signal] |
void Editor::setAnsAvailable | ( | bool | available | ) |
void Editor::setAutoCalcEnabled | ( | bool | enable | ) |
void Editor::setAutoCompletionEnabled | ( | bool | enable | ) |
void Editor::setCursorPosition | ( | int | pos | ) |
void Editor::setHistory | ( | const QStringList & | history | ) |
void Editor::setHistoryResults | ( | const QStringList & | results | ) |
void Editor::setText | ( | const QString & | text | ) |
void Editor::shiftDownPressed | ( | ) | [signal] |
void Editor::shiftPageDownPressed | ( | ) | [signal] |
void Editor::shiftPageUpPressed | ( | ) | [signal] |
void Editor::shiftUpPressed | ( | ) | [signal] |
QSize Editor::sizeHint | ( | ) | const |
void Editor::startSelAutoCalcTimer | ( | ) | [protected, slot] |
void Editor::stopAutoCalc | ( | ) |
void Editor::stopAutoComplete | ( | ) |
QString Editor::text | ( | ) | const |
void Editor::triggerAutoComplete | ( | ) | [protected, slot] |
void Editor::triggerEnter | ( | ) | [protected, slot] |
void Editor::wheelEvent | ( | QWheelEvent * | event | ) | [protected, virtual] |