Load and show image info

This commit is contained in:
2019-09-01 16:04:45 +02:00
parent f0e4923a68
commit 310efce14e
8 changed files with 94 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
#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