1 #ifndef AddCustomPlotDialog_H 2 #define AddCustomPlotDialog_H 5 #include <QListWidgetItem> 6 #include <unordered_map> 10 #include "ui_function_editor.h" 80 Ui::FunctionEditor *
ui;
90 #endif // AddCustomPlotDialog_H QByteArray exportSnippets() const
void on_snippetsListSaved_currentRowChanged(int currentRow)
SnippetsMap _snipped_recent
std::map< QString, SnippetData > SnippetsMap
void setLinkedPlotName(const QString &linkedPlotName)
void on_pushButtonSave_clicked()
void setEditorMode(EditorMode mode)
void on_snippetsListSaved_doubleClicked(const QModelIndex &index)
void on_buttonSaveFunctions_clicked()
const CustomPlotMap & _custom_plots
void recentContextMenu(const QPoint &pos)
void on_lineEditFilter_textChanged(const QString &arg1)
void on_nameLineEdit_textChanged(const QString &arg1)
CustomPlotPtr getCustomPlotData() const
QString getGlobalVars() const
std::shared_ptr< CustomFunction > CustomPlotPtr
QString getLinkedData() const
AddCustomPlotDialog(PlotDataMapRef &plotMapData, const CustomPlotMap &mapped_custom_plots, QWidget *parent)
bool addToSaved(const QString &name, const SnippetData &snippet)
void on_buttonLoadFunctions_clicked()
void on_pushButtonCreate_clicked()
PlotDataMapRef & _plot_map_data
QString getEquation() const
std::unordered_map< std::string, CustomPlotPtr > CustomPlotMap
const PlotData & getPlotData() const
void editExistingPlot(CustomPlotPtr data)
void on_curvesListWidget_doubleClicked(const QModelIndex &index)
void on_snippetsListRecent_currentRowChanged(int currentRow)
void importSnippets(const QByteArray &xml_text)
virtual ~AddCustomPlotDialog() override
SnippetsMap _snipped_saved
void on_snippetsListRecent_doubleClicked(const QModelIndex &index)
void savedContextMenu(const QPoint &pos)