OpendTect  6.3
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 ()
 
double maxX () const
 
double maxY () const
 
int nrPixX () const
 
int nrPixY () const
 
void setEmpty ()
 
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 ()
 
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
 
 mDeclInstanceCreatedNotifierAccess (uiGraphicsScene)
 
void translateText ()
 
mDeprecated double width () const
 
mDeprecated double height () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGraphicsScene
static float getDefaultPixelDensity ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- 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 NamedCallBacker
Notifier< NamedCallBackerdelnotif_
 
Threads::Atomic< bool > delalreadytriggered_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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. 2017