OpendTect  6.3
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiColSeqDisp Class Reference
Inheritance diagram for uiColSeqDisp:
[legend]

Public Types

typedef ColTab::Sequence Sequence
 
typedef ColTab::Mapper Mapper
 
typedef ColTab::PosType PosType
 
typedef ColTab::ValueType ValueType
 
- Public Types inherited from uiGraphicsViewBase
enum  ODDragMode { NoDrag, ScrollHandDrag, RubberBandDrag }
 
enum  ScrollBarPolicy { ScrollBarAsNeeded, ScrollBarAlwaysOff, ScrollBarAlwaysOn }
 
- Public Types inherited from uiObject
enum  SzPolicy {
  Undef, Small, Medium, Wide,
  SmallVar, MedVar, WideVar, SmallMax,
  MedMax, WideMax
}
 How should the object's size behave? Undef : use default. Small : 1 base sz. Medium : 2* base sz + 1. Wide : 4* base sz + 3. The xxVar options specify that the element may have a bigger internal preferred size. In that case, the maximum is taken. The xxMax options specify that the element should take all available space ( stretch = 2 ) More...
 

Public Member Functions

 uiColSeqDisp (uiParent *, OD::Orientation, bool withudfcoldisp=true)
 
 ~uiColSeqDisp ()
 
const Sequencesequence () const
 
OD::Orientation orientation () const
 
const Mappermapper () const
 
const char * seqName () const
 
void setSequence (const Sequence &)
 
void setSeqName (const char *)
 
void setOrientation (OD::Orientation)
 
void setMapper (const Mapper *)
 
int pixFor (ValueType) const
 
- Public Member Functions inherited from uiRGBArrayCanvas
 uiRGBArrayCanvas (uiParent *, uiRGBArray &)
 
 ~uiRGBArrayCanvas ()
 
void setBorder (const uiBorder &)
 
void setBGColor (const Color &)
 everything More...
 
void setDrawArr (bool)
 Draw the arr or not? More...
 
void setPixmap (const uiPixmap &)
 
void removePixmap ()
 
uiRect arrArea () const
 
uiRGBArray & rgbArray ()
 
const uiRGBArray & rgbArray () const
 
const uiRectupdateArea ()
 
const uiBorderborder () const
 
const ColorbgColor () const
 
bool arrDrawn () const
 
void beforeDraw ()
 
void beforeDraw (int w, int h)
 
void setPixMapPos (int x, int y)
 
void updatePixmap ()
 
- Public Member Functions inherited from uiGraphicsView
 uiGraphicsView (uiParent *, const char *nm)
 
uiToolButtongetSaveImageButton (uiParent *)
 
uiToolButtongetPrintImageButton (uiParent *)
 
void enableImageSave ()
 
void disableImageSave ()
 
- Public Member Functions inherited from uiGraphicsViewBase
 uiGraphicsViewBase (uiParent *, const char *)
 
 ~uiGraphicsViewBase ()
 
void setScene (uiGraphicsScene &)
 Scene becomes mine. More...
 
uiGraphicsScenescene ()
 
const uiGraphicsScenescene () const
 
void show ()
 
void setScrollBarPolicy (bool hor, ScrollBarPolicy)
 
void setDragMode (ODDragMode)
 
ODDragMode dragMode () const
 
bool isRubberBandingOn () const
 
void setMouseTracking (bool)
 
bool hasMouseTracking () const
 
void setMouseWheelReversal (bool)
 
bool getMouseWheelReversal () const
 
void setMidMouseButtonForDrag (bool)
 
bool hasMidMouseButtonForDrag () const
 
int width () const
 width of widget More...
 
int height () const
 height of widget More...
 
int viewWidth () const
 width of viewport More...
 
int viewHeight () const
 height of viewport More...
 
void setViewSize (int width, int height)
 
void setViewWidth (int)
 
void setViewHeight (int)
 
int getSceneBorder () const
 
void setSceneBorder (int)
 
void centreOn (uiPoint)
 
uiRect getSceneRect () const
 
void setSceneRect (const uiRect &)
 
void setSceneAlignment (const OD::Alignment &)
 
void setScaleFactor (float, float)
 
uiPoint getCursorPos () const
 
void getScaleFactor (float &, float &) const
 
uiPoint getScenePos (float, float) const
 
const uiPointgetStartPos () const
 
const uiRectgetSelectedArea () const
 
void setViewArea (double x, double y, double w, double h)
 
uiRect getViewArea () const
 
void setBackgroundColor (const Color &)
 
Color backgroundColor () const
 
void setNoBackGround ()
 
void rePaint ()
 
void enableScrollZoom (bool yn=true)
 
void disableScrollZoom ()
 
bool scrollZoomEnabled ()
 
uiSize scrollBarSize (bool horizontal) const
 
const uiPoint mapFromScene (const Geom::Point2D< float > &) const
 
const Geom::Point2D< float > mapToScene (const uiPoint &) const
 
bool isCtrlPressed () const
 
void setCtrlPressed (bool yn)
 
bool print ()
 
MouseEventHandlergetNavigationMouseEventHandler ()
 
MouseEventHandlergetMouseEventHandler ()
 
KeyboardEventHandlergetKeyboardEventHandler ()
 
GestureEventHandlergestureEventHandler ()
 
- Public Member Functions inherited from uiObject
 uiObject (uiParent *, const char *nm)
 
 uiObject (uiParent *, const char *nm, uiObjectBody &)
 
 ~uiObject ()
 
void setHSzPol (SzPolicy)
 
void setVSzPol (SzPolicy)
 
SzPolicy szPol (bool hor=true) const
 
virtual void setName (const char *)
 
void setToolTip (const uiString &)
 
const uiStringtoolTip () const
 
void translateText ()
 
void display (bool yn, bool shrink=false, bool maximized=false)
 
void setFocus ()
 
bool hasFocus () const
 
void disabFocus ()
 
virtual void setCursor (const MouseCursor &)
 
bool isCursorInside () const
 
virtual void setStyleSheet (const char *)
 
Color roBackgroundColor () const
 
virtual void setBackgroundPixmap (const uiPixmap &)
 
virtual void setTextColor (const Color &)
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
bool visible () const
 
bool isDisplayed () const
 
int prefHNrPics () const
 
virtual void setPrefWidth (int)
 
void setPrefWidthInChar (int)
 
void setPrefWidthInChar (float)
 
void setMinimumWidth (int)
 
void setMaximumWidth (int)
 
int prefVNrPics () const
 
virtual void setPrefHeight (int)
 
void setPrefHeightInChar (int)
 
void setPrefHeightInChar (float)
 
void setMinimumHeight (int)
 
void setMaximumHeight (int)
 
void setStretch (int hor, int ver)
 Sets stretch factors for object If stretch factor is > 1, then object will already grow at pop-up. More...
 
void attach (constraintType, int margin=-1)
 attaches object to another In case the stretched... options are used, margin=-1 (default) stretches the object not to cross the border. margin=-2 stretches the object to fill the parent's border. This looks nice with separators. More...
 
void attach (constraintType, uiObject *, int margin=-1, bool reciprocal=true)
 
void attach (constraintType, uiParent *, int margin=-1, bool reciprocal=true)
 
void setFont (const uiFont &)
 
const uiFontfont () const
 
void setCaption (const uiString &)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void reDraw (bool deep)
 
uiSize actualsize (bool include_border=true) const
 
uiParentparent ()
 
const uiParentparent () const
 
void reParent (uiParent *)
 
uiMainWinmainwin ()
 
int getNrWidgets () const
 
 mQtclass (QWidget *) getWidget(int)
 
virtual const ObjectSet< uiBaseObject > * childList () const
 
void close ()
 

Public Attributes

CNotifier< uiColSeqDisp, PosTypeselReq
 click or enter More...
 
CNotifier< uiColSeqDisp, PosTypemenuReq
 right-click or space More...
 
CNotifier< uiColSeqDisp, PosTypeupReq
 wheel-, key- or page-up More...
 
CNotifier< uiColSeqDisp, PosTypedownReq
 wheel-, key- or page-down More...
 
- Public Attributes inherited from uiGraphicsViewBase
CNotifier< uiGraphicsViewBase, uiSizereSize
 CallBacker is OLD size. More...
 
Notifier< uiGraphicsViewBaserubberBandUsed
 
Notifier< uiGraphicsViewBasereDrawNeeded
 
Notifier< uiGraphicsViewBasereDrawn
 In practice, this happens only after reSize. More...
 
Notifier< uiGraphicsViewBasepreDraw
 
Notifier< uiGraphicsViewBasescrollBarUsed
 
Notifier< uiObjectpointerEntered
 
Notifier< uiObjectpointerLeft
 
- Public Attributes inherited from uiObject
Notifier< uiObjectclosed
 Triggered when object closes. More...
 
CNotifier< uiObject, uiRect & > setGeometry
 triggered when getting a new geometry A reference to the new geometry is passed which can be manipulated, before the geometry is actually set to the QWidget. More...
 

Protected Member Functions

void initCB (CallBacker *)
 
void mouseWheelCB (CallBacker *)
 
void keybCB (CallBacker *)
 
void reSizeCB (CallBacker *)
 
void mousePressCB (CallBacker *)
 
void mouseReleaseCB (CallBacker *)
 
void seqChgCB (CallBacker *)
 
void mapperChgCB (CallBacker *)
 
int longSz () const
 
PosType relPosFor (const MouseEvent &) const
 
bool setNewSeq (const Sequence &)
 
void handleMouseBut (bool)
 
virtual bool handleLongTabletPress ()
 
void reDraw ()
 
- Protected Member Functions inherited from uiRGBArrayCanvas
virtual void mkNewFill ()
 
void rubberBandHandler (uiRect)
 
bool createPixmap ()
 
- Protected Member Functions inherited from uiGraphicsView
void saveImageCB (CallBacker *)
 
void printImageCB (CallBacker *)
 
- Protected Member Functions inherited from uiGraphicsViewBase
void translateText ()
 
uiGraphicsViewBodymkbody (uiParent *, const char *)
 
void rubberBandCB (CallBacker *)
 
- Protected Member Functions inherited from uiObject
virtual bool closeOK ()
 hook. Accepts/denies closing of window. More...
 
void triggerSetGeometry (const i_LayoutItem *, uiRect &)
 setGeometry should be triggered by this's layoutItem More...
 
void updateToolTip (CallBacker *=0)
 

Protected Attributes

ConstRefMan< Sequencecolseq_
 
ConstRefMan< Mappermapper_
 
OD::Orientation orientation_
 
const bool withudfcoldisp_
 
uiRGBArray * rgbarr_
 
- Protected Attributes inherited from uiRGBArrayCanvas
uiPixmapItempixmapitm_
 
uiRGBArray & rgbarr_
 
uiBorder border_
 
Color bgcolor_
 
bool dodraw_
 
uiRect arrarea_
 
uiRect updarea_
 
uiPixmappixmap_
 
- Protected Attributes inherited from uiGraphicsView
bool enableimagesave_
 
- Protected Attributes inherited from uiGraphicsViewBase
uiGraphicsViewBodybody_
 
uiRectselectedarea_
 
uiGraphicsScenescene_
 
int sceneborder_
 
bool isctrlpressed_
 
bool enabscrollzoom_
 
- Protected Attributes inherited from uiObject
uiString tooltip_
 
uiObjEventFilter * uiobjeventfilter_
 

Private Member Functions

uiRGBArray & mkRGBArr ()
 

Additional Inherited Members

- Static Public Member Functions inherited from uiGraphicsViewBase
static const ObjectSet< uiGraphicsViewBase > & allInstances ()
 
- Static Public Member Functions inherited from uiObject
static void updateToolTips ()
 
static void setTabOrder (uiObject *first, uiObject *second)
 
static int baseFldSize ()
 
static int iconSize ()
 

Detailed Description

Member Typedef Documentation

Constructor & Destructor Documentation

uiColSeqDisp::uiColSeqDisp ( uiParent ,
OD::Orientation  ,
bool  withudfcoldisp = true 
)
uiColSeqDisp::~uiColSeqDisp ( )

Member Function Documentation

virtual bool uiColSeqDisp::handleLongTabletPress ( )
protectedvirtual

Reimplemented from uiObject.

void uiColSeqDisp::handleMouseBut ( bool  )
protected
void uiColSeqDisp::initCB ( CallBacker )
protected
void uiColSeqDisp::keybCB ( CallBacker )
protected
int uiColSeqDisp::longSz ( ) const
protected
const Mapper* uiColSeqDisp::mapper ( ) const
inline
void uiColSeqDisp::mapperChgCB ( CallBacker )
inlineprotected
uiRGBArray& uiColSeqDisp::mkRGBArr ( )
private
void uiColSeqDisp::mousePressCB ( CallBacker )
inlineprotected
void uiColSeqDisp::mouseReleaseCB ( CallBacker )
inlineprotected
void uiColSeqDisp::mouseWheelCB ( CallBacker )
protected
OD::Orientation uiColSeqDisp::orientation ( ) const
inline
int uiColSeqDisp::pixFor ( ValueType  ) const
void uiColSeqDisp::reDraw ( )
protected
PosType uiColSeqDisp::relPosFor ( const MouseEvent ) const
protected
void uiColSeqDisp::reSizeCB ( CallBacker )
protected
void uiColSeqDisp::seqChgCB ( CallBacker )
inlineprotected
const char* uiColSeqDisp::seqName ( ) const
const Sequence& uiColSeqDisp::sequence ( ) const
inline
void uiColSeqDisp::setMapper ( const Mapper )
bool uiColSeqDisp::setNewSeq ( const Sequence )
protected
void uiColSeqDisp::setOrientation ( OD::Orientation  )
void uiColSeqDisp::setSeqName ( const char *  )
void uiColSeqDisp::setSequence ( const Sequence )

Member Data Documentation

ConstRefMan<Sequence> uiColSeqDisp::colseq_
protected
CNotifier<uiColSeqDisp,PosType> uiColSeqDisp::downReq

wheel-, key- or page-down

ConstRefMan<Mapper> uiColSeqDisp::mapper_
protected
CNotifier<uiColSeqDisp,PosType> uiColSeqDisp::menuReq

right-click or space

OD::Orientation uiColSeqDisp::orientation_
protected
uiRGBArray* uiColSeqDisp::rgbarr_
protected
CNotifier<uiColSeqDisp,PosType> uiColSeqDisp::selReq

click or enter

CNotifier<uiColSeqDisp,PosType> uiColSeqDisp::upReq

wheel-, key- or page-up

const bool uiColSeqDisp::withudfcoldisp_
protected

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