46 lines
1.0 KiB
C
46 lines
1.0 KiB
C
|
#ifndef GTL_GUI_GTL_GUI_APFC_WIDGET_H
|
||
|
#define GTL_GUI_GTL_GUI_APFC_WIDGET_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
#include "core/gtl_data_model.h"
|
||
|
#include "core/gtl_selection_data_model.h"
|
||
|
#include "gui/gtl_gui_apfc_chart.h"
|
||
|
#include "gui_global.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class apfc_widget;
|
||
|
}
|
||
|
|
||
|
namespace gtl
|
||
|
{
|
||
|
namespace gui
|
||
|
{
|
||
|
class GTL_GUI_EXPORT apfc_widget : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit apfc_widget(QWidget *parent = nullptr, gtl::data_model* model = nullptr);
|
||
|
~apfc_widget();
|
||
|
|
||
|
virtual void save(QDomElement& root_element);
|
||
|
virtual void load(const QDomElement& root_element);
|
||
|
|
||
|
private:
|
||
|
Ui::apfc_widget *ui;
|
||
|
gtl::selection_data_model* _selection_data_model;
|
||
|
gtl::gui::apfc_chart* _chart;
|
||
|
|
||
|
private:
|
||
|
void update_parameters();
|
||
|
|
||
|
private slots:
|
||
|
void handle_chart_signals_changed(QList<QString> *sigs);
|
||
|
};
|
||
|
|
||
|
|
||
|
} // namespace gui
|
||
|
} // namespace gtl
|
||
|
#endif // GTL_GUI_GTL_GUI_APFC_WIDGET_H
|