Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
orthanc-qt/imageitem.hpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18 lines (14 sloc)
428 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef IMAGEITEM_HPP | |
#define IMAGEITEM_HPP | |
#include <QListWidgetItem> | |
#include <isis/data/io_factory.hpp> | |
class ImageItem:public QObject, public QListWidgetItem{ | |
Q_OBJECT | |
isis::data::Image m_img; | |
public slots: | |
void resetData(QString template_str); | |
public: | |
ImageItem(isis::data::Image img,QListWidget *view=0):QListWidgetItem(view,UserType+1),m_img(img){} | |
isis::data::Image getImage() const; | |
}; | |
#endif // IMAGEITEM_HPP |