OpenShot Video Editor  2.0.0
Public Member Functions | Public Attributes | List of all members
query.QueryObject Class Reference

This class allows one or more project data objects to be queried. More...

Inheritance diagram for query.QueryObject:
query.Clip query.Effect query.File query.Marker query.Track query.Transition

Public Member Functions

def __init__
 Constructor. More...
 
def delete
 Delete the object from the project data store. More...
 
def filter
 Take any arguments given as filters, and find a list of matching objects. More...
 
def get
 Take any arguments given as filters, and find the first matching object. More...
 
def save
 Save the object back to the project data store. More...
 
def title
 Get the translated display title of this item. More...
 

Public Attributes

 data
 
 id
 
 key
 
 parent
 
 type
 

Detailed Description

This class allows one or more project data objects to be queried.

Definition at line 44 of file query.py.

Constructor & Destructor Documentation

def query.QueryObject.__init__ (   self)

Constructor.

Definition at line 48 of file query.py.

Member Function Documentation

def query.QueryObject.delete (   self,
  OBJECT_TYPE 
)

Delete the object from the project data store.

Definition at line 87 of file query.py.

def query.QueryObject.filter (   OBJECT_TYPE,
  kwargs 
)

Take any arguments given as filters, and find a list of matching objects.

Definition at line 103 of file query.py.

def query.QueryObject.get (   OBJECT_TYPE,
  kwargs 
)

Take any arguments given as filters, and find the first matching object.

Definition at line 140 of file query.py.

def query.QueryObject.save (   self,
  OBJECT_TYPE 
)

Save the object back to the project data store.

Definition at line 58 of file query.py.

def query.QueryObject.title (   self)

Get the translated display title of this item.

Definition at line 97 of file query.py.

Member Data Documentation

query.QueryObject.data

Definition at line 52 of file query.py.

query.QueryObject.id

Definition at line 50 of file query.py.

query.QueryObject.key

Definition at line 51 of file query.py.

query.QueryObject.parent

Definition at line 53 of file query.py.

query.QueryObject.type

Definition at line 54 of file query.py.


The documentation for this class was generated from the following file: