scale_transform.h
Go to the documentation of this file.
1 #ifndef SCALE_TRANSFORM_H
2 #define SCALE_TRANSFORM_H
3 
4 #include <QWidget>
6 
7 using namespace PJ;
8 
9 namespace Ui
10 {
11 class ScaleTransform;
12 }
13 
15 {
16 public:
17  explicit ScaleTransform();
18 
19  ~ScaleTransform() override;
20 
21  static const char* transformName()
22  {
23  return "Scale/Offset";
24  }
25 
26  const char* name() const override
27  {
29  }
30 
31  QWidget* optionsWidget() override;
32 
33  bool xmlSaveState(QDomDocument& doc, QDomElement& parent_element) const override;
34 
35  bool xmlLoadState(const QDomElement& parent_element) override;
36 
37 private:
38  QWidget* _widget;
39  Ui::ScaleTransform* ui;
40 
41  std::optional<PlotData::Point> calculateNextPoint(size_t index) override;
42 };
43 
44 #endif // SCALE_TRANSFORM_H
ScaleTransform::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition: scale_transform.h:26
ScaleTransform::ui
Ui::ScaleTransform * ui
Definition: scale_transform.h:39
transform_function.h
Ui
Definition: cheatsheet_dialog.h:6
PJ::TransformFunction_SISO
Simplified version with Single input and Single output.
Definition: transform_function.h:88
PJ
Definition: dataloader_base.h:16
ScaleTransform
Definition: scale_transform.h:14
ScaleTransform::_widget
QWidget * _widget
Definition: scale_transform.h:38
ScaleTransform::transformName
static const char * transformName()
Definition: scale_transform.h:21


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46