qtpaint (version 1.1.0)

item-properties: Item properties

Description

Set properties of all items in a scene. Fast path for when a scene contains many items.

Usage

qsetItemFlags(x, flag=Qt$QGraphicsItem$ItemIsMovable, status=FALSE)
qsetTextItemInteraction(x, mode=c("none", "editor", "browser"))

Arguments

x
The scene, a C++ QGraphicsScene
flag
A value or combination of values from the QGraphicsItem::GraphicsItemFlag enumeration
status
Whether the flag should be set to TRUE or FALSE
mode
Whether a text item (C++ QGraphicsTextItem) should behave as a text editor, text browser, or not allow interaction.