новые иконки в 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/frameworks/UBCoreGraphicsScene.h

28 lines
552 B

/*
* UBCoreGraphicsScene.h
*
* Created on: 28 mai 2009
* Author: Luc
*/
#ifndef UBCOREGRAPHICSSCENE_H_
#define UBCOREGRAPHICSSCENE_H_
#include <QtGui>
class UBCoreGraphicsScene : public QGraphicsScene
{
public:
UBCoreGraphicsScene(QObject * parent = 0);
virtual ~UBCoreGraphicsScene();
virtual void addItem(QGraphicsItem* item);
virtual void removeItem(QGraphicsItem* item, bool forceDelete = false);
private:
QSet<QGraphicsItem*> mItemsToDelete;
};
#endif /* UBCOREGRAPHICSSCENE_H_ */