UNIVERS
15.3
UNIVERS base processing software API
|
#include <zq_layout.hpp>
Public Member Functions | |
ZqLayout (const char *szLayoutName=NULL) | |
ZqLayout (ZqbPlaceholder *pPh, const char *szLayoutName=NULL) | |
virtual ZqbPlaceholderVector * | placeholders () |
virtual void | redraw (QPainter &paint) |
virtual ZqbEventHint | input (QEvent &event) |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual void | updateGeometry () |
virtual void | updateLimits (QPainter *paint=NULL) |
virtual bool | getRect (QRect &rect) |
virtual bool | setRect (const QRect &rect) |
virtual void | setScreenPainter (QPainter *pPainter) |
virtual void | setAreaWidget (QWidget *pWidget) |
virtual bool | removeObject (ZqObject *obj) |
virtual ZqbPlaceholder * | placeholder (const char *szPixGroupX, const char *szPixGroupY, const char *szPhName=NULL) |
virtual bool | remove (ZqbPlaceholder *pPh) |
virtual void | setDirty () |
virtual void | resetDirty () |
virtual bool | isDirty () const |
virtual bool | attachToPlace (ZqbPlaceholder *pPh) |
virtual bool | detachFromPlace () |
ZqLayout (const char *szLayoutName=NULL) | |
ZqLayout (ZqbPlaceholder *pPh, const char *szLayoutName=NULL) | |
virtual ZqbPlaceholderVector * | placeholders () |
virtual void | redraw (QPainter &paint) |
virtual ZqbEventHint | input (QEvent &event) |
virtual bool | tip (const QPoint &p, QString &qsShort, QString &qsLong) |
virtual void | updateGeometry () |
virtual void | updateLimits (QPainter *paint=NULL) |
virtual bool | getRect (QRect &rect) |
virtual bool | setRect (const QRect &rect) |
virtual void | setScreenPainter (QPainter *pPainter) |
virtual void | setAreaWidget (QWidget *pWidget) |
virtual bool | removeObject (ZqObject *obj) |
virtual ZqbPlaceholder * | placeholder (const char *szPixGroupX, const char *szPixGroupY, const char *szPhName=NULL) |
virtual bool | remove (ZqbPlaceholder *pPh) |
virtual void | setDirty () |
virtual void | resetDirty () |
virtual bool | isDirty () const |
virtual bool | attachToPlace (ZqbPlaceholder *pPh) |
virtual bool | detachFromPlace () |
Public Member Functions inherited from ZqObject | |
ZqObject (const char *szName=NULL) | |
ZqObject (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual | ~ZqObject () |
virtual void | debugState () |
virtual void | clearPlace () |
virtual QPainter * | getScreenPainter () const |
virtual QzqArea * | getArea () const |
virtual QWidget * | getAreaWidget () const |
virtual bool | isHardcopy () const |
bool | isPlaced () const |
ZqbPlaceholder * | getPlace () const |
ZqbPixGrpMember * | px () const |
ZqbPixGrpMember * | py () const |
bool | getRect (QRect &rect) const |
void | setInteractive (bool bInteractive) |
bool | isInteractive () const |
virtual void | fullRedraw (bool bForce=false) |
virtual void | interactiveRedraw () |
ZqObject (const char *szName=NULL) | |
ZqObject (ZqbPlaceholder *pPh, const char *szName=NULL) | |
virtual | ~ZqObject () |
virtual void | debugState () |
virtual void | clearPlace () |
virtual QPainter * | getScreenPainter () const |
virtual QzqArea * | getArea () const |
virtual QWidget * | getAreaWidget () const |
virtual bool | isHardcopy () const |
bool | isPlaced () const |
ZqbPlaceholder * | getPlace () const |
ZqbPixGrpMember * | px () const |
ZqbPixGrpMember * | py () const |
bool | getRect (QRect &rect) const |
void | setInteractive (bool bInteractive) |
bool | isInteractive () const |
virtual void | fullRedraw (bool bForce=false) |
virtual void | interactiveRedraw () |
Public Member Functions inherited from ZqbAutoName | |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
Public Member Functions inherited from ZqbVisible | |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
ZqbVisible (bool bDrawable=false, bool bInputable=false, bool bTipable=false) | |
virtual | ~ZqbVisible () |
virtual bool | isDrawable () const |
virtual void | setDrawable (bool bFlag) |
virtual void | redraw () |
virtual void | setTipable (bool bFlag) |
virtual bool | isTipable () const |
virtual bool | isInputable () const |
virtual void | setInputable (bool bFlag) |
Public Member Functions inherited from ZqbContainer | |
virtual | ~ZqbContainer () |
virtual int | numberOfObjects () const |
virtual bool | isEmpty () const |
virtual bool | addObject (ZqObject *obj) |
virtual bool | toFront (ZqObject *obj) |
virtual bool | toBack (ZqObject *obj) |
virtual int | setDrawOrder (const ZqbObjectArray &objects) |
virtual int | setDrawOrder (ZqObject *obj1,...) |
ZqbObjectArray::iterator | begin () |
ZqbObjectArray::iterator | end () |
ZqbObjectArray::reverse_iterator | rbegin () |
ZqbObjectArray::reverse_iterator | rend () |
void | addInteractiveObjects (bool bFlag, ZqbContainer &cont) |
void | redrawObjects (QPainter *paint) |
size_t | size () const |
virtual | ~ZqbContainer () |
virtual int | numberOfObjects () const |
virtual bool | isEmpty () const |
virtual bool | addObject (ZqObject *obj) |
virtual bool | toFront (ZqObject *obj) |
virtual bool | toBack (ZqObject *obj) |
virtual int | setDrawOrder (const ZqbObjectArray &objects) |
virtual int | setDrawOrder (ZqObject *obj1,...) |
ZqbObjectArray::iterator | begin () |
ZqbObjectArray::iterator | end () |
ZqbObjectArray::reverse_iterator | rbegin () |
ZqbObjectArray::reverse_iterator | rend () |
void | addInteractiveObjects (bool bFlag, ZqbContainer &cont) |
void | redrawObjects (QPainter *paint) |
size_t | size () const |
Public Attributes | |
ZqbPixGrpManager | pgmx |
ZqbPixGrpManager | pgmy |
Additional Inherited Members | |
Protected Attributes inherited from ZqObject | |
ZqbPlaceholder * | m_pPh |
ZqbPixGrpMember * | m_pPx |
ZqbPixGrpMember * | m_pPy |
bool | m_bInteractive |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Protected Attributes inherited from ZqbContainer | |
ZqbObjectArray | m_Objects |
Layout manages geometry of placeholder members.
Placeholders are created on request for given pair of groups.
ZqLayout::ZqLayout | ( | const char * | szLayoutName = NULL | ) |
Create layout without attachment to placeholder.
ZqLayout::ZqLayout | ( | ZqbPlaceholder * | pPh, |
const char * | szLayoutName = NULL |
||
) |
Create layout inside given placeholder.
ZqLayout::ZqLayout | ( | const char * | szLayoutName = NULL | ) |
Create layout without attachment to placeholder.
ZqLayout::ZqLayout | ( | ZqbPlaceholder * | pPh, |
const char * | szLayoutName = NULL |
||
) |
Create layout inside given placeholder.
|
virtual |
In addition to usual ZqObject::attachToPlace() behavior this method manages actual state of default graphics context.
Reimplemented from ZqObject.
|
virtual |
In addition to usual ZqObject::attachToPlace() behavior this method manages actual state of default graphics context.
Reimplemented from ZqObject.
|
virtual |
In addition to usual ZqObject::detachFromPlace() behavior this method manages actual state of default graphics context.
Reimplemented from ZqObject.
|
virtual |
In addition to usual ZqObject::detachFromPlace() behavior this method manages actual state of default graphics context.
Reimplemented from ZqObject.
|
virtual |
General method to obtain position and size. If the method returns false then the object does not have position and size and rectangle does not have proper value.
Reimplemented from ZqbVisible.
|
virtual |
General method to obtain position and size. If the method returns false then the object does not have position and size and rectangle does not have proper value.
Reimplemented from ZqbVisible.
|
virtual |
General event processing method for all objects in reverse order.
Reimplemented from ZqObject.
|
virtual |
General event processing method for all objects in reverse order.
Reimplemented from ZqObject.
|
virtual |
Return value of the redraw request flag. It's obtained and OR for every placeholders.
Reimplemented from ZqObject.
|
virtual |
Return value of the redraw request flag. It's obtained and OR for every placeholders.
Reimplemented from ZqObject.
|
virtual |
Return pointer to placeholder with given groups. If such placeholder does not exist it is created on the fly, so result is always not NULL. If placeholder is created then optionally its name may be specified.
|
virtual |
Return pointer to placeholder with given groups. If such placeholder does not exist it is created on the fly, so result is always not NULL. If placeholder is created then optionally its name may be specified.
|
virtual |
Return internal list of placeholders.
Reimplemented from ZqObject.
|
virtual |
Return internal list of placeholders.
Reimplemented from ZqObject.
|
virtual |
General drawing method for all objects in direct order.
Reimplemented from ZqObject.
|
virtual |
General drawing method for all objects in direct order.
Reimplemented from ZqObject.
|
virtual |
Remove placeholder if there is no object attached to it. Return true in case of success and false if placeholder does not belong to this layout, or NULL is passed, or some objects are still attached to it.
|
virtual |
Remove placeholder if there is no object attached to it. Return true in case of success and false if placeholder does not belong to this layout, or NULL is passed, or some objects are still attached to it.
|
virtual |
Remove object from container and return true. If object is not found in this placeholder lets do nothing and return false. Take care of grabber.
Reimplemented from ZqbContainer.
|
virtual |
Remove object from container and return true. If object is not found in this placeholder lets do nothing and return false. Take care of grabber.
Reimplemented from ZqbContainer.
|
virtual |
Turn off dirty flag (which mean force for redraw) for all placeholders in this layout and recursively in depths.
Reimplemented from ZqObject.
|
virtual |
Turn off dirty flag (which mean force for redraw) for all placeholders in this layout and recursively in depths.
Reimplemented from ZqObject.
|
virtual |
Set pointer to Qt widget used for drawing area in each placeholder. NULL pointer is acceptable.
Reimplemented from ZqObject.
|
virtual |
Set pointer to Qt widget used for drawing area in each placeholder. NULL pointer is acceptable.
Reimplemented from ZqObject.
|
virtual |
Turn on dirty flag (which mean force for redraw) for all placeholders in this layout and recursively in depths.
Reimplemented from ZqObject.
|
virtual |
Turn on dirty flag (which mean force for redraw) for all placeholders in this layout and recursively in depths.
Reimplemented from ZqObject.
|
virtual |
General method to set position and size of the visible object. In some cases object don't allow to set size in such manner. In this case the method will return false and position and size will not be changed.
Reimplemented from ZqbVisible.
|
virtual |
General method to set position and size of the visible object. In some cases object don't allow to set size in such manner. In this case the method will return false and position and size will not be changed.
Reimplemented from ZqbVisible.
|
virtual |
Set pointer to default graphics context (screen drawing) in each placeholder.
Reimplemented from ZqObject.
|
virtual |
Set pointer to default graphics context (screen drawing) in each placeholder.
Reimplemented from ZqObject.
|
virtual |
General dynamic tip method. Calls for every object in the container until the first one with valid tip will be found.
Reimplemented from ZqbVisible.
|
virtual |
General dynamic tip method. Calls for every object in the container until the first one with valid tip will be found.
Reimplemented from ZqbVisible.
|
virtual |
General method to recalculate geometry of children objects according to pixel group management. Optional painter may be passed for device dependent information.
Reimplemented from ZqObject.
|
virtual |
General method to recalculate geometry of children objects according to pixel group management. Optional painter may be passed for device dependent information.
Reimplemented from ZqObject.
|
virtual |
General method to recalculate size limitations of all objects in container. In case the painter isn't a NULL it should be used for device specific sizes such as QFontMetrics.
Reimplemented from ZqObject.
|
virtual |
General method to recalculate size limitations of all objects in container. In case the painter isn't a NULL it should be used for device specific sizes such as QFontMetrics.
Reimplemented from ZqObject.
ZqbPixGrpManager ZqLayout::pgmx |
Manager for 1D geometry along X axis of the screen.
ZqbPixGrpManager ZqLayout::pgmy |
Manager for 1D geometry along Y axis of the screen.