18 std::array< ImageWidget*, 4 > views;
37 void mouseReleased( QPointF pt, Qt::MouseButtons buttons,
size_t axis );
38 void mouseClicked( QPointF pt, Qt::MouseButtons buttons,
size_t axis );
39 void mouseDragged( QPointF pt, Qt::MouseButtons buttons,
size_t axis );
41 void dropImage(
const QString &filePath );
48 void setLayoutType(
Layout layout );
49 void setViewMode(
Views view );
51 void setGridLayout( );
52 void setHorizontalLayout( );
53 void setVerticalLayout( );
58 void sliceChanged(
size_t axis,
size_t slice );
void mouseClicked(QPointF pt, Qt::MouseButtons buttons, size_t axis)
void mouseReleased(QPointF pt, Qt::MouseButtons buttons, size_t axis)
bool eventFilter(QObject *obj, QEvent *evt)
ImageViewer(QWidget *parent=0)
void setViewBgColor(const QColor &color)
void dropImage(const QString &filePath)
Controller * controller() const
void mouseDragged(QPointF pt, Qt::MouseButtons buttons, size_t axis)
void dropFolder(const QString &folderPath)
The Controller class is one of the most important classes of the User Interface, and is responsible t...
GraphicsScene * getScene(size_t axis)
void resizeEvent(QResizeEvent *)
void mouseMoved(QPointF pt, size_t axis)
void setController(Controller *value)