kalgebra
#include <consolehtml.h>

Public Types | |
enum | ConsoleMode { Evaluation, Calculation } |
Public Slots | |
bool | addOperation (const Analitza::Expression &e, const QString &input) |
void | clear () |
void | copy () const |
bool | loadScript (const KUrl &path) |
void | openClickedUrl (const QUrl &url) |
bool | saveLog (const KUrl &path) const |
bool | saveScript (const KUrl &path) const |
Signals | |
void | changed () |
void | paste (const QString &code) |
void | status (const QString &msg) |
Public Member Functions | |
ConsoleHtml (QWidget *parent=0) | |
virtual | ~ConsoleHtml () |
void | addOptionsObserver (InlineOptions *opt) |
Analitza::Analyzer * | analitza () |
virtual void | contextMenuEvent (QContextMenuEvent *ev) |
ConsoleMode | mode () const |
void | setMode (ConsoleMode newMode) |
Detailed Description
The Console widget is able to receive an operation, solve it and show the value.
It also is able to load scripts and save logs.
Definition at line 45 of file consolehtml.h.
Member Enumeration Documentation
This enumeration controles the way the console will calculate and show his results.
Enumerator | |
---|---|
Evaluation |
Simplifies the expression, tries to simplify when sees a variable not defined. |
Calculation |
Calculates everything, if it finds a not defined variable shows an error. |
Definition at line 50 of file consolehtml.h.
Constructor & Destructor Documentation
ConsoleHtml::ConsoleHtml | ( | QWidget * | parent = 0 | ) |
|
virtual |
Destructor.
Definition at line 55 of file consolehtml.cpp.
Member Function Documentation
|
slot |
Adds the operation defined by the expression e
.
Definition at line 97 of file consolehtml.cpp.
|
inline |
Definition at line 70 of file consolehtml.h.
|
inline |
Retrieves a pointer to the Analitza calculator associated.
Definition at line 62 of file consolehtml.h.
|
signal |
Emits that something has changed.
|
slot |
Flushes the contents.
Definition at line 286 of file consolehtml.cpp.
|
virtual |
Definition at line 271 of file consolehtml.cpp.
|
slot |
Copies the selected text to the clipboard.
Definition at line 266 of file consolehtml.cpp.
|
slot |
Loads a script from path
.
Definition at line 169 of file consolehtml.cpp.
|
inline |
Retrieves the console mode.
Definition at line 68 of file consolehtml.h.
|
slot |
Definition at line 85 of file consolehtml.cpp.
|
signal |
Emits the selected code to be pasted somewhere.
|
slot |
Saves a log to path
.
Definition at line 216 of file consolehtml.cpp.
|
slot |
Save a script yo path
.
Definition at line 194 of file consolehtml.cpp.
|
inline |
Sets a newMode
console mode.
Definition at line 65 of file consolehtml.h.
|
signal |
Emits a notification that tells that the widget status.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.