Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef VListStyle | StyleType |
Public Member Functions | |
VList (Item *parent, NodeType *node, const StyleType *style=itemStyles().get()) | |
virtual QList< Visualization::VisualizationAddOn * > | addOns () override |
virtual int | determineForm () override |
int | focusedItemIndex () const |
int | focusedNodeIndex () const |
virtual Visualization::InteractionHandler * | handler () const override |
virtual bool | ignoresCopyAndPaste () override |
int | indexOfChildOrSubChild (const Item *item) const |
bool | isShowingEmptyTip () |
template<typename T > | |
T * | itemAt (int itemIndex) const |
template<typename T > | |
T * | itemAtNodeIndex (int nodeIndex) const |
int | length () const |
virtual bool | moveCursor (CursorMoveDirection dir=MoveDefault, QRect reference={}, CursorMoveOptions options=None) override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
int | rangeBegin () const |
int | rangeEnd () const |
virtual QList< ItemRegion > | regions () override |
virtual void | setStyle (const Visualization::ItemStyle *itemStyle) override |
void | setSuppressDefaultCopyPasteHandler (bool suppress) |
void | setSuppressDefaultRemovalHandler (bool suppress) |
bool | showsPartialRange () const |
const StyleType * | style () const |
bool | suppressDefaultRemovalHandler () const |
Static Public Member Functions | |
static void | addAddOn (Visualization::VisualizationAddOn *addOn) |
static Visualization::InteractionHandler * | defaultClassHandler () |
static void | initializeForms () |
static Visualization::StyleSet< VList > & | itemStyles () |
static bool | removeAddOn (Visualization::VisualizationAddOn *addOn) |
static void | setDefaultClassHandler (Visualization::InteractionHandler *handler) |
Protected Member Functions | |
virtual void | determineRange () |
Called during determineChildren() in order to determine which nodes should be shown. More... | |
void | setRange (int begin, int end) |
Sets the range of nodes that should be displayed by this list visualization to start with the node at location begin and end before the node at location end. More... | |
virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Static Private Member Functions | |
static QList< Visualization::VisualizationAddOn * > & | staticAddOns () |
Private Attributes | |
Visualization::Static * | emptyTip_ {} |
int | rangeBegin_ {} |
int | rangeEnd_ {} |
bool | suppressDefaultCopyPasteHandler_ {} |
bool | suppressDefaultRemovalHandler_ {} |
Static Private Attributes | |
static Visualization::InteractionHandler * | defaultClassHandler_ = nullptr |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::VList::VList | ( | Item * | parent, |
NodeType * | node, | ||
const StyleType * | style = itemStyles().get() |
||
) |
|
static |
|
overridevirtual |
|
inlinestatic |
|
overridevirtual |
|
protectedvirtual |
Called during determineChildren() in order to determine which nodes should be shown.
The default implementation sets the range to cover all nodes. Override this in a derived class and call setRange() in order to control the range of displayed nodes.
|
inline |
|
inline |
|
overridevirtual |
|
overridevirtual |
int Visualization::VList::indexOfChildOrSubChild | ( | const Item * | item | ) | const |
|
static |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
inline |
|
overridevirtual |
|
static |
|
inlinestatic |
|
protected |
Sets the range of nodes that should be displayed by this list visualization to start with the node at location begin and end before the node at location end.
VList can display whole lists or a continuous subpart of a list. Use this method to set what part of the nodes should be set.
|
overridevirtual |
|
inline |
|
inline |
|
inline |
|
staticprivate |
|
inline |
|
inline |
|
overrideprotectedvirtual |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |