RWESharp.Loaders.Prop

Classes

Prop(item, name, type, repeatl, description, ...)

PropCategory(name, color, props)

Props(categories)

class RWESharp.Loaders.Prop.Prop(item: 'dict', name: 'str', type: 'str', repeatl: 'list[int]', description: 'str', images: 'list[QImage]', colorTreatment: 'str', vars: 'int', color: 'QColor', cat: 'QPoint', tags: 'list[str]', err: 'bool', category: 'PropCategory', notes: 'list[str]', size: 'QSize', layerExceptions: 'list' = <class 'list'>, beveltable: 'None | list[int]' = None, rope: 'bool' = False, long: 'bool' = False)[source]
Parameters:
item: dict
name: str
type: str
repeatl: list[int]
description: str
images: list[QImage]
colorTreatment: str
vars: int
color: QColor
cat: QPoint
tags: list[str]
err: bool
category: PropCategory
notes: list[str]
size: QSize
layerExceptions

alias of list

beveltable: None | list[int] = None
rope: bool = False
long: bool = False
property colorable
get(key, default=None)[source]
copy()[source]
class RWESharp.Loaders.Prop.PropCategory(name: 'str', color: 'QColor', props: 'list[Prop]')[source]
Parameters:
name: str
color: QColor
props: list[Prop]
find_prop(name) Prop | None[source]
Return type:

Prop | None

class RWESharp.Loaders.Prop.Props(categories)[source]
default = Prop(item={}, name='None', type='standard', repeatl=[1], description='No Description', images=[<PySide6.QtGui.QImage(QSize(10, 10),format=QImage::Format_RGBA64,depth=64,devicePixelRatio=1,bytesPerLine=80,sizeInBytes=800)>], colorTreatment='none', vars=1, color=PySide6.QtGui.QColor.fromRgbF(1.000000, 0.000000, 0.000000, 1.000000), cat=PySide6.QtCore.QPoint(0, 0), tags=[], err=True, category=None, notes=[], size=PySide6.QtCore.QSize(1, 1), layerExceptions=<class 'list'>, beveltable=None, rope=False, long=False)
propschanged
property categories: list[PropCategory]
find_prop(name) Prop | None[source]
Return type:

Prop | None

find_category(name) PropCategory | None[source]
Return type:

PropCategory | None

all_props() list[Prop][source]
Return type:

list[Prop]

add_custom_props()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("Props" inherits "QObject": Methods:   #4 type=Signal, signature=propschanged() )