OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | 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 *)
 
const uiPoint layoutPos () const
 
const uiSize layoutSize () const
 
void removeObjectItem (uiObjectItem *)
 
void setItemStretch (uiObjectItem *, int stretch)
 
void setLayoutPos (const uiPoint &)
 
int stretchFactor (uiObjectItem *) const
 
- Public Member Functions inherited from uiGraphicsScene
 uiGraphicsScene (const char *)
 
 ~uiGraphicsScene ()
 
template<class T >
T * addItem (T *)
 Item becomes mine. More...
 
uiGraphicsItemGroup * addItemGrp (uiGraphicsItemGroup *)
 
uiGraphicsItemSet * addItems (uiGraphicsItemSet *)
 
uiPolygonItem * addPolygon (const TypeSet< uiPoint > &, bool fill)
 
uiPolyLineItem * addPolyLine (const TypeSet< uiPoint > &)
 
uiRectItem * addRect (float x, float y, float w, float h)
 
void addUpdateToQueue (Task *)
 
const Color backGroundColor () const
 
void copyToClipBoard ()
 
bool executePendingUpdates ()
 
uiGraphicsItem * getItem (int id)
 
const uiGraphicsItem * getItem (int id) const
 
MouseEventHandler & getMouseEventHandler ()
 
float getPixelDensity () const
 
uiRect getSelectedArea () const
 
int getSelItemSize () const
 
double height () const
 
bool isMouseEventActive () const
 
uiGraphicsItem * itemAt (const Geom::Point2D< float > &)
 
const uiGraphicsItem * itemAt (const Geom::Point2D< float > &) const
 
int nrItems () const
 
QGraphicsScene * qGraphicsScene ()
 
void removeAllItems ()
 
uiGraphicsItem * removeItem (uiGraphicsItem *)
 
uiGraphicsItemSet * removeItems (uiGraphicsItemSet *)
 
void saveAsImage (const char *, int, int, int)
 
void saveAsPDF (const char *, int w, int h, int r)
 
void saveAsPDF_PS (const char *, bool pdf_or_ps, int w, int h, int r)
 
void saveAsPS (const char *, int w, int h, int r)
 
uiRect sceneRect ()
 
void setBackGroundColor (const Color &)
 
void setMouseEventActive (bool yn)
 
void setPixelDensity (float)
 
void setSceneRect (float x, float y, float w, float h)
 
void setSelectionArea (const uiRect &)
 
void translateText ()
 
void useBackgroundPattern (bool)
 
double width () const
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) 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 detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_type & name () const
 
NamedObject & operator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Protected Member Functions

void resizeLayoutToContent ()
 
- Protected Member Functions inherited from uiGraphicsScene
void CtrlCPressedCB (CallBacker *)
 
uiGraphicsItem * doAddItem (uiGraphicsItem *)
 
int indexOf (int id) const
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

QGraphicsLinearLayout * layout_
 
QGraphicsWidget * layoutitem_
 
- Protected Attributes inherited from uiGraphicsScene
bool ismouseeventactive_
 
ObjectSet< uiGraphicsItem > items_
 
MouseEventHandler mousehandler_
 
ODGraphicsScene * odgraphicsscene_
 
float pixeldensity_
 
int queueid_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBacker > delnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- 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< uiGraphicsScene > ctrlCPressed
 
Notifier< uiGraphicsScene > ctrlPPressed
 
Notifier< uiGraphicsScene > pixelDensityChange
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiGraphicsObjectScene()

uiGraphicsObjectScene::uiGraphicsObjectScene ( const char *  )

Member Function Documentation

◆ addObjectItem()

void uiGraphicsObjectScene::addObjectItem ( uiObjectItem *  )

◆ insertObjectItem()

void uiGraphicsObjectScene::insertObjectItem ( int  ,
uiObjectItem *   
)

◆ layoutPos()

const uiPoint uiGraphicsObjectScene::layoutPos ( ) const

◆ layoutSize()

const uiSize uiGraphicsObjectScene::layoutSize ( ) const

◆ removeObjectItem()

void uiGraphicsObjectScene::removeObjectItem ( uiObjectItem *  )

◆ resizeLayoutToContent()

void uiGraphicsObjectScene::resizeLayoutToContent ( )
protected

◆ setItemStretch()

void uiGraphicsObjectScene::setItemStretch ( uiObjectItem *  ,
int  stretch 
)

◆ setLayoutPos()

void uiGraphicsObjectScene::setLayoutPos ( const uiPoint &  )

◆ stretchFactor()

int uiGraphicsObjectScene::stretchFactor ( uiObjectItem *  ) const

Member Data Documentation

◆ layout_

QGraphicsLinearLayout* uiGraphicsObjectScene::layout_
protected

◆ layoutitem_

QGraphicsWidget* uiGraphicsObjectScene::layoutitem_
protected

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