You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
484 B
27 lines
484 B
14 years ago
|
|
||
|
#ifndef UBTHUMBNAILVIEW_H_
|
||
|
#define UBTHUMBNAILVIEW_H_
|
||
|
|
||
|
#include <QGraphicsView>
|
||
|
|
||
|
class UBGraphicsScene;
|
||
|
|
||
|
class UBThumbnailView : public QGraphicsView
|
||
|
{
|
||
|
Q_OBJECT;
|
||
|
|
||
|
public:
|
||
|
UBThumbnailView();
|
||
|
virtual ~UBThumbnailView();
|
||
|
|
||
|
signals:
|
||
|
void doubleClicked();
|
||
|
|
||
|
protected:
|
||
|
virtual void drawBackground(QPainter *painter, const QRectF &rect);
|
||
|
virtual void mouseDoubleClickEvent ( QMouseEvent * event );
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* UBTHUMBNAILVIEW_H_ */
|