#include <function_editor.h>
Public Types | |
enum | EditorMode { FUNCTION_OR_TIMESERIES, TIMESERIES_ONLY, FUNCTION_ONLY } |
Public Member Functions | |
AddCustomPlotDialog (PlotDataMapRef &plotMapData, const CustomPlotMap &mapped_custom_plots, QWidget *parent) | |
void | editExistingPlot (CustomPlotPtr data) |
CustomPlotPtr | getCustomPlotData () const |
QString | getEquation () const |
QString | getGlobalVars () const |
QString | getLinkedData () const |
QString | getName () const |
const PlotData & | getPlotData () const |
void | setEditorMode (EditorMode mode) |
void | setLinkedPlotName (const QString &linkedPlotName) |
virtual | ~AddCustomPlotDialog () override |
Private Slots | |
void | on_buttonLoadFunctions_clicked () |
void | on_buttonSaveFunctions_clicked () |
void | on_curvesListWidget_doubleClicked (const QModelIndex &index) |
void | on_lineEditFilter_textChanged (const QString &arg1) |
void | on_nameLineEdit_textChanged (const QString &arg1) |
void | on_pushButtonCreate_clicked () |
void | on_pushButtonSave_clicked () |
void | on_snippetsListRecent_currentRowChanged (int currentRow) |
void | on_snippetsListRecent_doubleClicked (const QModelIndex &index) |
void | on_snippetsListSaved_currentRowChanged (int currentRow) |
void | on_snippetsListSaved_doubleClicked (const QModelIndex &index) |
void | onRenameSaved () |
void | recentContextMenu (const QPoint &pos) |
void | savedContextMenu (const QPoint &pos) |
Private Member Functions | |
bool | addToSaved (const QString &name, const SnippetData &snippet) |
QByteArray | exportSnippets () const |
void | importSnippets (const QByteArray &xml_text) |
Private Attributes | |
const CustomPlotMap & | _custom_plots |
bool | _is_new |
CustomPlotPtr | _plot |
PlotDataMapRef & | _plot_map_data |
SnippetsMap | _snipped_recent |
SnippetsMap | _snipped_saved |
int | _v_count |
Ui::FunctionEditor * | ui |
Definition at line 13 of file function_editor.h.
Enumerator | |
---|---|
FUNCTION_OR_TIMESERIES | |
TIMESERIES_ONLY | |
FUNCTION_ONLY |
Definition at line 25 of file function_editor.h.
|
explicit |
Definition at line 20 of file function_editor.cpp.
|
overridevirtual |
Definition at line 82 of file function_editor.cpp.
|
private |
Definition at line 400 of file function_editor.cpp.
void AddCustomPlotDialog::editExistingPlot | ( | CustomPlotPtr | data | ) |
Definition at line 130 of file function_editor.cpp.
|
private |
Definition at line 198 of file function_editor.cpp.
CustomPlotPtr AddCustomPlotDialog::getCustomPlotData | ( | ) | const |
Definition at line 142 of file function_editor.cpp.
QString AddCustomPlotDialog::getEquation | ( | ) | const |
Definition at line 120 of file function_editor.cpp.
QString AddCustomPlotDialog::getGlobalVars | ( | ) | const |
Definition at line 115 of file function_editor.cpp.
QString AddCustomPlotDialog::getLinkedData | ( | ) | const |
Definition at line 110 of file function_editor.cpp.
QString AddCustomPlotDialog::getName | ( | ) | const |
Definition at line 125 of file function_editor.cpp.
const PlotData& AddCustomPlotDialog::getPlotData | ( | ) | const |
|
private |
Definition at line 167 of file function_editor.cpp.
|
privateslot |
Definition at line 331 of file function_editor.cpp.
|
privateslot |
Definition at line 357 of file function_editor.cpp.
|
privateslot |
Definition at line 147 of file function_editor.cpp.
|
privateslot |
Definition at line 477 of file function_editor.cpp.
|
privateslot |
Definition at line 317 of file function_editor.cpp.
|
privateslot |
Definition at line 451 of file function_editor.cpp.
|
privateslot |
Definition at line 386 of file function_editor.cpp.
|
privateslot |
Definition at line 229 of file function_editor.cpp.
|
privateslot |
Definition at line 245 of file function_editor.cpp.
|
privateslot |
Definition at line 207 of file function_editor.cpp.
|
privateslot |
Definition at line 220 of file function_editor.cpp.
|
privateslot |
Definition at line 425 of file function_editor.cpp.
|
privateslot |
Definition at line 254 of file function_editor.cpp.
|
privateslot |
Definition at line 287 of file function_editor.cpp.
void AddCustomPlotDialog::setEditorMode | ( | EditorMode | mode | ) |
Definition at line 102 of file function_editor.cpp.
void AddCustomPlotDialog::setLinkedPlotName | ( | const QString & | linkedPlotName | ) |
Definition at line 90 of file function_editor.cpp.
|
private |
Definition at line 79 of file function_editor.h.
|
private |
Definition at line 83 of file function_editor.h.
|
private |
Definition at line 82 of file function_editor.h.
|
private |
Definition at line 78 of file function_editor.h.
|
private |
Definition at line 87 of file function_editor.h.
|
private |
Definition at line 86 of file function_editor.h.
|
private |
Definition at line 84 of file function_editor.h.
|
private |
Definition at line 80 of file function_editor.h.