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