43 lines
796 B
C++
43 lines
796 B
C++
#pragma once
|
|
|
|
#include "BaseAddFileDlg.h"
|
|
#include "workspace/FileEntry.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QComboBox;
|
|
class QLineEdit;
|
|
class QSpinBox;
|
|
class QDoubleSpinBox;
|
|
class QListWidget;
|
|
class QPushButton;
|
|
class QLabel;
|
|
QT_END_NAMESPACE
|
|
|
|
namespace Ui {
|
|
class AddPolarDlg;
|
|
}
|
|
|
|
class AddPolarFileDlg : public BaseAddFileDlg
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AddPolarFileDlg(QWidget* parent = nullptr);
|
|
~AddPolarFileDlg() override;
|
|
|
|
protected:
|
|
QString getFileFilter() const override;
|
|
QString getDialogTitle() const override;
|
|
bool validateSpecificParams() override;
|
|
void updateFileInfo(const QString& filePath) override;
|
|
|
|
private:
|
|
Ui::AddPolarDlg* ui;
|
|
int currentCurveIndex_;
|
|
QColor selectedColor_;
|
|
|
|
FileEntryPolar::ChartProperties chartProperties_;
|
|
FileEntryPolar::LineProperties curves_;
|
|
};
|
|
|