json parser now part of SnapmaticPicture

This commit is contained in:
Rafael 2016-03-21 21:33:22 +01:00
parent 4050358462
commit a3c66786eb
5 changed files with 77 additions and 34 deletions

View file

@ -19,6 +19,7 @@
#ifndef PICTUREDIALOG_H
#define PICTUREDIALOG_H
#include "SnapmaticPicture.h"
#include <QDialog>
namespace Ui {
@ -28,11 +29,10 @@ class PictureDialog;
class PictureDialog : public QDialog
{
Q_OBJECT
public:
explicit PictureDialog(QWidget *parent = 0);
void setSnapmaticPicture(QPixmap pixmap);
void setJsonString(QString jsonStr);
void setJsonString(SnapmaticPicture *picture);
~PictureDialog();
private: