UNIVERS
15.3
UNIVERS base processing software API
|
#include <zqb_visible.hpp>
Public Member Functions | |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual void | redraw (QPainter &paint)=0 |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual bool | isHardcopy () const |
virtual void | setDirty ()=0 |
virtual void | resetDirty ()=0 |
virtual bool | isDirty () const =0 |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual ZqbEventHint | input (QEvent &event)=0 |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
virtual void | updateGeometry ()=0 |
virtual void | updateLimits (QPainter *paint=NULL)=0 |
virtual bool | getRect (QRect &) |
virtual bool | setRect (const QRect &) |
virtual QPainter * | getScreenPainter () const =0 |
virtual void | setScreenPainter (QPainter *pPainter)=0 |
virtual QWidget * | getAreaWidget () const =0 |
virtual void | setAreaWidget (QWidget *pWidget)=0 |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual void | redraw (QPainter &paint)=0 |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual bool | isHardcopy () const |
virtual void | setDirty ()=0 |
virtual void | resetDirty ()=0 |
virtual bool | isDirty () const =0 |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual ZqbEventHint | input (QEvent &event)=0 |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
virtual void | updateGeometry ()=0 |
virtual void | updateLimits (QPainter *paint=NULL)=0 |
virtual bool | getRect (QRect &) |
virtual bool | setRect (const QRect &) |
virtual QPainter * | getScreenPainter () const =0 |
virtual void | setScreenPainter (QPainter *pPainter)=0 |
virtual QWidget * | getAreaWidget () const =0 |
virtual void | setAreaWidget (QWidget *pWidget)=0 |
Abstract class for every visible object.
A visible object has size and screen position, can draw itself and may process some events. In case of complex structure an object may reconstruct internal geometry.
|
inline |
Create object with default hints: can't draw itself, can't process events.
|
virtual |
Destructor.
|
inline |
Create object with default hints: can't draw itself, can't process events.
|
virtual |
Destructor.
|
pure virtual |
Return pointer to Qt widget used for drawing area or NULL if it's not accessible.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
Return pointer to Qt widget used for drawing area or NULL if it's not accessible.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Return pointer to default graphics context (screen drawing) or NULL if it's not accessible.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
Return pointer to default graphics context (screen drawing) or NULL if it's not accessible.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
General event processing method. Returns hint for futher processing of this event.
Implemented in ZqCoordMarker, ZqCoordMarker, ZqZoom, ZqZoom, ZqScaledPalette, ZqScaledPalette, ZqObject, ZqObject, ZqRubberBox, ZqPolygon, ZqPolygon, ZqRubberLine, ZqRubberBox, ZqRubberLine, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
General event processing method. Returns hint for futher processing of this event.
Implemented in ZqCoordMarker, ZqCoordMarker, ZqZoom, ZqZoom, ZqScaledPalette, ZqScaledPalette, ZqObject, ZqObject, ZqRubberBox, ZqPolygon, ZqPolygon, ZqRubberLine, ZqRubberBox, ZqRubberLine, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
Return value of the redraw request flag.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
Return value of the redraw request flag.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
inlinevirtual |
Return true if object wants to draw itself and false otherwise. If the method returns false then caller code should solve to do not call redraw() for this visible object.
|
inlinevirtual |
Return true if object wants to draw itself and false otherwise. If the method returns false then caller code should solve to do not call redraw() for this visible object.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Return true if object wants to process events and false otherwise. If the method returns false then caller code should solve to do not call input() for this visible object.
|
inlinevirtual |
Return true if object wants to process events and false otherwise. If the method returns false then caller code should solve to do not call input() for this visible object.
|
inlinevirtual |
Return true if tips are enabled and false otherwise.
|
inlinevirtual |
Return true if tips are enabled and false otherwise.
|
pure virtual |
General drawing method.
Implemented in ZqSeismicView, ZqSeismicView, ZqCurve, ZqCurve, ZqSeismicTrace, ZqSeismicTrace, ZqLithColumn, ZqSurface, ZqLithColumn, ZqSurface, ZqCoordMarker, ZqScale, ZqCoordMarker, ZqScale, ZqTitle, ZqTitle, ZqPolygon, ZqPolygon, ZqCustomScale, ZqScaledPalette, ZqScaledPalette, ZqObject, ZqObject, ZqRubberLine, ZqGrid, ZqGrid, ZqBBox, ZqBBox, ZqRubberLine, ZqScrollBar, ZqbPlaceholder, ZqScrollBar, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
General drawing method.
Implemented in ZqSeismicView, ZqSeismicView, ZqCurve, ZqCurve, ZqSeismicTrace, ZqSeismicTrace, ZqLithColumn, ZqSurface, ZqLithColumn, ZqSurface, ZqCoordMarker, ZqScale, ZqCoordMarker, ZqScale, ZqTitle, ZqTitle, ZqPolygon, ZqPolygon, ZqCustomScale, ZqScaledPalette, ZqScaledPalette, ZqObject, ZqObject, ZqRubberLine, ZqGrid, ZqGrid, ZqBBox, ZqBBox, ZqRubberLine, ZqScrollBar, ZqbPlaceholder, ZqScrollBar, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
inlinevirtual |
General drawing method in default graphics context (to the screen). May poroduce buggy results in case of isHardcopy() is true.
|
inlinevirtual |
General drawing method in default graphics context (to the screen). May poroduce buggy results in case of isHardcopy() is true.
|
pure virtual |
Undo request for redraw.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
Undo request for redraw.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
Set pointer to Qt widget used for drawing area. NULL pointer is acceptable.
Implemented in ZqObject, ZqObject, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
Set pointer to Qt widget used for drawing area. NULL pointer is acceptable.
Implemented in ZqObject, ZqObject, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
Request for redraw.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
Request for redraw.
Implemented in ZqObject, ZqObject, ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
inlinevirtual |
The method allows to turn off (false) or turn on (true) drawing ability of the object.
Reimplemented in ZqScrollBar, and ZqScrollBar.
|
inlinevirtual |
The method allows to turn off (false) or turn on (true) drawing ability of the object.
Reimplemented in ZqScrollBar, and ZqScrollBar.
|
inlinevirtual |
The method allows to turn off (false) or turn on (true) events processing ability of the object.
Reimplemented in ZqRubberBox, ZqRubberLine, ZqRubberBox, and ZqRubberLine.
|
inlinevirtual |
The method allows to turn off (false) or turn on (true) events processing ability of the object.
Reimplemented in ZqRubberBox, ZqRubberLine, ZqRubberBox, and ZqRubberLine.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Set pointer to default graphics context (screen drawing). NULL pointer is acceptable.
Implemented in ZqObject, ZqObject, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
Set pointer to default graphics context (screen drawing). NULL pointer is acceptable.
Implemented in ZqObject, ZqObject, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Enable/disable dynamic tip processing. If the flag is set to false then the tip() method will not be called.
|
inlinevirtual |
Enable/disable dynamic tip processing. If the flag is set to false then the tip() method will not be called.
|
virtual |
Display tip at this point (short and long forms) and return true or return false if no tips are associated with this point.
The short form of tip label is displayed nearby mouse pointer position. The long form is displayed in the status line (if defined in a program).
Returns false by default.
Reimplemented in ZqSeismicView, ZqSeismicView, ZqLayout, and ZqLayout.
|
virtual |
Display tip at this point (short and long forms) and return true or return false if no tips are associated with this point.
The short form of tip label is displayed nearby mouse pointer position. The long form is displayed in the status line (if defined in a program).
Returns false by default.
Reimplemented in ZqSeismicView, ZqSeismicView, ZqLayout, and ZqLayout.
|
pure virtual |
General method to recalculate geometry of children objects (if any) because it's called when own geometry of the object is already calculated and assigned via pixel groups membership. Optional painter may be passed just for obtaining device dependent information about font metrics etc.
Implemented in ZqObject, ZqObject, ZqScrollBar, ZqbPlaceholder, ZqScrollBar, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
General method to recalculate geometry of children objects (if any) because it's called when own geometry of the object is already calculated and assigned via pixel groups membership. Optional painter may be passed just for obtaining device dependent information about font metrics etc.
Implemented in ZqObject, ZqObject, ZqScrollBar, ZqbPlaceholder, ZqScrollBar, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
pure virtual |
General method to recalculate own size limitations and all children objects. In case the painter isn't a NULL it should be used for device specific sizes such as QFontMetrics.
Implemented in ZqScale, ZqScale, ZqTitle, ZqTitle, ZqObject, ZqObject, ZqScaledPalette, ZqScaledPalette, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.
|
pure virtual |
General method to recalculate own size limitations and all children objects. In case the painter isn't a NULL it should be used for device specific sizes such as QFontMetrics.
Implemented in ZqScale, ZqScale, ZqTitle, ZqTitle, ZqObject, ZqObject, ZqScaledPalette, ZqScaledPalette, ZqLayout, ZqLayout, ZqbPlaceholder, and ZqbPlaceholder.