OpenShot Video Editor
2.0.0
|
This file contains PyQt help functions, to translate the interface, load icons, and connect signals. More...
Go to the source code of this file.
Namespaces | |
ui_util | |
Functions | |
def | ui_util.connect_auto_events (window, elem, name) |
Connect any events in a *.ui file with matching Python method names. More... | |
def | ui_util.get_default_icon (theme_name) |
Get a QIcon, and fallback to default theme if OS does not support themes. More... | |
def | ui_util.get_icon (theme_name) |
Get either the current theme icon or fallback to default theme (for custom icons). More... | |
def | ui_util.init_element (window, elem) |
Initialize language and icons of the given element. More... | |
def | ui_util.init_ui (window) |
Initialize all child widgets and action of a window or dialog. More... | |
def | ui_util.load_theme () |
Load the current OS theme, or fallback to a default one. More... | |
def | ui_util.load_ui (window, path) |
Load a Qt *.ui file, and also load an XML parsed version. More... | |
def | ui_util.search_dir (base_path, theme_name) |
Search for theme name. More... | |
def | ui_util.setup_icon (window, elem, name, theme_name=None) |
Using the window xml, set the icon on the given element, or if theme_name passed load that icon. More... | |
def | ui_util.transfer_children (from_widget, to_widget) |
Variables | |
string | ui_util.DEFAULT_THEME_NAME = "Humanity" |
This file contains PyQt help functions, to translate the interface, load icons, and connect signals.
Copyright (c) 2008-2016 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.openshot.org), an open-source project dedicated to delivering high quality video editing and animation solutions to the world.
OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.
Definition in file ui_util.py.