#ifndef Sweep_Frequency_Widget_H
#define Sweep_Frequency_Widget_H
#include "../BaseWidget.h"
#include <memory>
class Text_Button;
class Double_Text_Button;
class Frequent_Shower;
class Progress_Bar;
class Console_Widget;
class Show_Time;
namespace YS{
    class Spectrogram_Power_Plot;
    class Time_Power_Plot;
    class Sweep_Frequency_Line;
}

class Sweep_Frequency_Widget : public Base_Widget {
Q_OBJECT
public:
    explicit Sweep_Frequency_Widget(QWidget *parent = nullptr);
    ~Sweep_Frequency_Widget() override;
    QPushButton *m1, *m2, *m3, *m4;
    Frequent_Shower *select_value_widget;
    Progress_Bar *progress_bar1, *progress_bar2;
    void init_menu();
    std::shared_ptr<renderive::Sweep_Frequency> sweep_frequency_line{};
    QWidget* create_spectrogram_power_plot();
protected:
    void focusInEvent(QFocusEvent *event) override;
};
#endif



