новые иконки в OpenBoard
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.
 
 
 
 
 
 
OpenBoard/src/tools/UBGraphicsCurtainItemDelega...

43 lines
963 B

/*
* UBGraphicsCurtainItemDelegate.h
*
* Created on: June 15, 2009
* Author: Patrick
*/
#ifndef UBGRAPHICSCURTAINITEMDELEGATE_H_
#define UBGRAPHICSCURTAINITEMDELEGATE_H_
#include <QtGui>
#include <QtSvg>
#include "core/UB.h"
#include "domain/UBGraphicsItemDelegate.h"
class QGraphicsSceneMouseEvent;
class QGraphicsItem;
class UBGraphicsCurtainItem;
class UBGraphicsCurtainItemDelegate : public UBGraphicsItemDelegate
{
Q_OBJECT;
public:
UBGraphicsCurtainItemDelegate(UBGraphicsCurtainItem* pDelegated, QObject * parent = 0);
virtual ~UBGraphicsCurtainItemDelegate();
virtual bool mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value);
public slots:
virtual void remove(bool checked, bool canUndo = true);
protected:
virtual void init();
};
#endif /* UBGRAPHICSCURTAINITEMDELEGATE_H_ */