|
| 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 uiRect & | updateArea () |
|
const uiBorder & | border () const |
|
const Color & | bgColor () const |
|
bool | arrDrawn () const |
|
void | beforeDraw () |
|
void | beforeDraw (int w, int h) |
|
void | setPixMapPos (int x, int y) |
|
void | updatePixmap () |
|
| uiGraphicsView (uiParent *, const char *nm) |
|
| ~uiGraphicsView () |
|
uiToolButton * | getSaveImageButton (uiParent *) |
|
uiToolButton * | getPrintImageButton (uiParent *) |
|
void | enableImageSave () |
|
void | disableImageSave () |
|
uiCrossHairItem * | getCrossHairItem () |
|
| uiGraphicsViewBase (uiParent *, const char *) |
|
| ~uiGraphicsViewBase () |
|
void | setScene (uiGraphicsScene &) |
| Scene becomes mine. More...
|
|
uiGraphicsScene & | scene () |
|
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...
|
|
int | getSceneBorder () const |
|
void | setSceneBorder (int) |
|
void | centreOn (uiPoint) |
|
uiRect | getSceneRect () const |
|
void | setSceneRect (const uiRect &) |
|
void | setSceneAlignment (const Alignment &) |
|
void | setScaleFactor (float, float) |
|
uiPoint | getCursorPos () const |
|
void | getScaleFactor (float &, float &) const |
|
uiPoint | getScenePos (float, float) const |
|
const uiPoint & | getStartPos () const |
|
const uiRect * | getSelectedArea () 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 () |
|
MouseEventHandler & | getNavigationMouseEventHandler () |
|
MouseEventHandler & | getMouseEventHandler () |
|
KeyboardEventHandler & | getKeyboardEventHandler () |
|
GestureEventHandler & | gestureEventHandler () |
|
| 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 uiString & | toolTip () 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 uiFont * | font () const |
|
void | setCaption (const uiString &) |
|
void | shallowRedraw (CallBacker *=0) |
|
void | deepRedraw (CallBacker *=0) |
|
void | reDraw (bool deep) |
|
uiSize | actualsize (bool include_border=true) const |
|
uiParent * | parent () |
|
const uiParent * | parent () const |
|
void | reParent (uiParent *) |
|
uiMainWin * | mainwin () |
|
| mQtclass (QWidget *) getWidget() |
|
| mQtclass (QWidget *) qwidget() |
|
const | mQtclass (QWidget *) qwidget() const |
|
virtual bool | handleLongTabletPress () |
|
virtual const ObjectSet< uiBaseObject > * | childList () const |
|
void | close () |
|
|
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...
|
|
static const ObjectSet< uiGraphicsViewBase > & | allInstances () |
|
static void | updateToolTips () |
|
static void | setTabOrder (uiObject *first, uiObject *second) |
|
static int | baseFldSize () |
|
static int | iconSize () |
|
CNotifier< uiGraphicsViewBase, uiSize > | reSize |
| CallBacker is OLD size. More...
|
|
Notifier< uiGraphicsViewBase > | rubberBandUsed |
|
Notifier< uiGraphicsViewBase > | reDrawNeeded |
|
Notifier< uiGraphicsViewBase > | reDrawn |
| In practice, this happens only after reSize. More...
|
|
Notifier< uiGraphicsViewBase > | preDraw |
|
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().