flVisualItem

fontlab.flVisualItem = class flVisualItem(object)

flVisualItem representation

Constructors:
  flVisualItem()
  flVisualItem(flVisualItem)
  flVisualItem(flObject)
  flVisualItem(objId id)

Methods

__delattr__(...)
x.__delattr__('name') <==> del x.name
__eq__(...)
x.__eq__(y) <==> x==y
__ge__(...)
x.__ge__(y) <==> x>=y
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__gt__(...)
x.__gt__(y) <==> x>y
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__le__(...)
x.__le__(y) <==> x<=y
__lt__(...)
x.__lt__(y) <==> x

__ne__(...)
x.__ne__(y) <==> x!=y
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
acceptEvents(...)
int acceptEvents()
activateEditor(...)
void activateEditor(QPointF canvas_pos)
addedToCanvas(...)
void addedToCanvas(flCanvas)
adjustCanvasPosition(...)
QPointF adjustCanvasPosition(QPointF)
adjustPosition(...)
QPointF | double adjustPosition(QPointF | double)
appendDecorator(...)
void appendDecorator(flVisualItem, DecoratorOrder)
boundingRectOnCanvas(...)
QRectF boundingRectOnCanvas(
canvas(...)
flCanvas canvas()
changed(...)
changed()
checkInitHistoryState(...)
checkInitHistoryState(uint history_ix)
clearAboveHistory(...)
clearAboveHistory(uint history_ix)
clearDecorators(...)
clearDecorators()
clearFlag(...)
clearFlag(uint f)
clearFlags(...)
clearFlags()
clearItems(...)
clearItems()
clone(...)
Clone the object
contain(...)
bool contain(QPointF canvas_pos)
containsItem(...)
bool containsItem(flVisualItem)
createHistoryState(...)
createHistoryState(uint history_ix)
currentHistoryState(...)
currentHistoryIx()
deactivateEditor(...)
deactivateEditor()
distanceTo(...)
double distanceTo(QPointF)
flag(...)
flag(uint f)
getProperties(...)
Get object's properties list
getProperty(...)
getProperty('key') - get object property by 'key' or number
getPropertyFloat(...)
getPropertyFloat('key') - get float object property by 'key'
getPropertyInt(...)
getPropertyInt('key') - get int object property by 'key'
hasHistoryState(...)
hasHistoryState(uint history_ix)
haveCanvas(...)
bool haveCanvas()
haveEditor(...)
bool haveEditor(QPointF canvas_pos)
hide(...)
hide()
historyStates(...)
historyStates(bool accepted_state)
independedAll(...)
independedAll()
initialHistoryState(...)
initialHistoryIx()
invselect(...)
invselect()
isEqual(...)
isEqual(flObject)
isSelectable(...)
bool isSelectable()
isStableSelect(...)
bool isStableSelect()
itemScale(...)
double itemScale()
mapCanvasDistanceToItem(...)
QPointF mapCanvasDistanceToItem(QPointF)
mapCanvasToItem(...)
QPointF | QRectF mapCanvasToItem(QPointF | QRectF)
mapItemToCanvas(...)
QPointF | QRectF mapItemToCanvas(QPointF | QRectF)
metricStep(...)
double metricStep()
move(...)
void move(QPointF)
paint(...)
void paint(QPainter*)
preview(...)
preview()
referencePoint(...)
QPointF referencePoint()
release(...)
release()
remove(...)
remove([flObject])
removeChild(...)
removeChild(flObject)
removeDecorator(...)
void removeDecorator(flVisualItem)
removeItem(...)
void removeItem(flVisualItem)
removeProperty(...)
removeProperty('key')
removedFromCanvas(...)
removedFromCanvas()
restoreHistoryState(...)
restoreHistoryState(uint history_ix)
select(...)
select()
setFlag(...)
setFlag(uint f [, bool value])
setProperty(...)
setProperty('key', value) - set object property by 'key' or number
setPropertyFloat(...)
setPropertyFloat('key', value) - set float object property by 'key'
setPropertyInt(...)
setPropertyInt('key', value) - set int object property by 'key'
show(...)
show()
tag(...)
tag([string])
unselect(...)
unselect()
update(...)
update()

Static methods

cloneObject(...)
flObject cloneObject(const flObject&);
createObject(...)
flObject/Nothing createObject(int);
haveObject(...)
bool haveObject(uint);
instanceAcceptEvents(...)
int instanceAcceptEvents()
instanceType(...)
int instanceType();

Descriptors

hasChanges
bool
hasHistoryStates
bool
hovered
bool
id
object id
isChanged
bool
isNull
bool
isPresent
bool
isReleased
bool
isValid
bool
locked
bool
name
object name
opacity
double
owner
flVisualItem
refCnt
object references count
selected
bool
transform
QTransform
type
object type
visible
bool

Attributes

Listeners = {'ClickListener': 8, 'DragListener': 4, 'HoverListener': 1, 'MoveListener': 2}
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

acceptEvents

fontlab.flVisualItem.acceptEvents = acceptEvents(...)
int acceptEvents()

activateEditor

fontlab.flVisualItem.activateEditor = activateEditor(...)
void activateEditor(QPointF canvas_pos)

addedToCanvas

fontlab.flVisualItem.addedToCanvas = addedToCanvas(...)
void addedToCanvas(flCanvas)

adjustCanvasPosition

fontlab.flVisualItem.adjustCanvasPosition = adjustCanvasPosition(...)
QPointF adjustCanvasPosition(QPointF)

adjustPosition

fontlab.flVisualItem.adjustPosition = adjustPosition(...)
QPointF | double adjustPosition(QPointF | double)

appendDecorator

fontlab.flVisualItem.appendDecorator = appendDecorator(...)
void appendDecorator(flVisualItem, DecoratorOrder)

boundingRectOnCanvas

fontlab.flVisualItem.boundingRectOnCanvas = boundingRectOnCanvas(...)
QRectF boundingRectOnCanvas(

canvas

fontlab.flVisualItem.canvas = canvas(...)
flCanvas canvas()

changed

fontlab.flVisualItem.changed = changed(...)
changed()

checkInitHistoryState

fontlab.flVisualItem.checkInitHistoryState = checkInitHistoryState(...)
checkInitHistoryState(uint history_ix)

clearAboveHistory

fontlab.flVisualItem.clearAboveHistory = clearAboveHistory(...)
clearAboveHistory(uint history_ix)

clearDecorators

fontlab.flVisualItem.clearDecorators = clearDecorators(...)
clearDecorators()

clearFlag

fontlab.flVisualItem.clearFlag = clearFlag(...)
clearFlag(uint f)

clearFlags

fontlab.flVisualItem.clearFlags = clearFlags(...)
clearFlags()

clearItems

fontlab.flVisualItem.clearItems = clearItems(...)
clearItems()

clone

fontlab.flVisualItem.clone = clone(...)
Clone the object

cloneObject

fontlab.flVisualItem.cloneObject = cloneObject(...)
flObject cloneObject(const flObject&);

contain

fontlab.flVisualItem.contain = contain(...)
bool contain(QPointF canvas_pos)

containsItem

fontlab.flVisualItem.containsItem = containsItem(...)
bool containsItem(flVisualItem)

createHistoryState

fontlab.flVisualItem.createHistoryState = createHistoryState(...)
createHistoryState(uint history_ix)

createObject

fontlab.flVisualItem.createObject = createObject(...)
flObject/Nothing createObject(int);

currentHistoryState

fontlab.flVisualItem.currentHistoryState = currentHistoryState(...)
currentHistoryIx()

deactivateEditor

fontlab.flVisualItem.deactivateEditor = deactivateEditor(...)
deactivateEditor()

distanceTo

fontlab.flVisualItem.distanceTo = distanceTo(...)
double distanceTo(QPointF)

flag

fontlab.flVisualItem.flag = flag(...)
flag(uint f)

flObjectFlags

fontlab.flVisualItem.flObjectFlags = {'ofAnchored': 64, 'ofChanged': 2, 'ofHistory': 128, 'ofIgnore': 8, 'ofIgnoreChanges': 4, 'ofPassive': 16, 'ofReleased': 1, 'ofSlowUpdate': 32}

getProperties

fontlab.flVisualItem.getProperties = getProperties(...)
Get object's properties list

getProperty

fontlab.flVisualItem.getProperty = getProperty(...)
getProperty('key') - get object property by 'key' or number

getPropertyFloat

fontlab.flVisualItem.getPropertyFloat = getPropertyFloat(...)
getPropertyFloat('key') - get float object property by 'key'

getPropertyInt

fontlab.flVisualItem.getPropertyInt = getPropertyInt(...)
getPropertyInt('key') - get int object property by 'key'

hasChanges

fontlab.flVisualItem.hasChanges
bool

hasHistoryState

fontlab.flVisualItem.hasHistoryState = hasHistoryState(...)
hasHistoryState(uint history_ix)

hasHistoryStates

fontlab.flVisualItem.hasHistoryStates
bool

haveCanvas

fontlab.flVisualItem.haveCanvas = haveCanvas(...)
bool haveCanvas()

haveEditor

fontlab.flVisualItem.haveEditor = haveEditor(...)
bool haveEditor(QPointF canvas_pos)

haveObject

fontlab.flVisualItem.haveObject = haveObject(...)
bool haveObject(uint);

hide

fontlab.flVisualItem.hide = hide(...)
hide()

historyStates

fontlab.flVisualItem.historyStates = historyStates(...)
historyStates(bool accepted_state)

hovered

fontlab.flVisualItem.hovered
bool

id

fontlab.flVisualItem.id
object id

independedAll

fontlab.flVisualItem.independedAll = independedAll(...)
independedAll()

initialHistoryState

fontlab.flVisualItem.initialHistoryState = initialHistoryState(...)
initialHistoryIx()

instanceAcceptEvents

fontlab.flVisualItem.instanceAcceptEvents = instanceAcceptEvents(...)
int instanceAcceptEvents()

instanceType

fontlab.flVisualItem.instanceType = instanceType(...)
int instanceType();

invselect

fontlab.flVisualItem.invselect = invselect(...)
invselect()

isChanged

fontlab.flVisualItem.isChanged
bool

isEqual

fontlab.flVisualItem.isEqual = isEqual(...)
isEqual(flObject)

isNull

fontlab.flVisualItem.isNull
bool

isPresent

fontlab.flVisualItem.isPresent
bool

isReleased

fontlab.flVisualItem.isReleased
bool

isSelectable

fontlab.flVisualItem.isSelectable = isSelectable(...)
bool isSelectable()

isStableSelect

fontlab.flVisualItem.isStableSelect = isStableSelect(...)
bool isStableSelect()

isValid

fontlab.flVisualItem.isValid
bool

itemScale

fontlab.flVisualItem.itemScale = itemScale(...)
double itemScale()

Listeners

fontlab.flVisualItem.Listeners = {'ClickListener': 8, 'DragListener': 4, 'HoverListener': 1, 'MoveListener': 2}

locked

fontlab.flVisualItem.locked
bool

mapCanvasDistanceToItem

fontlab.flVisualItem.mapCanvasDistanceToItem = mapCanvasDistanceToItem(...)
QPointF mapCanvasDistanceToItem(QPointF)

mapCanvasToItem

fontlab.flVisualItem.mapCanvasToItem = mapCanvasToItem(...)
QPointF | QRectF mapCanvasToItem(QPointF | QRectF)

mapItemToCanvas

fontlab.flVisualItem.mapItemToCanvas = mapItemToCanvas(...)
QPointF | QRectF mapItemToCanvas(QPointF | QRectF)

metricStep

fontlab.flVisualItem.metricStep = metricStep(...)
double metricStep()

move

fontlab.flVisualItem.move = move(...)
void move(QPointF)

name

fontlab.flVisualItem.name
object name

opacity

fontlab.flVisualItem.opacity
double

owner

fontlab.flVisualItem.owner
flVisualItem

paint

fontlab.flVisualItem.paint = paint(...)
void paint(QPainter*)

preview

fontlab.flVisualItem.preview = preview(...)
preview()

refCnt

fontlab.flVisualItem.refCnt
object references count

referencePoint

fontlab.flVisualItem.referencePoint = referencePoint(...)
QPointF referencePoint()

release

fontlab.flVisualItem.release = release(...)
release()

remove

fontlab.flVisualItem.remove = remove(...)
remove([flObject])

removeChild

fontlab.flVisualItem.removeChild = removeChild(...)
removeChild(flObject)

removeDecorator

fontlab.flVisualItem.removeDecorator = removeDecorator(...)
void removeDecorator(flVisualItem)

removedFromCanvas

fontlab.flVisualItem.removedFromCanvas = removedFromCanvas(...)
removedFromCanvas()

removeItem

fontlab.flVisualItem.removeItem = removeItem(...)
void removeItem(flVisualItem)

removeProperty

fontlab.flVisualItem.removeProperty = removeProperty(...)
removeProperty('key')

restoreHistoryState

fontlab.flVisualItem.restoreHistoryState = restoreHistoryState(...)
restoreHistoryState(uint history_ix)

select

fontlab.flVisualItem.select = select(...)
select()

selected

fontlab.flVisualItem.selected
bool

setFlag

fontlab.flVisualItem.setFlag = setFlag(...)
setFlag(uint f [, bool value])

setProperty

fontlab.flVisualItem.setProperty = setProperty(...)
setProperty('key', value) - set object property by 'key' or number

setPropertyFloat

fontlab.flVisualItem.setPropertyFloat = setPropertyFloat(...)
setPropertyFloat('key', value) - set float object property by 'key'

setPropertyInt

fontlab.flVisualItem.setPropertyInt = setPropertyInt(...)
setPropertyInt('key', value) - set int object property by 'key'

show

fontlab.flVisualItem.show = show(...)
show()

tag

fontlab.flVisualItem.tag = tag(...)
tag([string])

transform

fontlab.flVisualItem.transform
QTransform

type

fontlab.flVisualItem.type
object type

unselect

fontlab.flVisualItem.unselect = unselect(...)
unselect()

update

fontlab.flVisualItem.update = update(...)
update()

visible

fontlab.flVisualItem.visible
bool