46 lines
762 B
C++
46 lines
762 B
C++
#ifndef CWAVEANALYZEWIDGET_H
|
|
#define CWAVEANALYZEWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class CWaveAnalyzeWidget;
|
|
}
|
|
|
|
class CComtradeFile;
|
|
class CWaveAnalyzeWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CWaveAnalyzeWidget(QWidget *parent = 0, bool editMode = true);
|
|
~CWaveAnalyzeWidget();
|
|
|
|
public slots:
|
|
bool openWaveFile(const QString &strFile);
|
|
|
|
void printWave();
|
|
|
|
void setTableColumnWidth(int column, int width);
|
|
|
|
void setTableRowHeight(int height);
|
|
|
|
void setPrintVisible(bool visible);
|
|
|
|
void timeFilter();
|
|
|
|
void setTableVisible();
|
|
|
|
private:
|
|
void showComtradeFile();
|
|
|
|
void initStyle();
|
|
|
|
private:
|
|
Ui::CWaveAnalyzeWidget *ui;
|
|
|
|
CComtradeFile *m_pWaveFile;
|
|
};
|
|
|
|
#endif // CWAVEANALYZEWIDGET_H
|