Dee.ProxyModel

g Dee.Model Dee.Model Dee.SerializableModel Dee.SerializableModel Dee.Model->Dee.SerializableModel Dee.ProxyModel Dee.ProxyModel Dee.Serializable Dee.Serializable Dee.Serializable->Dee.SerializableModel Dee.SerializableModel->Dee.ProxyModel GObject.GInterface GObject.GInterface GObject.GInterface->Dee.Model GObject.GInterface->Dee.Serializable GObject.Object GObject.Object GObject.Object->Dee.SerializableModel

Subclasses:

Dee.FilterModel, Dee.SharedModel

Methods

Inherited:

Dee.SerializableModel (3), GObject.Object (37), Dee.Model (48), Dee.Serializable (4)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GObject.Object (7), Dee.Model (50), Dee.Serializable (1)

Properties

Name

Type

Flags

Short Description

back-end

Dee.Model

r/w/co

Back end model

inherit-seqnums

bool

r/w/co

Whether or not to inherit seqnums

proxy-signals

bool

r/w/co

Whether or not to automatically forward signals from the back end

Signals

Inherited:

GObject.Object (1), Dee.Model (5)

Fields

Inherited:

GObject.Object (1), Dee.Model (5)

Name

Type

Access

Description

parent

Dee.SerializableModel

r

priv

Dee.ProxyModelPrivate

r

Class Details

class Dee.ProxyModel(**kwargs)
Bases:

Dee.SerializableModel

Abstract:

No

Structure:

Dee.ProxyModelClass

All fields in the Dee.ProxyModel structure are private and should never be accessed directly

Property Details

Dee.ProxyModel.props.back_end
Name:

back-end

Type:

Dee.Model

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The backend model used by this proxy model.

Dee.ProxyModel.props.inherit_seqnums
Name:

inherit-seqnums

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Boolean property defining whether sequence numbers will be inherited from the back end model. You will most likely want to set this property to false if the implementation manipulates with the rows in the model and keep track of seqnums yourself.

Dee.ProxyModel.props.proxy_signals
Name:

proxy-signals

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Boolean property defining whether or not to automatically forward signals from the back end model. This is especially useful for sub classes wishing to do their own more advanced signal forwarding.