|
| uiRGBArrayCanvas (uiParent *, uiRGBArray &) |
|
| ~uiRGBArrayCanvas () |
|
uiRect | arrArea () const |
|
bool | arrDrawn () const |
|
void | beforeDraw () |
|
void | beforeDraw (int w, int h) |
|
const OD::Color & | bgColor () const |
|
const uiBorder & | border () const |
|
void | removePixmap () |
|
uiRGBArray & | rgbArray () |
|
const uiRGBArray & | rgbArray () const |
|
void | setBGColor (const OD::Color &) |
| everything More...
|
|
void | setBorder (const uiBorder &) |
|
void | setDrawArr (bool) |
| Draw the arr or not? More...
|
|
void | setPixmap (const uiPixmap &) |
|
void | setPixMapPos (int x, int y) |
|
const uiRect & | updateArea () |
|
void | updatePixmap () |
|
| uiGraphicsView (uiParent *, const char *nm) |
|
| ~uiGraphicsView () |
|
void | disableImageSave () |
|
void | enableImageSave () |
|
uiCrossHairItem * | getCrossHairItem () |
|
uiAction * | getPrintImageAction () |
|
uiToolButton * | getPrintImageButton (uiParent *) |
|
uiAction * | getSaveImageAction () |
|
uiToolButton * | getSaveImageButton (uiParent *) |
|
| uiGraphicsViewBase (uiParent *, const char *) |
|
| ~uiGraphicsViewBase () |
|
OD::Color | backgroundColor () const override |
|
void | centreOn (uiPoint) |
|
void | disableScrollZoom () |
|
ODDragMode | dragMode () const |
|
void | enableScrollZoom (bool yn=true) |
|
GestureEventHandler & | gestureEventHandler () |
|
uiPoint | getCursorPos () const |
|
KeyboardEventHandler & | getKeyboardEventHandler () |
|
MouseEventHandler & | getMouseEventHandler () |
|
bool | getMouseWheelReversal () const |
|
MouseEventHandler & | getNavigationMouseEventHandler () |
|
void | getScaleFactor (float &, float &) const |
|
int | getSceneBorder () const |
|
uiPoint | getScenePos (float, float) const |
|
uiRect | getSceneRect () const |
|
const uiRect * | getSelectedArea () const |
|
const uiPoint & | getStartPos () const |
|
uiRect | getViewArea () const |
|
bool | hasMidMouseButtonForDrag () const |
|
bool | hasMouseTracking () const |
|
int | height () const override |
| height of widget More...
|
|
bool | isCtrlPressed () const |
|
bool | isRubberBandingOn () const |
|
uiPoint | mapFromScene (const Geom::Point2D< float > &) const |
|
Geom::Point2D< float > | mapToScene (const uiPoint &) const |
|
Geom::RectF | mapToScene (const uiRect &) const |
|
bool | print () |
|
void | rePaint () |
|
uiGraphicsScene & | scene () |
|
uiSize | scrollBarSize (bool horizontal) const |
|
bool | scrollZoomEnabled () |
|
void | setBackgroundColor (const OD::Color &) override |
|
void | setCtrlPressed (bool yn) |
|
void | setDragMode (ODDragMode) |
|
void | setMidMouseButtonForDrag (bool) |
|
void | setMouseTracking (bool) |
|
void | setMouseWheelReversal (bool) |
|
void | setNoBackGround () |
|
void | setScaleFactor (float, float) |
|
void | setScene (uiGraphicsScene &) |
| Scene becomes mine. More...
|
|
void | setSceneAlignment (const Alignment &) |
|
void | setSceneBorder (int) |
|
void | setSceneRect (const uiRect &) |
|
void | setScrollBarPolicy (bool hor, ScrollBarPolicy) |
|
void | setViewArea (double x, double y, double w, double h) |
|
void | show () |
|
int | viewHeight () const |
| height of viewport More...
|
|
int | viewWidth () const |
| width of viewport More...
|
|
int | width () const override |
| width of widget More...
|
|
| ~uiObject () |
|
uiSize | actualSize (bool include_border=true) const |
|
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) |
|
virtual const ObjectSet< uiBaseObject > * | childList () const |
|
void | close () |
|
void | deepRedraw () |
|
void | disabFocus () |
|
void | display (bool yn, bool shrink=false, bool maximized=false) |
|
const uiFont * | font () const |
|
QWidget * | getWidget () override |
|
virtual bool | handleLongTabletPress () |
|
bool | hasFocus () const |
|
bool | isCursorInside () const |
|
bool | isDisplayed () const |
|
virtual bool | isEmpty () const |
|
bool | isSensitive () const |
|
uiMainWin * | mainwin () |
|
uiParent * | parent () |
|
const uiParent * | parent () const |
|
int | prefHNrPics () const |
|
int | prefVNrPics () const |
|
QWidget * | qwidget () |
|
const QWidget * | qwidget () const |
|
void | reDraw (bool deep) |
|
void | reParent (uiParent *) |
|
OD::Color | roBackgroundColor () const |
|
bool | sensitive () const |
|
virtual void | setBackgroundPixmap (const uiPixmap &) |
|
void | setCaption (const uiString &) |
|
virtual void | setCursor (const MouseCursor &) |
|
void | setFocus () |
|
void | setFont (const uiFont &) |
|
void | setHSzPol (SzPolicy) |
|
void | setMaximumHeight (int) |
|
void | setMaximumHeightInChar (int) |
|
void | setMaximumWidth (int) |
|
void | setMaximumWidthInChar (int) |
|
void | setMinimumHeight (int) |
|
void | setMinimumHeightInChar (int) |
|
void | setMinimumWidth (int) |
|
void | setMinimumWidthInChar (int) |
|
virtual void | setName (const char *) override |
|
virtual void | setPrefHeight (int) |
|
void | setPrefHeightInChar (float) |
|
void | setPrefHeightInChar (int) |
|
virtual void | setPrefWidth (int) |
|
void | setPrefWidthInChar (float) |
|
void | setPrefWidthInChar (int) |
|
void | setSensitive (bool yn=true) |
|
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...
|
|
virtual void | setStyleSheet (const char *) |
|
virtual void | setTextColor (const OD::Color &) |
|
void | setToolTip (const uiString &) |
|
void | setVSzPol (SzPolicy) |
|
void | shallowRedraw () |
|
int | stretch (bool hor) const |
|
SzPolicy | szPol (bool hor=true) const |
|
const uiString & | toolTip () const |
|
void | translateText () override |
|
bool | visible () const |
|
| uiBaseObject (const char *nm, uiBody *=0) |
|
virtual | ~uiBaseObject () |
|
int | beginCmdRecEvent (const BufferString &msg) |
|
int | beginCmdRecEvent (const char *msg=0) |
|
int | beginCmdRecEvent (od_uint64 id, const char *msg=0) |
|
uiBody * | body () |
|
const uiBody * | body () const |
|
void | clear () |
|
void | endCmdRecEvent (int refnr, const char *msg=0) |
|
void | endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0) |
|
void | finalise () |
|
bool | finalised () const |
|
void | finalize () |
|
bool | finalized () const |
|
const QWidget * | getWidget () const |
|
virtual Notifier< uiBaseObject > & | postFinalise () |
|
virtual Notifier< uiBaseObject > & | postFinalize () |
|
virtual Notifier< uiBaseObject > & | preFinalise () |
|
virtual Notifier< uiBaseObject > & | preFinalize () |
|
| 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 |
|
| 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 CallBacker * | trueCaller () |
|
| NamedObject (const char *nm=nullptr) |
|
| NamedObject (const NamedObject &oth) |
|
virtual | ~NamedObject () |
|
virtual BufferString | getName () const |
|
bool | getNameFromPar (const IOPar &) |
|
const name_type & | name () const override |
|
NamedObject & | operator= (const NamedObject &) |
|
bool | operator== (const NamedObject &oth) const |
|
virtual | ~ObjectWithName () |
|
bool | hasName (const char *nm) const |
|
bool | hasName (const name_type &nm) const |
|
void | putNameInPar (IOPar &) const |
|
|
enum | ODDragMode { NoDrag
, ScrollHandDrag
, RubberBandDrag
} |
|
enum | ScrollBarPolicy { ScrollBarAsNeeded
, ScrollBarAlwaysOff
, ScrollBarAlwaysOn
} |
|
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...
|
|
typedef OD::String | name_type |
|
static const ObjectSet< uiGraphicsViewBase > & | allInstances () |
|
static int | baseFldSize () |
|
static int | iconSize () |
|
static void | setTabOrder (uiObject *first, uiObject *second) |
|
static void | updateToolTips () |
|
static void | addCmdRecorder (const CallBack &) |
|
static void | removeCmdRecorder (const CallBack &) |
|
static void | createReceiverForCurrentThread () |
|
static void | removeReceiverForCurrentThread () |
|
Notifier< uiGraphicsViewBase > | preDraw |
|
Notifier< uiGraphicsViewBase > | reDrawn |
| In practice, this happens only after reSize. More...
|
|
Notifier< uiGraphicsViewBase > | reDrawNeeded |
|
CNotifier< uiGraphicsViewBase, uiSize > | reSize |
| CallBacker is OLD size. More...
|
|
Notifier< uiGraphicsViewBase > | rubberBandUsed |
|
Notifier< uiGraphicsViewBase > | scrollBarUsed |
|
Notifier< uiObject > | closed |
| 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...
|
|
Provides a canvas where a uiRGBArray is pre-drawn.
Handles borders, drawing and clearing. When the preDraw is triggered, the usedArea() is known, and the uiRGBArray was resized and cleared to the background color. You can choose to implement your own mkNewFill() function if you want to subclass, or catch the newFillNeeded notifier (if both: newFillNeeded is done first). At postDraw you typically put annotations and so forth, they are only needed in the updateArea().
<>