OpenShot Video Editor  2.0.0
Import_image_seq.py
Go to the documentation of this file.
1 ##
2 #
3 # @file
4 # @brief This file loads the import images sequences dialog (i.e add an image sequence)
5 # @author Jonathan Thomas <jonathan@openshot.org>
6 # @author Olivier Girard <olivier@openshot.org>
7 #
8 # @section LICENSE
9 #
10 # Copyright (c) 2008-2016 OpenShot Studios, LLC
11 # (http://www.openshotstudios.com). This file is part of
12 # OpenShot Video Editor (http://www.openshot.org), an open-source project
13 # dedicated to delivering high quality video editing and animation solutions
14 # to the world.
15 #
16 # OpenShot Video Editor is free software: you can redistribute it and/or modify
17 # it under the terms of the GNU General Public License as published by
18 # the Free Software Foundation, either version 3 of the License, or
19 # (at your option) any later version.
20 #
21 # OpenShot Video Editor is distributed in the hope that it will be useful,
22 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 # GNU General Public License for more details.
25 #
26 # You should have received a copy of the GNU General Public License
27 # along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
28 #
29 
30 import os
31 
32 from PyQt5.QtWidgets import *
33 
34 from classes import info, ui_util
35 
36 
37 ##
38 # Import Image Sequences Dialog
39 class ImportImageSeq(QDialog):
40 
41  # Path to ui file
42  ui_path = os.path.join(info.PATH, 'windows', 'ui', 'import-images-sequences.ui')
43 
44  def __init__(self):
45  # Create dialog class
46  QDialog.__init__(self)
47 
48  # Load UI from designer
49  ui_util.load_ui(self, self.ui_path)
50 
51  # Init UI
52  ui_util.init_ui(self)
def init_ui(window)
Initialize all child widgets and action of a window or dialog.
Definition: ui_util.py:200
Import Image Sequences Dialog.
def load_ui(window, path)
Load a Qt *.ui file, and also load an XML parsed version.
Definition: ui_util.py:65