]> git.cworth.org Git - apitrace/blobdiff - gui/apitracecall.h
Display captured snapshots as thumbnails.
[apitrace] / gui / apitracecall.h
index 3a9faafd495e851c281609d5c7c94e9431020c7d..8d0e6db7a1833c3291475df8cae02c9fb86693cc 100644 (file)
@@ -335,6 +335,10 @@ public:
 
     void setLastCallIndex(unsigned index);
     unsigned lastCallIndex() const;
+
+    void setThumbnail(QImage thumbnail);
+    QImage thumbnail() const;
+
 private:
     ApiTrace *m_parentTrace;
     quint64 m_binaryDataSize;
@@ -342,6 +346,7 @@ private:
     bool m_loaded;
     unsigned m_callsToLoad;
     unsigned m_lastCallIndex;
+    QImage m_thumbnail;
 };
 Q_DECLARE_METATYPE(ApiTraceFrame*);