LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GraphicsScene Class Referencefinal

The GraphicsScene class. More...

#include <graphicsscene.h>

Inherits QGraphicsScene.

+ Collaboration diagram for GraphicsScene:

Public Member Functions

 GraphicsScene () noexcept
 
 ~GraphicsScene () noexcept
 
void addItem (QGraphicsItem &item) noexcept
 
void removeItem (QGraphicsItem &item) noexcept
 
void setSelectionRect (const Point &p1, const Point &p2) noexcept
 

Private Attributes

QGraphicsRectItem * mSelectionRectItem
 

Detailed Description

The GraphicsScene class.

Constructor & Destructor Documentation

GraphicsScene ( )
explicitnoexcept
~GraphicsScene ( )
noexcept

Member Function Documentation

void addItem ( QGraphicsItem &  item)
noexcept

+ Here is the caller graph for this function:

void removeItem ( QGraphicsItem &  item)
noexcept

+ Here is the caller graph for this function:

void setSelectionRect ( const Point p1,
const Point p2 
)
noexcept

Member Data Documentation

QGraphicsRectItem* mSelectionRectItem
private

The documentation for this class was generated from the following files: