item-properties

0th

Percentile

Item properties

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.
Aliases
  • qsetItemFlags
  • qsetTextItemInteraction
Documentation reproduced from package qtpaint, version 1.1.0, License: GPL version 2 or later

Community examples

Looks like there are no examples yet.