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 44 of file ExprDialog.h.
ExprDialog::ExprDialog | ( | QWidget * | parent | ) |
Definition at line 35 of file ExprDialog.cpp.
References _showEditor(), acceptButton, applyButton, browser, cancelButton, clearButton, clearExpression(), controls, grapher, preview(), previewButton, previewCommentLabel, previewExpression(), reject(), saveAsButton, saveButton, saveLocalButton, setupHelp(), showEditorTimer, verifiedAccept(), and verifiedApply().
|
privateslot |
Definition at line 146 of file ExprDialog.cpp.
References _currentEditorIdx, controls, and ExprControlCollection::showEditor().
Referenced by ExprDialog().
|
slot |
Definition at line 284 of file ExprDialog.cpp.
References ExprGrapherWidget::expr, BasicExpression::funcmap, SeExpr2::Expression::getErrors(), grapher, SeExpr2::Expression::isValid(), previewCommentLabel, BasicExpression::setExpr(), ExprGrapherWidget::update(), and BasicExpression::varmap.
Referenced by previewExpression(), verifiedAccept(), and verifiedApply().
|
slot |
Definition at line 332 of file ExprDialog.cpp.
References browser, ExprBrowser::clearSelection(), ExprGrapherWidget::expr, grapher, BasicExpression::setExpr(), and ExprGrapherWidget::update().
Referenced by ExprDialog(), and setExpressionString().
|
protected |
Definition at line 167 of file ExprDialog.cpp.
References dialogClosed().
|
signal |
Referenced by closeEvent(), reject(), and verifiedAccept().
int ExprDialog::exec | ( | ) |
Definition at line 155 of file ExprDialog.cpp.
References browser, ExprBrowser::expandAll(), and ExprBrowser::getExpressionDirs().
Referenced by main().
|
signal |
Referenced by verifiedAccept(), and verifiedApply().
|
protected |
Definition at line 265 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.
Referenced by ExprShortEdit::expressionApplied(), and main().
|
protected |
Definition at line 162 of file ExprDialog.cpp.
|
signal |
Referenced by ExprDialog(), and previewExpression().
|
privateslot |
Definition at line 279 of file ExprDialog.cpp.
References applyExpression(), and preview().
Referenced by ExprDialog().
|
slot |
Definition at line 172 of file ExprDialog.cpp.
References dialogClosed().
Referenced by ExprDialog().
|
inline |
Definition at line 72 of file ExprDialog.h.
References clearExpression().
Referenced by main(), and ExprShortEdit::showDetails().
|
private |
Definition at line 215 of file ExprDialog.cpp.
References findNextInHelp(), findPrevInHelp(), helpBrowser, and helpFindBox.
Referenced by ExprDialog().
void ExprDialog::show | ( | ) |
Definition at line 148 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 140 of file ExprDialog.cpp.
References _currentEditorIdx, and showEditorTimer.
Referenced by ExprShortEdit::showDetails().
|
privateslot |
Definition at line 193 of file ExprDialog.cpp.
References applyExpression(), dialogClosed(), ExprGrapherWidget::expr, expressionApplied(), grapher, and SeExpr2::Expression::isValid().
Referenced by ExprDialog().
|
privateslot |
Definition at line 177 of file ExprDialog.cpp.
References applyExpression(), ExprGrapherWidget::expr, expressionApplied(), grapher, and SeExpr2::Expression::isValid().
Referenced by ExprDialog().
|
private |
Definition at line 65 of file ExprDialog.h.
Referenced by _showEditor(), and showEditor().
|
private |
Definition at line 54 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 58 of file ExprDialog.h.
Referenced by ExprDialog().
ExprBrowser* ExprDialog::browser |
Definition at line 49 of file ExprDialog.h.
Referenced by clearExpression(), exec(), ExprDialog(), show(), and ExprShortEdit::showDetails().
|
private |
Definition at line 55 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 56 of file ExprDialog.h.
Referenced by _showEditor(), and ExprDialog().
|
private |
Definition at line 63 of file ExprDialog.h.
ExprEditor* ExprDialog::editor |
Definition at line 48 of file ExprDialog.h.
Referenced by ExprShortEdit::showDetails().
|
private |
Definition at line 52 of file ExprDialog.h.
Referenced by applyExpression(), clearExpression(), ExprDialog(), verifiedAccept(), and verifiedApply().
|
private |
Definition at line 62 of file ExprDialog.h.
Referenced by findHelper(), and setupHelp().
|
private |
Definition at line 60 of file ExprDialog.h.
Referenced by findHelper(), and setupHelp().
|
private |
Definition at line 64 of file ExprDialog.h.
Referenced by findHelper().
|
private |
Definition at line 58 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 53 of file ExprDialog.h.
Referenced by applyExpression(), and ExprDialog().
|
private |
Definition at line 58 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 58 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 59 of file ExprDialog.h.
Referenced by ExprDialog().
|
private |
Definition at line 61 of file ExprDialog.h.
Referenced by ExprDialog(), and showEditor().