threading issues fixed
This commit is contained in:
parent
a8501be581
commit
7591d805c9
13 changed files with 251 additions and 93 deletions
|
@ -53,8 +53,8 @@ public:
|
|||
explicit SnapmaticPicture(const QString &fileName = "", QObject *parent = 0);
|
||||
~SnapmaticPicture();
|
||||
void reset();
|
||||
bool readingPictureFromFile(const QString &fileName, bool writeEnabled = true, bool cacheEnabled = false);
|
||||
bool readingPicture(bool writeEnabled = true, bool cacheEnabled = true);
|
||||
bool readingPictureFromFile(const QString &fileName, bool writeEnabled = true, bool cacheEnabled = false, bool fastLoad = false);
|
||||
bool readingPicture(bool writeEnabled = true, bool cacheEnabled = true, bool fastLoad = false);
|
||||
bool isPicOk();
|
||||
void clearCache();
|
||||
QImage getImage();
|
||||
|
@ -93,6 +93,9 @@ public:
|
|||
bool setPictureHidden();
|
||||
bool setPictureVisible();
|
||||
|
||||
// PREDEFINED PROPERTIES
|
||||
QSize getSnapmaticResolution();
|
||||
|
||||
private:
|
||||
QString getSnapmaticHeaderString(const QByteArray &snapmaticHeader);
|
||||
QString getSnapmaticJSONString(const QByteArray &jsonBytes);
|
||||
|
@ -132,6 +135,9 @@ private:
|
|||
int titlStreamCharacterMax;
|
||||
QByteArray rawPicContent;
|
||||
|
||||
// PREDEFINED PROPERTIES
|
||||
QSize snapmaticResolution;
|
||||
|
||||
// JSON
|
||||
void parseJsonContent();
|
||||
bool jsonOk;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue