Start of marking of images for selection

This commit is contained in:
2016-07-30 21:29:11 +02:00
parent 32e06a3e08
commit 3f226eb952
8 changed files with 135 additions and 6 deletions
+3 -1
View File
@@ -26,10 +26,11 @@ protected slots:
void imageLoaded(QImage img);
};
typedef std::shared_ptr<Image> ImagePtr;
class ImageRingList : public QObject
{
Q_OBJECT
typedef std::shared_ptr<Image> ImagePtr;
int m_width;
QList<ImagePtr> m_images;
QList<ImagePtr>::iterator m_firstImage;
@@ -39,6 +40,7 @@ public:
explicit ImageRingList(QObject *parent = 0);
bool setDir(const QString path);
void setFiles(const QStringList files);
ImagePtr currentImage();
void increment();
void decrement();
protected: