OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | List of all members
uiGraphicsObjectScene Class Reference
Inheritance diagram for uiGraphicsObjectScene:
[legend]

Public Member Functions

 uiGraphicsObjectScene (const char *)
 
void addObjectItem (uiObjectItem *)
 
void insertObjectItem (int, uiObjectItem *)
 
void removeObjectItem (uiObjectItem *)
 
void setItemStretch (uiObjectItem *, int stretch)
 
int stretchFactor (uiObjectItem *) const
 
void setLayoutPos (const uiPoint &)
 
const uiPoint layoutPos () const
 
const uiSize layoutSize () const
 
- Public Member Functions inherited from uiGraphicsScene
 uiGraphicsScene (const char *)
 
 ~uiGraphicsScene ()
 
void removeAllItems ()
 
uiGraphicsItemremoveItem (uiGraphicsItem *)
 
uiGraphicsItemSetremoveItems (uiGraphicsItemSet *)
 
template<class T >
T * addItem (T *)
 Item becomes mine. More...
 
uiGraphicsItemSetaddItems (uiGraphicsItemSet *)
 
uiGraphicsItemGroupaddItemGrp (uiGraphicsItemGroup *)
 
int nrItems () const
 
uiGraphicsItemgetItem (int id)
 
const uiGraphicsItemgetItem (int id) const
 
uiGraphicsItemitemAt (const Geom::Point2D< float > &)
 
const uiGraphicsItemitemAt (const Geom::Point2D< float > &) const
 
uiRectItemaddRect (float x, float y, float w, float h)
 
uiPolygonItemaddPolygon (const TypeSet< uiPoint > &, bool fill)
 
uiPolyLineItemaddPolyLine (const TypeSet< uiPoint > &)
 
void useBackgroundPattern (bool)
 
void setBackGroundColor (const Color &)
 
const Color backGroundColor () const
 
int getSelItemSize () const
 
uiRect getSelectedArea () const
 
void setSelectionArea (const uiRect &)
 
MouseEventHandlergetMouseEventHandler ()
 
double width () const
 
double height () const
 
void saveAsImage (const char *, int, int, int)
 
void saveAsPDF (const char *, int w, int h, int r)
 
void saveAsPS (const char *, int w, int h, int r)
 
void saveAsPDF_PS (const char *, bool pdf_or_ps, int w, int h, int r)
 
void setSceneRect (float x, float y, float w, float h)
 
uiRect sceneRect ()
 
bool isMouseEventActive () const
 
void setMouseEventActive (bool yn)
 
 mQtclass (QGraphicsScene *) qGraphicsScene()
 
void copyToClipBoard ()
 
void addUpdateToQueue (Task *)
 
bool executePendingUpdates ()
 
void setPixelDensity (float)
 
float getPixelDensity () const
 
void translateText ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Member Functions

void resizeLayoutToContent ()
 
 mQtclass (QGraphicsLinearLayout *) layout_
 
 mQtclass (QGraphicsWidget *) layoutitem_
 
- Protected Member Functions inherited from uiGraphicsScene
void CtrlCPressedCB (CallBacker *)
 
uiGraphicsItemdoAddItem (uiGraphicsItem *)
 
int indexOf (int id) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGraphicsScene
static float getDefaultPixelDensity ()
 
- Public Attributes inherited from uiGraphicsScene
Notifier< uiGraphicsScenectrlPPressed
 
Notifier< uiGraphicsScenectrlCPressed
 
Notifier< uiGraphicsScenepixelDensityChange
 
- Protected Attributes inherited from uiGraphicsScene
ObjectSet< uiGraphicsItemitems_
 
ODGraphicsScene * odgraphicsscene_
 
MouseEventHandler mousehandler_
 
bool ismouseeventactive_
 
int queueid_
 
float pixeldensity_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Constructor & Destructor Documentation

uiGraphicsObjectScene::uiGraphicsObjectScene ( const char *  )

Member Function Documentation

void uiGraphicsObjectScene::addObjectItem ( uiObjectItem )
void uiGraphicsObjectScene::insertObjectItem ( int  ,
uiObjectItem  
)
const uiPoint uiGraphicsObjectScene::layoutPos ( ) const
const uiSize uiGraphicsObjectScene::layoutSize ( ) const
uiGraphicsObjectScene::mQtclass ( QGraphicsLinearLayout *  )
protected
uiGraphicsObjectScene::mQtclass ( QGraphicsWidget *  )
protected
void uiGraphicsObjectScene::removeObjectItem ( uiObjectItem )
void uiGraphicsObjectScene::resizeLayoutToContent ( )
protected
void uiGraphicsObjectScene::setItemStretch ( uiObjectItem ,
int  stretch 
)
void uiGraphicsObjectScene::setLayoutPos ( const uiPoint )
int uiGraphicsObjectScene::stretchFactor ( uiObjectItem ) const

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019