55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "DataPanel.h"
|
|
|
|
/**
|
|
* @file CurvePanel.h
|
|
* @brief Curve Panel Class
|
|
* Specialized panel for curve data visualization and manipulation
|
|
*/
|
|
|
|
/**
|
|
* @brief Curve panel class
|
|
* Specialized panel for curve data, inherits from DataPanel
|
|
*/
|
|
class CurvePanel : public DataPanel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/**
|
|
* @brief Constructor
|
|
* @param index Panel index
|
|
* @param filePath Associated file path
|
|
* @param parent Parent widget
|
|
*/
|
|
explicit CurvePanel(int index, const QString& filePath, QWidget* parent = nullptr);
|
|
|
|
/**
|
|
* @brief Destructor
|
|
*/
|
|
virtual ~CurvePanel();
|
|
|
|
/**
|
|
* @brief Get file type
|
|
* @return File type (always Curve for this class)
|
|
*/
|
|
FileEntryType GetFileType() const override { return FileEntryType::Curve; }
|
|
|
|
/**
|
|
* @brief Refresh panel content
|
|
*/
|
|
void RefreshPanel() override;
|
|
|
|
protected:
|
|
/**
|
|
* @brief Initialize UI for curve-specific layout
|
|
*/
|
|
void InitUI() override;
|
|
|
|
/**
|
|
* @brief Get type display name
|
|
* @return Display name for curve type
|
|
*/
|
|
QString GetTypeDisplayName() const override;
|
|
}; |