3#include <NDEVR/ButtonGallery.h>
4#include <NDEVR/ImageFactory.h>
std::function< bool(StringView view, ImageFactory &factory)> m_filter
Optional filter to restrict which images are shown.
void fillWithImages(ImageFactory &factory=ImageFactory::DefaultFactory())
Populates the gallery with images from the given ImageFactory.
void imageChosenSignal(StringView image_id)
Emitted when the user selects an image, with its ID.
ImageChooserGallery(QWidget *parent=nullptr)
Constructs an ImageChooserGallery.
The core class for reading/writing and storing images in an optimized way.
static ImageFactory & DefaultFactory()
Returns the singleton default ImageFactory instance.
The core String View class for the NDEVR API.
The primary namespace for the NDEVR SDK.