Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
ToolboxFFT Class Reference

#include <toolbox_FFT.h>

Inheritance diagram for ToolboxFFT:
Inheritance graph
[legend]

Public Slots

bool onShowWidget () override
 
- Public Slots inherited from PJ::ToolboxPlugin
virtual bool onShowWidget ()=0
 

Public Member Functions

void init (PJ::PlotDataMapRef &src_data, PJ::TransformsMap &transform_map) override
 
const char * name () const override
 Name of the plugin type, NOT the particular instance. More...
 
std::pair< QWidget *, WidgetTypeprovidedWidget () const override
 
 ToolboxFFT ()
 
 ~ToolboxFFT () override
 
- Public Member Functions inherited from PJ::ToolboxPlugin
const ParserFactoriesparserFactories () const
 
void setParserFactories (ParserFactories *parsers)
 
 ToolboxPlugin ()=default
 
virtual ~ToolboxPlugin ()=default
 
- Public Member Functions inherited from PJ::PlotJugglerPlugin
virtual const std::vector< QAction * > & availableActions ()
 
virtual bool isDebugPlugin ()
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . More...
 
 PlotJugglerPlugin ()=default
 
virtual bool xmlLoadState (const QDomElement &parent_element)
 Override this method to load the status of the plugin from XML. More...
 
QDomElement xmlSaveState (QDomDocument &doc) const
 
virtual bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const
 Override this method to save the status of the plugin to XML. More...
 

Private Slots

void calculateCurveFFT ()
 
void onClearCurves ()
 
void onDragEnterEvent (QDragEnterEvent *event)
 
void onDropEvent (QDropEvent *event)
 
void onSaveCurve ()
 
void onViewResized (const QRectF &rect)
 

Private Attributes

std::vector< std::string > _curve_names
 
QStringList _dragging_curves
 
PJ::PlotDataMapRef _local_data
 
PJ::PlotDataMapRef_plot_data = nullptr
 
PJ::PlotWidgetBase_plot_widget_A = nullptr
 
PJ::PlotWidgetBase_plot_widget_B = nullptr
 
PJ::TransformsMap_transforms = nullptr
 
QWidget * _widget
 
Range _zoom_range
 
Ui::toolbox_fft * ui
 

Additional Inherited Members

- Public Types inherited from PJ::ToolboxPlugin
enum  WidgetType { FLOATING, FIXED }
 
- Signals inherited from PJ::ToolboxPlugin
void closed ()
 
void importData (PlotDataMapRef &new_data, bool remove_old)
 
void plotCreated (std::string plot_name, bool is_custom=true)
 

Detailed Description

Definition at line 13 of file toolbox_FFT.h.

Constructor & Destructor Documentation

◆ ToolboxFFT()

ToolboxFFT::ToolboxFFT ( )

Definition at line 15 of file toolbox_FFT.cpp.

◆ ~ToolboxFFT()

ToolboxFFT::~ToolboxFFT ( )
override

Definition at line 32 of file toolbox_FFT.cpp.

Member Function Documentation

◆ calculateCurveFFT

void ToolboxFFT::calculateCurveFFT ( )
privateslot

Definition at line 77 of file toolbox_FFT.cpp.

◆ init()

void ToolboxFFT::init ( PJ::PlotDataMapRef src_data,
PJ::TransformsMap transform_map 
)
overridevirtual

Implements PJ::ToolboxPlugin.

Definition at line 37 of file toolbox_FFT.cpp.

◆ name()

const char* ToolboxFFT::name ( ) const
inlineoverridevirtual

Name of the plugin type, NOT the particular instance.

Implements PJ::PlotJugglerPlugin.

Definition at line 24 of file toolbox_FFT.h.

◆ onClearCurves

void ToolboxFFT::onClearCurves ( )
privateslot

Definition at line 179 of file toolbox_FFT.cpp.

◆ onDragEnterEvent

void ToolboxFFT::onDragEnterEvent ( QDragEnterEvent *  event)
privateslot

Definition at line 196 of file toolbox_FFT.cpp.

◆ onDropEvent

void ToolboxFFT::onDropEvent ( QDropEvent *  event)
privateslot

Definition at line 226 of file toolbox_FFT.cpp.

◆ onSaveCurve

void ToolboxFFT::onSaveCurve ( )
privateslot

Definition at line 256 of file toolbox_FFT.cpp.

◆ onShowWidget

bool ToolboxFFT::onShowWidget ( )
overrideslot

Definition at line 68 of file toolbox_FFT.cpp.

◆ onViewResized

void ToolboxFFT::onViewResized ( const QRectF &  rect)
privateslot

Definition at line 250 of file toolbox_FFT.cpp.

◆ providedWidget()

std::pair< QWidget *, PJ::ToolboxPlugin::WidgetType > ToolboxFFT::providedWidget ( ) const
overridevirtual

Implements PJ::ToolboxPlugin.

Definition at line 63 of file toolbox_FFT.cpp.

Member Data Documentation

◆ _curve_names

std::vector<std::string> ToolboxFFT::_curve_names
private

Definition at line 55 of file toolbox_FFT.h.

◆ _dragging_curves

QStringList ToolboxFFT::_dragging_curves
private

Definition at line 43 of file toolbox_FFT.h.

◆ _local_data

PJ::PlotDataMapRef ToolboxFFT::_local_data
private

Definition at line 51 of file toolbox_FFT.h.

◆ _plot_data

PJ::PlotDataMapRef* ToolboxFFT::_plot_data = nullptr
private

Definition at line 48 of file toolbox_FFT.h.

◆ _plot_widget_A

PJ::PlotWidgetBase* ToolboxFFT::_plot_widget_A = nullptr
private

Definition at line 45 of file toolbox_FFT.h.

◆ _plot_widget_B

PJ::PlotWidgetBase* ToolboxFFT::_plot_widget_B = nullptr
private

Definition at line 46 of file toolbox_FFT.h.

◆ _transforms

PJ::TransformsMap* ToolboxFFT::_transforms = nullptr
private

Definition at line 49 of file toolbox_FFT.h.

◆ _widget

QWidget* ToolboxFFT::_widget
private

Definition at line 38 of file toolbox_FFT.h.

◆ _zoom_range

Range ToolboxFFT::_zoom_range
private

Definition at line 53 of file toolbox_FFT.h.

◆ ui

Ui::toolbox_fft* ToolboxFFT::ui
private

Definition at line 39 of file toolbox_FFT.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30