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

Title Editor Dialog. More...

Inheritance diagram for title_editor.TitleEditor:

Public Member Functions

def __init__
 
def accept
 
def add_file
 
def btnAdvanced_clicked
 
def btnBackgroundColor_clicked
 
def btnFont_clicked
 
def btnFontColor_clicked
 
def create_temp_title
 
def display_svg
 
def find_in_list
 when passed a partial value, function will return the list index More...
 
def load_svg_template
 Load an SVG title and init all textboxes and controls. More...
 
def set_bg_style
 sets the background color More...
 
def set_font_color_elements
 
def set_font_style
 sets the font properties More...
 
def txtLine_changed
 
def update_background_color_button
 Updates the color shown on the background color button. More...
 
def update_font_color_button
 Updates the color shown on the font color button. More...
 
def writeToFile
 writes a new svg file containing the user edited data More...
 

Public Attributes

 app
 
 bg_color_code
 
 bg_style_string
 
 btnAdvanced
 
 btnBackgroundColor
 
 btnFont
 
 btnFontColor
 
 display_name
 
 duplicate
 
 edit_file_path
 
 filename
 
 font_color_code
 
 font_family
 
 font_style
 
 font_weight
 
 new_title_text
 
 project
 
 rect_node
 
 sub_title_text
 
 subTitle
 
 subtitle_style_string
 
 template_name
 
 text_fields
 
 text_node
 
 title_style_string
 
 titlesTreeView
 
 tspan_node
 
 txtFileName
 
 xmldoc
 

Static Public Attributes

tuple ui_path = os.path.join(info.PATH, 'windows', 'ui', 'title-editor.ui')
 

Detailed Description

Title Editor Dialog.

Definition at line 59 of file title_editor.py.

Constructor & Destructor Documentation

def title_editor.TitleEditor.__init__ (   self,
  edit_file_path = None,
  duplicate = False 
)

Definition at line 64 of file title_editor.py.

Member Function Documentation

def title_editor.TitleEditor.accept (   self)

Definition at line 576 of file title_editor.py.

def title_editor.TitleEditor.add_file (   self,
  filepath 
)

Definition at line 614 of file title_editor.py.

def title_editor.TitleEditor.btnAdvanced_clicked (   self)

Definition at line 652 of file title_editor.py.

def title_editor.TitleEditor.btnBackgroundColor_clicked (   self)

Definition at line 323 of file title_editor.py.

def title_editor.TitleEditor.btnFont_clicked (   self)

Definition at line 342 of file title_editor.py.

def title_editor.TitleEditor.btnFontColor_clicked (   self)

Definition at line 304 of file title_editor.py.

def title_editor.TitleEditor.create_temp_title (   self,
  template_path 
)

Definition at line 159 of file title_editor.py.

def title_editor.TitleEditor.display_svg (   self)

Definition at line 150 of file title_editor.py.

def title_editor.TitleEditor.find_in_list (   self,
  l,
  value 
)

when passed a partial value, function will return the list index

Definition at line 365 of file title_editor.py.

def title_editor.TitleEditor.load_svg_template (   self)

Load an SVG title and init all textboxes and controls.

Definition at line 172 of file title_editor.py.

def title_editor.TitleEditor.set_bg_style (   self,
  color,
  alpha 
)

sets the background color

Definition at line 512 of file title_editor.py.

def title_editor.TitleEditor.set_font_color_elements (   self,
  color,
  alpha 
)

Definition at line 536 of file title_editor.py.

def title_editor.TitleEditor.set_font_style (   self)

sets the font properties

Definition at line 462 of file title_editor.py.

def title_editor.TitleEditor.txtLine_changed (   self,
  txtWidget 
)

Definition at line 127 of file title_editor.py.

def title_editor.TitleEditor.update_background_color_button (   self)

Updates the color shown on the background color button.

Definition at line 416 of file title_editor.py.

def title_editor.TitleEditor.update_font_color_button (   self)

Updates the color shown on the font color button.

Definition at line 372 of file title_editor.py.

def title_editor.TitleEditor.writeToFile (   self,
  xmldoc 
)

writes a new svg file containing the user edited data

Definition at line 293 of file title_editor.py.

Member Data Documentation

title_editor.TitleEditor.app

Definition at line 69 of file title_editor.py.

title_editor.TitleEditor.bg_color_code

Definition at line 91 of file title_editor.py.

title_editor.TitleEditor.bg_style_string

Definition at line 94 of file title_editor.py.

title_editor.TitleEditor.btnAdvanced

Definition at line 272 of file title_editor.py.

title_editor.TitleEditor.btnBackgroundColor

Definition at line 263 of file title_editor.py.

title_editor.TitleEditor.btnFont

Definition at line 245 of file title_editor.py.

title_editor.TitleEditor.btnFontColor

Definition at line 254 of file title_editor.py.

title_editor.TitleEditor.display_name

Definition at line 105 of file title_editor.py.

title_editor.TitleEditor.duplicate

Definition at line 72 of file title_editor.py.

title_editor.TitleEditor.edit_file_path

Definition at line 71 of file title_editor.py.

title_editor.TitleEditor.filename

Definition at line 162 of file title_editor.py.

title_editor.TitleEditor.font_color_code

Definition at line 92 of file title_editor.py.

title_editor.TitleEditor.font_family

Definition at line 106 of file title_editor.py.

title_editor.TitleEditor.font_style

Definition at line 99 of file title_editor.py.

title_editor.TitleEditor.font_weight

Definition at line 98 of file title_editor.py.

title_editor.TitleEditor.new_title_text

Definition at line 101 of file title_editor.py.

title_editor.TitleEditor.project

Definition at line 70 of file title_editor.py.

title_editor.TitleEditor.rect_node

Definition at line 193 of file title_editor.py.

title_editor.TitleEditor.sub_title_text

Definition at line 102 of file title_editor.py.

title_editor.TitleEditor.subTitle

Definition at line 103 of file title_editor.py.

title_editor.TitleEditor.subtitle_style_string

Definition at line 96 of file title_editor.py.

title_editor.TitleEditor.template_name

Definition at line 87 of file title_editor.py.

title_editor.TitleEditor.text_fields

Definition at line 181 of file title_editor.py.

title_editor.TitleEditor.text_node

Definition at line 192 of file title_editor.py.

title_editor.TitleEditor.title_style_string

Definition at line 95 of file title_editor.py.

title_editor.TitleEditor.titlesTreeView

Definition at line 110 of file title_editor.py.

title_editor.TitleEditor.tspan_node

Definition at line 107 of file title_editor.py.

title_editor.TitleEditor.txtFileName

Definition at line 202 of file title_editor.py.

tuple title_editor.TitleEditor.ui_path = os.path.join(info.PATH, 'windows', 'ui', 'title-editor.ui')
static

Definition at line 62 of file title_editor.py.

title_editor.TitleEditor.xmldoc

Definition at line 89 of file title_editor.py.


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