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

This class allows Clips to be queried, updated, and deleted from the project data. More...

Inheritance diagram for query.Clip:
query.QueryObject

Public Member Functions

def delete (self)
 Delete the object from the project data store. More...
 
def filter (kwargs)
 Take any arguments given as filters, and find a list of matching objects. More...
 
def get (kwargs)
 Take any arguments given as filters, and find the first matching object. More...
 
def save (self)
 Save the object back to the project data store. More...
 
def title (self)
 Get the translated display title of this item. More...
 
- Public Member Functions inherited from query.QueryObject
def __init__ (self)
 Constructor. More...
 
def delete (self, OBJECT_TYPE)
 Delete the object from the project data store. More...
 
def filter (OBJECT_TYPE, kwargs)
 Take any arguments given as filters, and find a list of matching objects. More...
 
def get (OBJECT_TYPE, kwargs)
 Take any arguments given as filters, and find the first matching object. More...
 
def save (self, OBJECT_TYPE)
 Save the object back to the project data store. More...
 
def title (self)
 Get the translated display title of this item. More...
 

Static Public Attributes

list object_key = [object_name]
 
string object_name = "clips"
 

Additional Inherited Members

- Public Attributes inherited from query.QueryObject
 data
 
 id
 
 key
 
 parent
 
 type
 

Detailed Description

This class allows Clips to be queried, updated, and deleted from the project data.

Definition at line 153 of file query.py.

Member Function Documentation

◆ delete()

def query.Clip.delete (   self)

Delete the object from the project data store.

Definition at line 164 of file query.py.

◆ filter()

def query.Clip.filter (   kwargs)

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

Definition at line 169 of file query.py.

◆ get()

def query.Clip.get (   kwargs)

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

Definition at line 174 of file query.py.

◆ save()

def query.Clip.save (   self)

Save the object back to the project data store.

Definition at line 159 of file query.py.

◆ title()

def query.Clip.title (   self)

Get the translated display title of this item.

Definition at line 179 of file query.py.

Member Data Documentation

◆ object_key

list query.Clip.object_key = [object_name]
static

Definition at line 155 of file query.py.

◆ object_name

string query.Clip.object_name = "clips"
static

Definition at line 154 of file query.py.


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