OpendTect  7.0
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 *)
 
 ~uiGraphicsObjectScene ()
 
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...
 
uiGraphicsItemGroupaddItemGrp (uiGraphicsItemGroup *)
 
uiGraphicsItemSetaddItems (uiGraphicsItemSet *)
 
uiPolygonItemaddPolygon (const TypeSet< uiPoint > &, bool fill)
 
uiPolyLineItemaddPolyLine (const TypeSet< uiPoint > &)
 
uiRectItemaddRect (float x, float y, float w, float h)
 
void addUpdateToQueue (Task *)
 
const OD::Color backGroundColor () const
 
void copyToClipBoard ()
 
bool executePendingUpdates ()
 
uiGraphicsItemgetItem (int id)
 
const uiGraphicsItemgetItem (int id) const
 
MouseEventHandlergetMouseEventHandler ()
 
float getPixelDensity () const
 
uiRect getSelectedArea () const
 
int getSelItemSize () const
 
double height () const
 
bool isMouseEventActive () const
 
uiGraphicsItemitemAt (const Geom::Point2D< float > &)
 
const uiGraphicsItemitemAt (const Geom::Point2D< float > &) const
 
int nrItems () const
 
QGraphicsScene * qGraphicsScene ()
 
void removeAllItems ()
 
uiGraphicsItemremoveItem (uiGraphicsItem *)
 
uiGraphicsItemSetremoveItems (uiGraphicsItemSet *)
 
void saveAsImage (const char *fnm, int width, int height, int res)
 
void saveAsPDF (const char *fnm, int width, int height, int res)
 
uiRect sceneRect ()
 
void setBackGroundColor (const OD::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
 
virtual CallBackertrueCaller ()
 
- 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 &)
 
const name_typename () const override
 
NamedObjectoperator= (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 *)
 
uiGraphicsItemdoAddItem (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< uiGraphicsItemitems_
 
MouseEventHandler mousehandler_
 
ODGraphicsScene * odgraphicsscene_
 
float pixeldensity_
 
int queueid_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- 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< uiGraphicsScenectrlCPressed
 
Notifier< uiGraphicsScenectrlPPressed
 
Notifier< uiGraphicsScenepixelDensityChange
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiGraphicsObjectScene()

uiGraphicsObjectScene::uiGraphicsObjectScene ( const char *  )

◆ ~uiGraphicsObjectScene()

uiGraphicsObjectScene::~uiGraphicsObjectScene ( )

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-2024