29 lines
438 B
C++
29 lines
438 B
C++
#ifndef IMAGEINFO_H
|
|
#define IMAGEINFO_H
|
|
|
|
#include <QTreeWidget>
|
|
|
|
typedef QPair<QString, QString> StringPair;
|
|
typedef QVector<StringPair> ImageInfoData;
|
|
|
|
Q_DECLARE_METATYPE(ImageInfoData);
|
|
|
|
typedef enum
|
|
{
|
|
None,
|
|
Statistics,
|
|
Peaks,
|
|
Stars,
|
|
}AnalyzeLevel;
|
|
|
|
class ImageInfo : public QTreeWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ImageInfo(QWidget *parent);
|
|
public slots:
|
|
void setInfo(ImageInfoData info);
|
|
};
|
|
|
|
#endif // IMAGEINFO_H
|