SeExpr
|
#include <ExprDialog.h>
Public Slots | |
void | applyExpression () |
void | clearExpression () |
void | reject () |
Signals | |
void | preview () |
void | expressionApplied () |
void | dialogClosed () |
Public Member Functions | |
ExprDialog (QWidget *parent) | |
std::string | getExpressionString () |
void | setExpressionString (const std::string &str) |
void | show () |
int | exec () |
void | showEditor (int idx) |
Public Attributes | |
ExprEditor * | editor |
ExprBrowser * | browser |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) |
void | findHelper (QTextDocument::FindFlags flags) |
void | closeEvent (QCloseEvent *event) |
Private Slots | |
void | previewExpression () |
void | verifiedApply () |
void | verifiedAccept () |
void | findNextInHelp () |
void | findPrevInHelp () |
void | _showEditor () |
Private Member Functions | |
void | setupHelp (QTabWidget *tab) |
Private Attributes | |
ExprGrapherWidget * | grapher |
QLabel * | previewCommentLabel |
QPushButton * | acceptButton |
QPushButton * | cancelButton |
ExprControlCollection * | controls |
QPushButton * | applyButton |
QPushButton * | previewButton |
QPushButton * | saveButton |
QPushButton * | saveAsButton |
QPushButton * | saveLocalButton |
QPushButton * | clearButton |
QLineEdit * | helpFindBox |
QTimer * | showEditorTimer |
QTextBrowser * | helpBrowser |
QTextCursor | cursor |
QString | prevFind |
int | _currentEditorIdx |
Definition at line 45 of file ExprDialog.h.
ExprDialog::ExprDialog | ( | QWidget * | parent | ) |
Definition at line 36 of file ExprDialog.cpp.
References _showEditor(), acceptButton, applyButton, browser, cancelButton, clearButton, clearExpression(), controls, editor, grapher, preview(), previewButton, previewCommentLabel, previewExpression(), reject(), saveAsButton, saveButton, saveLocalButton, setupHelp(), showEditorTimer, verifiedAccept(), and verifiedApply().
|
privateslot |
Definition at line 151 of file ExprDialog.cpp.
References _currentEditorIdx, controls, and ExprControlCollection::showEditor().
Referenced by ExprDialog().
|
slot |
Definition at line 311 of file ExprDialog.cpp.
References ExprEditor::addError(), ExprEditor::clearErrors(), editor, ExprGrapherWidget::expr, BasicExpression::funcmap, SeExpr2::Expression::getErrors(), ExprEditor::getExpr(), grapher, SeExpr2::Expression::isValid(), ExprEditor::nextError(), previewCommentLabel, BasicExpression::setExpr(), ExprGrapherWidget::update(), and BasicExpression::varmap.
Referenced by previewExpression(), verifiedAccept(), and verifiedApply().
|
slot |
Definition at line 360 of file ExprDialog.cpp.
References browser, ExprBrowser::clearSelection(), editor, ExprGrapherWidget::expr, grapher, BasicExpression::setExpr(), ExprEditor::setExpr(), and ExprGrapherWidget::update().
Referenced by ExprDialog(), and setExpressionString().
|
protected |
Definition at line 178 of file ExprDialog.cpp.
References dialogClosed().
|
signal |
Referenced by closeEvent(), reject(), and verifiedAccept().
int ExprDialog::exec | ( | ) |
Definition at line 164 of file ExprDialog.cpp.
References browser, ExprBrowser::expandAll(), and ExprBrowser::getExpressionDirs().
Referenced by main().
|
signal |
Referenced by verifiedAccept(), and verifiedApply().
|
protected |
Definition at line 286 of file ExprDialog.cpp.
References helpBrowser, helpFindBox, and prevFind.
Referenced by findNextInHelp(), and findPrevInHelp().
|
privateslot |
|
privateslot |
|
inline |
Definition at line 70 of file ExprDialog.h.
References editor, and ExprEditor::getExpr().
Referenced by ExprShortEdit::expressionApplied(), and main().
|
protected |
Definition at line 172 of file ExprDialog.cpp.
|
signal |
Referenced by ExprDialog(), and previewExpression().
|
privateslot |
Definition at line 305 of file ExprDialog.cpp.
References applyExpression(), and preview().
Referenced by ExprDialog().
|
slot |
Definition at line 184 of file ExprDialog.cpp.
References dialogClosed().
Referenced by ExprDialog().
|
inline |
Definition at line 75 of file ExprDialog.h.
References clearExpression(), editor, and ExprEditor::setExpr().
Referenced by main(), and ExprShortEdit::showDetails().
|
private |
Definition at line 234 of file ExprDialog.cpp.
References findNextInHelp(), findPrevInHelp(), helpBrowser, and helpFindBox.
Referenced by ExprDialog().
void ExprDialog::show | ( | ) |
Definition at line 156 of file ExprDialog.cpp.
References browser, ExprBrowser::expandAll(), and ExprBrowser::getExpressionDirs().
Referenced by main(), and ExprShortEdit::showDetails().
void ExprDialog::showEditor | ( | int | idx | ) |
Definition at line 144 of file ExprDialog.cpp.
References _currentEditorIdx, and showEditorTimer.
Referenced by ExprShortEdit::showDetails().
|
privateslot |
Definition at line 211 of file ExprDialog.cpp.
References applyExpression(), dialogClosed(), ExprGrapherWidget::expr, expressionApplied(), grapher, and SeExpr2::Expression::isValid().
Referenced by ExprDialog().
|
privateslot |
Definition at line 190 of file ExprDialog.cpp.
References applyExpression(), ExprGrapherWidget::expr, expressionApplied(), grapher, and SeExpr2::Expression::isValid().
Referenced by ExprDialog().
|
private |
Definition at line 66 of file ExprDialog.h.
Referenced by _showEditor(), and showEditor().
|
private |
Definition at line 55 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
ExprBrowser* ExprDialog::browser |
Definition at line 51 of file ExprDialog.h.
Referenced by clearExpression(), exec(), ExprDialog(), show(), and ExprShortEdit::showDetails().
|
private |
Definition at line 56 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 60 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 57 of file ExprDialog.h.
Referenced by _showEditor(), and ExprDialog().
|
private |
Definition at line 64 of file ExprDialog.h.
ExprEditor* ExprDialog::editor |
Definition at line 50 of file ExprDialog.h.
Referenced by applyExpression(), clearExpression(), ExprDialog(), getExpressionString(), setExpressionString(), and ExprShortEdit::showDetails().
|
private |
Definition at line 53 of file ExprDialog.h.
Referenced by applyExpression(), clearExpression(), ExprDialog(), verifiedAccept(), and verifiedApply().
|
private |
Definition at line 63 of file ExprDialog.h.
Referenced by findHelper(), and setupHelp().
|
private |
Definition at line 61 of file ExprDialog.h.
Referenced by findHelper(), and setupHelp().
|
private |
Definition at line 65 of file ExprDialog.h.
Referenced by findHelper().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 54 of file ExprDialog.h.
Referenced by applyExpression(), and ExprDialog().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 60 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 62 of file ExprDialog.h.
Referenced by ExprDialog(), and showEditor().