Public Member Functions | |
| uiGraphicsScene (const char *) | |
| ~uiGraphicsScene () | |
| void | removeAllItems () |
| uiGraphicsItem * | removeItem (uiGraphicsItem *) |
| void | removeItems (uiGraphicsItemSet &) |
| template<class T > | |
| T * | addItem (T *) |
| Item becomes mine. | |
| uiGraphicsItemGroup * | addItemGrp (uiGraphicsItemGroup *) |
| int | nrItems () const |
| uiGraphicsItem * | getItem (int id) |
| const uiGraphicsItem * | getItem (int id) const |
| uiRectItem * | addRect (float x, float y, float w, float h) |
| uiPolygonItem * | addPolygon (const TypeSet< uiPoint > &, bool fill) |
| uiPolyLineItem * | addPolyLine (const TypeSet< uiPoint > &) |
| void | useBackgroundPattern (bool) |
| void | setBackGroundColor (const Color &) |
| const Color | backGroundColor () const |
| int | getSelItemSize () const |
| uiRect | getSelectedArea () const |
| void | setSelectionArea (const uiRect &) |
| MouseEventHandler & | getMouseEventHandler () |
| double | width () const |
| double | height () const |
| int | getDPI () const |
| void | saveAsImage (const char *, int, int, int) |
| void | saveAsPDF (const char *, int) |
| void | saveAsPS (const char *, int) |
| void | saveAsPDF_PS (const char *, bool pdf_or_ps, int) |
| void | setSceneRect (float x, float y, float w, float h) |
| uiRect | sceneRect () |
| const bool | isMouseEventActive () const |
| void | setMouseEventActive (bool yn) |
| QGraphicsScene * | qGraphicsScene () |
Public Attributes | |
| Notifier< uiGraphicsScene > | ctrlPPressed |
Protected Member Functions | |
| uiGraphicsItem * | doAddItem (uiGraphicsItem *) |
| int | indexOf (int id) const |
Protected Attributes | |
| ObjectSet< uiGraphicsItem > | items_ |
| ODGraphicsScene * | odgraphicsscene_ |
| MouseEventHandler | mousehandler_ |
| bool | ismouseeventactive_ |
Friends | |
| class | uiGraphicsItem |
| uiGraphicsScene::uiGraphicsScene | ( | const char * | ) |
| uiGraphicsScene::~uiGraphicsScene | ( | ) |
| T * uiGraphicsScene::addItem | ( | T * | itm | ) | [inline] |
Item becomes mine.
| uiGraphicsItemGroup* uiGraphicsScene::addItemGrp | ( | uiGraphicsItemGroup * | ) |
| uiPolygonItem* uiGraphicsScene::addPolygon | ( | const TypeSet< uiPoint > & | , | |
| bool | fill | |||
| ) |
| uiPolyLineItem* uiGraphicsScene::addPolyLine | ( | const TypeSet< uiPoint > & | ) |
| uiRectItem* uiGraphicsScene::addRect | ( | float | x, | |
| float | y, | |||
| float | w, | |||
| float | h | |||
| ) |
| const Color uiGraphicsScene::backGroundColor | ( | ) | const |
| uiGraphicsItem* uiGraphicsScene::doAddItem | ( | uiGraphicsItem * | ) | [protected] |
| int uiGraphicsScene::getDPI | ( | ) | const |
| const uiGraphicsItem* uiGraphicsScene::getItem | ( | int | id | ) | const |
| uiGraphicsItem* uiGraphicsScene::getItem | ( | int | id | ) |
| MouseEventHandler& uiGraphicsScene::getMouseEventHandler | ( | ) | [inline] |
| uiRect uiGraphicsScene::getSelectedArea | ( | ) | const |
| int uiGraphicsScene::getSelItemSize | ( | ) | const |
| double uiGraphicsScene::height | ( | ) | const |
| int uiGraphicsScene::indexOf | ( | int | id | ) | const [protected] |
| const bool uiGraphicsScene::isMouseEventActive | ( | ) | const [inline] |
| int uiGraphicsScene::nrItems | ( | ) | const |
| QGraphicsScene* uiGraphicsScene::qGraphicsScene | ( | ) | [inline] |
| void uiGraphicsScene::removeAllItems | ( | ) |
| uiGraphicsItem* uiGraphicsScene::removeItem | ( | uiGraphicsItem * | ) |
Gives object back to caller (not deleted)
| void uiGraphicsScene::removeItems | ( | uiGraphicsItemSet & | ) |
Does not delete the items
| void uiGraphicsScene::saveAsImage | ( | const char * | , | |
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| void uiGraphicsScene::saveAsPDF | ( | const char * | , | |
| int | ||||
| ) |
| void uiGraphicsScene::saveAsPDF_PS | ( | const char * | , | |
| bool | pdf_or_ps, | |||
| int | ||||
| ) |
| void uiGraphicsScene::saveAsPS | ( | const char * | , | |
| int | ||||
| ) |
| uiRect uiGraphicsScene::sceneRect | ( | ) |
| void uiGraphicsScene::setBackGroundColor | ( | const Color & | ) |
| void uiGraphicsScene::setMouseEventActive | ( | bool | yn | ) | [inline] |
| void uiGraphicsScene::setSceneRect | ( | float | x, | |
| float | y, | |||
| float | w, | |||
| float | h | |||
| ) |
| void uiGraphicsScene::setSelectionArea | ( | const uiRect & | ) |
| void uiGraphicsScene::useBackgroundPattern | ( | bool | ) |
| double uiGraphicsScene::width | ( | ) | const |
friend class uiGraphicsItem [friend] |
bool uiGraphicsScene::ismouseeventactive_ [protected] |
ObjectSet<uiGraphicsItem> uiGraphicsScene::items_ [protected] |
MouseEventHandler uiGraphicsScene::mousehandler_ [protected] |
ODGraphicsScene* uiGraphicsScene::odgraphicsscene_ [protected] |
1.7.1