1 #ifndef __libquark_gui_ImageView_hxx 2 #define __libquark_gui_ImageView_hxx 6 #include <QResizeEvent> 25 explicit ImageView(QWidget *parent = NULL);
31 void setPixmap(QPixmap pixmap);
34 void setAlignment(Qt::Alignment alignment);
38 virtual void paintEvent(QPaintEvent *event);
39 virtual void resizeEvent(QResizeEvent *event);
43 void scalePixmap(
const QSize &size);
47 QPixmap _scaledPixmap;
48 Qt::Alignment _alignment;
56 #endif // __libquark_gui_ImageView_hxx A simple widget that displays an image.
Definition: ImageView.h++:20
Definition: BarChartView.h++:6
#define LIBQUARK_API
Definition: Quark.h++:18