UNIVERS
15.3
UNIVERS base processing software API
|
#include <zqb_container.hpp>
Public Member Functions | |
virtual | ~ZqbContainer () |
virtual int | numberOfObjects () const |
virtual bool | isEmpty () const |
virtual bool | addObject (ZqObject *obj) |
virtual bool | removeObject (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 | removeObject (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 |
Protected Attributes | |
ZqbObjectArray | m_Objects |
Absract container for zq objects.
Container allows to store pointers to many objects and provide operations for their ordering.
|
inlinevirtual |
Let's make compiler happy.
|
inlinevirtual |
Let's make compiler happy.
void ZqbContainer::addInteractiveObjects | ( | bool | bFlag, |
ZqbContainer & | cont | ||
) |
Add to the container list of interactive (bFlag = true) or non-interactive (bFlag = false) objects from another container.
void ZqbContainer::addInteractiveObjects | ( | bool | bFlag, |
ZqbContainer & | cont | ||
) |
Add to the container list of interactive (bFlag = true) or non-interactive (bFlag = false) objects from another container.
|
inlinevirtual |
Insert new object on the top of previous objects and return true. If object already added to this container or to another one lets do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Insert new object on the top of previous objects and return true. If object already added to this container or to another one lets do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inline |
Provide start of forward iteration.
|
inline |
Provide start of forward iteration.
|
inline |
Provide end of forward iteration.
|
inline |
Provide end of forward iteration.
|
inlinevirtual |
Return true if container does not contain objects and false otherwise.
|
inlinevirtual |
Return true if container does not contain objects and false otherwise.
|
inlinevirtual |
Return number of objects in container.
|
inlinevirtual |
Return number of objects in container.
|
inline |
Provide start of backward iteration.
|
inline |
Provide start of backward iteration.
void ZqbContainer::redrawObjects | ( | QPainter * | paint | ) |
Draw all objects in the container in direct order.
void ZqbContainer::redrawObjects | ( | QPainter * | paint | ) |
Draw all objects in the container in direct order.
|
inlinevirtual |
Remove object from container and return true. If object is not found in this container lets do nothing and return false.
Reimplemented in ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
inlinevirtual |
Remove object from container and return true. If object is not found in this container lets do nothing and return false.
Reimplemented in ZqbPlaceholder, ZqbPlaceholder, ZqLayout, and ZqLayout.
|
inline |
Provide end of backward iteration.
|
inline |
Provide end of backward iteration.
|
inlinevirtual |
Place listed objects in given order of drawing. The first listed object will be drawn the first, the last one will be drawn the last atop of other objects. Returns number of objects actually found in the container.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Place listed objects in given order of drawing. The first listed object will be drawn the first, the last one will be drawn the last atop of other objects. Returns number of objects actually found in the container.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Place listed objects in given order of drawing. List should be terminated by NULL. The first listed object will be drawn the first, the last one will be drawn the last atop of other objects. Returns number of objects actually found in the container.
|
inlinevirtual |
Place listed objects in given order of drawing. List should be terminated by NULL. The first listed object will be drawn the first, the last one will be drawn the last atop of other objects. Returns number of objects actually found in the container.
|
inline |
Return number of objects.
|
inline |
Return number of objects.
|
inlinevirtual |
Move the object under other objects and return true. If object is not found in this container then do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Move the object under other objects and return true. If object is not found in this container then do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Move the object atop of other objects and return true. If object is not found in this container then do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
inlinevirtual |
Move the object atop of other objects and return true. If object is not found in this container then do nothing and return false.
Reimplemented in ZqbPlaceholder, and ZqbPlaceholder.
|
protected |
List of objects.