Skip to content

# `flModelProducer`

## fontlab.flModelProducer = class flModelProducer(object)

      flModelProducer representation

      Constructors:
        flModelProducer()
        flModelProducer(flModelProducer)
        flModelProducer(flObject)
        flModelProducer(flCanvas)

#### 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

changed(...)

      changed()

checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

clearFlag(...)

      clearFlag(uint f)

clearFlags(...)

      clearFlags()

clone(...)

      Clone the object

createHistoryState(...)

      createHistoryState(uint history_ix)

currentHistoryState(...)

      currentHistoryIx()

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)

historyStates(...)

      historyStates(bool accepted_state)

independedAll(...)

      independedAll()

initialHistoryState(...)

      initialHistoryIx()

isEqual(...)

      isEqual(flObject)

release(...)

      release()

remove(...)

      remove([flObject])

removeChild(...)

      removeChild(flObject)

removeProperty(...)

      removeProperty('key')

restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

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'

tag(...)

      tag([string])

update(...)

      update()

#### Static methods

cloneObject(...)

      flObject cloneObject(const flObject&);

copyToClipboard(...)

      copyToClipboard(objId package_id, QList objects)

countGlyphsInData(...)

      int countGlyphsInData(QByteArray *data)

createObject(...)

      flObject/Nothing createObject(int);

getClipboardData(...)

      QByteArray getClipboardData(objId package_id, QList)

getObjectsFromClipboard(...)

      flObjects/Nothing getObjectsFromClipboard()

getObjectsFromData(...)

      flObjects/Nothing getObjectsFromData(QByteArray *data)

haveObject(...)

      bool haveObject(uint);

instanceType(...)

      int instanceType();

#### Descriptors

hasChanges

      bool

hasHistoryStates

      bool

id

      object id

isChanged

      bool

isNull

      bool

isPresent

      bool

isReleased

      bool

isValid

      bool

name

      object name

refCnt

      object references count

type

      object type

#### Attributes

__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}

## `changed`

fontlab.flModelProducer.changed = changed(...)

      changed()

## `checkInitHistoryState`

fontlab.flModelProducer.checkInitHistoryState = checkInitHistoryState(...)

      checkInitHistoryState(uint history_ix)

## `clearAboveHistory`

fontlab.flModelProducer.clearAboveHistory = clearAboveHistory(...)

      clearAboveHistory(uint history_ix)

## `clearFlag`

fontlab.flModelProducer.clearFlag = clearFlag(...)

      clearFlag(uint f)

## `clearFlags`

fontlab.flModelProducer.clearFlags = clearFlags(...)

      clearFlags()

## `clone`

fontlab.flModelProducer.clone = clone(...)

      Clone the object

## `cloneObject`

fontlab.flModelProducer.cloneObject = cloneObject(...)

      flObject cloneObject(const flObject&);

## `copyToClipboard`

fontlab.flModelProducer.copyToClipboard = copyToClipboard(...)

      copyToClipboard(objId package_id, QList objects)

## `countGlyphsInData`

fontlab.flModelProducer.countGlyphsInData = countGlyphsInData(...)

      int countGlyphsInData(QByteArray *data)

## `createHistoryState`

fontlab.flModelProducer.createHistoryState = createHistoryState(...)

      createHistoryState(uint history_ix)

## `createObject`

fontlab.flModelProducer.createObject = createObject(...)

      flObject/Nothing createObject(int);

## `currentHistoryState`

fontlab.flModelProducer.currentHistoryState = currentHistoryState(...)

      currentHistoryIx()

## `flag`

fontlab.flModelProducer.flag = flag(...)

      flag(uint f)

## `flObjectFlags`

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

## `getClipboardData`

fontlab.flModelProducer.getClipboardData = getClipboardData(...)

      QByteArray getClipboardData(objId package_id, QList)

## `getObjectsFromClipboard`

fontlab.flModelProducer.getObjectsFromClipboard = getObjectsFromClipboard(...)

      flObjects/Nothing getObjectsFromClipboard()

## `getObjectsFromData`

fontlab.flModelProducer.getObjectsFromData = getObjectsFromData(...)

      flObjects/Nothing getObjectsFromData(QByteArray *data)

## `getProperties`

fontlab.flModelProducer.getProperties = getProperties(...)

      Get object's properties list

## `getProperty`

fontlab.flModelProducer.getProperty = getProperty(...)

      getProperty('key') - get object property by 'key' or number

## `getPropertyFloat`

fontlab.flModelProducer.getPropertyFloat = getPropertyFloat(...)

      getPropertyFloat('key') - get float object property by 'key'

## `getPropertyInt`

fontlab.flModelProducer.getPropertyInt = getPropertyInt(...)

      getPropertyInt('key') - get int object property by 'key'

## `hasChanges`

fontlab.flModelProducer.hasChanges

      bool

## `hasHistoryState`

fontlab.flModelProducer.hasHistoryState = hasHistoryState(...)

      hasHistoryState(uint history_ix)

## `hasHistoryStates`

fontlab.flModelProducer.hasHistoryStates

      bool

## `haveObject`

fontlab.flModelProducer.haveObject = haveObject(...)

      bool haveObject(uint);

## `historyStates`

fontlab.flModelProducer.historyStates = historyStates(...)

      historyStates(bool accepted_state)

## `id`

fontlab.flModelProducer.id

      object id

## `independedAll`

fontlab.flModelProducer.independedAll = independedAll(...)

      independedAll()

## `initialHistoryState`

fontlab.flModelProducer.initialHistoryState = initialHistoryState(...)

      initialHistoryIx()

## `instanceType`

fontlab.flModelProducer.instanceType = instanceType(...)

      int instanceType();

## `isChanged`

fontlab.flModelProducer.isChanged

      bool

## `isEqual`

fontlab.flModelProducer.isEqual = isEqual(...)

      isEqual(flObject)

## `isNull`

fontlab.flModelProducer.isNull

      bool

## `isPresent`

fontlab.flModelProducer.isPresent

      bool

## `isReleased`

fontlab.flModelProducer.isReleased

      bool

## `isValid`

fontlab.flModelProducer.isValid

      bool

## `name`

fontlab.flModelProducer.name

      object name

## `refCnt`

fontlab.flModelProducer.refCnt

      object references count

## `release`

fontlab.flModelProducer.release = release(...)

      release()

## `remove`

fontlab.flModelProducer.remove = remove(...)

      remove([flObject])

## `removeChild`

fontlab.flModelProducer.removeChild = removeChild(...)

      removeChild(flObject)

## `removeProperty`

fontlab.flModelProducer.removeProperty = removeProperty(...)

      removeProperty('key')

## `restoreHistoryState`

fontlab.flModelProducer.restoreHistoryState = restoreHistoryState(...)

      restoreHistoryState(uint history_ix)

## `setFlag`

fontlab.flModelProducer.setFlag = setFlag(...)

      setFlag(uint f [, bool value])

## `setProperty`

fontlab.flModelProducer.setProperty = setProperty(...)

      setProperty('key', value) - set object property by 'key' or number

## `setPropertyFloat`

fontlab.flModelProducer.setPropertyFloat = setPropertyFloat(...)

      setPropertyFloat('key', value) - set float object property by 'key'

## `setPropertyInt`

fontlab.flModelProducer.setPropertyInt = setPropertyInt(...)

      setPropertyInt('key', value) - set int object property by 'key'

## `tag`

fontlab.flModelProducer.tag = tag(...)

      tag([string])

## `type`

fontlab.flModelProducer.type

      object type

## `update`

fontlab.flModelProducer.update = update(...)

      update()