├── qrc_to_py.bat ├── ui_to_py.bat ├── icons ├── delete.png ├── icons.ai ├── quit.png ├── star.png ├── stop.png ├── wiki.png ├── app_inv.ico ├── download.png ├── fake.svg ├── settings.png ├── tick_off.png ├── tick_on.png ├── folder_add.png ├── folder_open.png ├── minimize.svg ├── close.svg ├── app.svg ├── app_inv.svg └── resources.qrc ├── wiki ├── Red Dot.png ├── Blue Dot.png ├── Green Dot.png ├── Orange Dot.png ├── Violet Dot.png ├── Yellow Dot.png ├── Color Palette.png ├── Blender Version Manager Title Bar.png ├── Blender Version Manager Tray Icon.png ├── Blender Version Manager Main Window.png ├── Blender Version Manager Running Build.png ├── Blender Version Manager Settings Menu.png └── Blender Version Manager Tray Context Menu.png ├── readme ├── Blender Version Manager Window.png └── Blender Version Manager Tray Icon.png ├── _platform.py ├── README.md ├── version.txt ├── main.py ├── .gitignore ├── check_for_updates.py ├── version_layout.py ├── main_window.py ├── main_window_design.py ├── resources_rc.py ├── main_window_design.ui └── LICENSE /qrc_to_py.bat: -------------------------------------------------------------------------------- 1 | pyrcc5 icons/resources.qrc -o resources_rc.py 2 | pause -------------------------------------------------------------------------------- /ui_to_py.bat: -------------------------------------------------------------------------------- 1 | pyuic5 main_window_design.ui -o main_window_design.py 2 | pause -------------------------------------------------------------------------------- /icons/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/delete.png -------------------------------------------------------------------------------- /icons/icons.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/icons.ai -------------------------------------------------------------------------------- /icons/quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/quit.png -------------------------------------------------------------------------------- /icons/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/star.png -------------------------------------------------------------------------------- /icons/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/stop.png -------------------------------------------------------------------------------- /icons/wiki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/wiki.png -------------------------------------------------------------------------------- /wiki/Red Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Red Dot.png -------------------------------------------------------------------------------- /icons/app_inv.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/app_inv.ico -------------------------------------------------------------------------------- /icons/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/download.png -------------------------------------------------------------------------------- /icons/fake.svg: -------------------------------------------------------------------------------- 1 | fake -------------------------------------------------------------------------------- /icons/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/settings.png -------------------------------------------------------------------------------- /icons/tick_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/tick_off.png -------------------------------------------------------------------------------- /icons/tick_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/tick_on.png -------------------------------------------------------------------------------- /wiki/Blue Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blue Dot.png -------------------------------------------------------------------------------- /wiki/Green Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Green Dot.png -------------------------------------------------------------------------------- /icons/folder_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/folder_add.png -------------------------------------------------------------------------------- /icons/folder_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/icons/folder_open.png -------------------------------------------------------------------------------- /wiki/Orange Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Orange Dot.png -------------------------------------------------------------------------------- /wiki/Violet Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Violet Dot.png -------------------------------------------------------------------------------- /wiki/Yellow Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Yellow Dot.png -------------------------------------------------------------------------------- /wiki/Color Palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Color Palette.png -------------------------------------------------------------------------------- /readme/Blender Version Manager Window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/readme/Blender Version Manager Window.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Title Bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Title Bar.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Tray Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Tray Icon.png -------------------------------------------------------------------------------- /readme/Blender Version Manager Tray Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/readme/Blender Version Manager Tray Icon.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Main Window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Main Window.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Running Build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Running Build.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Settings Menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Settings Menu.png -------------------------------------------------------------------------------- /wiki/Blender Version Manager Tray Context Menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/HEAD/wiki/Blender Version Manager Tray Context Menu.png -------------------------------------------------------------------------------- /icons/minimize.svg: -------------------------------------------------------------------------------- 1 | minimize -------------------------------------------------------------------------------- /icons/close.svg: -------------------------------------------------------------------------------- 1 | close -------------------------------------------------------------------------------- /_platform.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | 4 | def get_platform(): 5 | platforms = { 6 | 'linux': 'Linux', 7 | 'linux1': 'Linux', 8 | 'linux2': 'Linux', 9 | 'darwin': 'OSX', 10 | 'win32': 'Windows' 11 | } 12 | 13 | if sys.platform not in platforms: 14 | return sys.platform 15 | 16 | return platforms[sys.platform] 17 | -------------------------------------------------------------------------------- /icons/app.svg: -------------------------------------------------------------------------------- 1 | app -------------------------------------------------------------------------------- /icons/app_inv.svg: -------------------------------------------------------------------------------- 1 | app_inv -------------------------------------------------------------------------------- /icons/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | wiki.png 4 | settings.png 5 | download.png 6 | stop.png 7 | folder_add.png 8 | folder_open.png 9 | star.png 10 | delete.png 11 | quit.png 12 | tick_off.png 13 | tick_on.png 14 | app.svg 15 | fake.svg 16 | app_inv.svg 17 | close.svg 18 | minimize.svg 19 | 20 | 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🛑 Project no longer supported! 2 | # ✔️ For new versions visit [Blender Launcher](https://github.com/DotBow/Blender-Launcher) repository! 3 | 4 | ## Blender Version Manager 5 | Minimalistic download manager for Blender 2.8 (Win x64, Linux x64) latest builds. 6 | 7 | * Simple UI with list of downloaded builds from [BuildBot](https://builder.blender.org/download/) 8 | * Automatic checking of latest builds 9 | * Fast access via tray icon 10 | * Indication of running version and its number of instances 11 | * Automatic registration of Blend-file extension 12 | 13 | 📖 You can find information about installing and using program in [Wiki](https://github.com/DotBow/Blender-Version-Manager/wiki). 14 | 15 | ### Main Window 16 | ![Blender Version Manager Main Window](https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/master/readme/Blender%20Version%20Manager%20Window.png) 17 | 18 | ### Tray Context Menu 19 | ![Blender Version Manager Tray Icon](https://raw.githubusercontent.com/DotBow/Blender-Version-Manager/master/readme/Blender%20Version%20Manager%20Tray%20Icon.png) 20 | 21 | ### Support 22 | You can buy Blender Version Manager on [Gumroad](https://gumroad.com/products/b3dvm) for 2$ or more. 23 | 24 | ### Icons License 25 | Original icons were made by [jendrzych](https://devtalk.blender.org/t/new-icons-for-blender-2-8/4651) for Blender 2.8 and licensed under a Creative Commons Attribution-ShareAlike 4.0 International License ([CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)). 26 | 27 | *** 28 | 29 | 💖 Thanx for using Blender Version Manager! Have a good day! 30 | -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | # UTF-8 2 | # 3 | # For more details about fixed file info 'ffi' see: 4 | # http://msdn.microsoft.com/en-us/library/ms646997.aspx 5 | VSVersionInfo( 6 | ffi=FixedFileInfo( 7 | # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) 8 | # Set not needed items to zero 0. 9 | filevers=(1, 6, 1, 0), 10 | prodvers=(1, 6, 1, 0), 11 | # Contains a bitmask that specifies the valid bits 'flags'r 12 | mask=0x0, 13 | # Contains a bitmask that specifies the Boolean attributes of the file. 14 | flags=0x0, 15 | # The operating system for which this file was designed. 16 | # 0x4 - NT and there is no need to change it. 17 | OS=0x4, 18 | # The general type of file. 19 | # 0x1 - the file is an application. 20 | fileType=0x1, 21 | # The function of the file. 22 | # 0x0 - the function is not defined for this fileType 23 | subtype=0x0, 24 | # Creation date and time stamp. 25 | date=(0, 0) 26 | ), 27 | kids=[ 28 | StringFileInfo( 29 | [ 30 | StringTable( 31 | u'04090000', 32 | [StringStruct(u'CompanyName', u'Oleg Stepanov'), 33 | StringStruct(u'FileDescription', u'Blender Version Manager'), 34 | StringStruct(u'FileVersion', u'1.6.1'), 35 | StringStruct(u'LegalCopyright', u'GPLv3 © 2019 Oleg Stepanov'), 36 | StringStruct(u'OriginalFilename', u'Blender Version Manager.exe'), 37 | StringStruct(u'ProductName', u'Blender Version Manager'), 38 | StringStruct(u'ProductVersion', u'1.6.1')]) 39 | ]), 40 | VarFileInfo([VarStruct(u'Translation', [0x0409, 1200])]) 41 | ] 42 | ) 43 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import logging 2 | import sys 3 | from time import gmtime, strftime 4 | 5 | import psutil 6 | from PyQt5.QtGui import QIcon 7 | from PyQt5.QtWidgets import QApplication, QMessageBox 8 | 9 | from main_window import BVMQMainWindow 10 | 11 | logger = logging.getLogger(__name__) 12 | handler = logging.StreamHandler(stream=sys.stdout) 13 | logger.addHandler(handler) 14 | 15 | 16 | def handle_exception(exc_type, exc_value, exc_traceback): 17 | if issubclass(exc_type, KeyboardInterrupt): 18 | sys.__excepthook__(exc_type, exc_value, exc_traceback) 19 | return 20 | 21 | utcnow = strftime(('%Y-%m-%d_%H-%M-%S'), gmtime()) 22 | logging.basicConfig(filename="BVM_Report_" + utcnow + 23 | ".log", level=logging.DEBUG) 24 | logger.error("Uncaught exception", exc_info=( 25 | exc_type, exc_value, exc_traceback)) 26 | 27 | 28 | sys.excepthook = handle_exception 29 | 30 | 31 | def main(): 32 | QApplication.setApplicationName("Blender Version Manager") 33 | QApplication.setApplicationVersion("1.6.1 Beta") 34 | 35 | app = QApplication(sys.argv) 36 | 37 | proc_count = len([proc for proc in psutil.process_iter() 38 | if proc.name() == "Blender Version Manager.exe"]) 39 | 40 | if proc_count > 2: 41 | msg = QMessageBox(QMessageBox.Warning, "Blender Version Manager", 42 | "Another instance is already running!", 43 | QMessageBox.Ok) 44 | msg.setWindowIcon(QIcon(":/icons/app.svg")) 45 | msg.exec_() 46 | else: 47 | window = BVMQMainWindow(app) 48 | 49 | if not window.is_run_minimized: 50 | window.show() 51 | 52 | app.exec_() 53 | 54 | 55 | if __name__ == '__main__': 56 | main() 57 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | MANIFEST 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | .pytest_cache/ 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | local_settings.py 57 | db.sqlite3 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # Jupyter Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # SageMath parsed files 82 | *.sage.py 83 | 84 | # Environments 85 | .env 86 | .venv 87 | env/ 88 | venv/ 89 | ENV/ 90 | env.bak/ 91 | venv.bak/ 92 | 93 | # Spyder project settings 94 | .spyderproject 95 | .spyproject 96 | 97 | # Rope project settings 98 | .ropeproject 99 | 100 | # mkdocs documentation 101 | /site 102 | 103 | # mypy 104 | .mypy_cache/ 105 | 106 | # vscode settings 107 | .vscode/ 108 | -------------------------------------------------------------------------------- /check_for_updates.py: -------------------------------------------------------------------------------- 1 | import locale 2 | import re 3 | import time 4 | import urllib 5 | from urllib.request import urlopen 6 | 7 | from bs4 import BeautifulSoup 8 | from PyQt5.QtCore import QThread, pyqtSignal 9 | 10 | from _platform import get_platform 11 | 12 | 13 | class CheckForUpdates(QThread): 14 | new_version_obtained = pyqtSignal('PyQt_PyObject') 15 | 16 | def __init__(self, parent): 17 | QThread.__init__(self) 18 | self.parent = parent 19 | self.is_running = True 20 | self.download_url = None 21 | 22 | def run(self): 23 | platform = get_platform() 24 | 25 | while self.is_running: 26 | try: 27 | self.download_url = self.get_download_url() 28 | commit = self.download_url.split('-',)[2] 29 | new_version = True 30 | 31 | if self.parent.layouts: 32 | if (commit in self.parent.layouts[0].git or commit in self.parent.progressBar.text()): 33 | new_version = False 34 | 35 | if new_version: 36 | datetime = self.get_commit_datetime(commit) 37 | 38 | if platform == 'Windows': 39 | locale.setlocale(locale.LC_ALL, 'eng_usa') 40 | elif platform == 'Linux': 41 | locale.setlocale(locale.LC_ALL, 'en_US.UTF-8') 42 | 43 | self.strptime = time.strptime( 44 | datetime, '%a, %d %b %Y %H:%M:%S %z') 45 | strftime = time.strftime("%d-%b-%H:%M", self.strptime) 46 | info = urlopen(self.download_url).info() 47 | size = str(int(info['content-length']) // 1048576) + " MB" 48 | display_name = "Git-" + commit + " | " + strftime + " | " + size 49 | self.new_version_obtained.emit(display_name) 50 | except urllib.error.URLError as e: 51 | print(e) 52 | 53 | QThread.sleep(600) 54 | 55 | return 56 | 57 | def get_download_url(self): 58 | builder_url = "https://builder.blender.org" 59 | content = urlopen(builder_url + "/download").read() 60 | soup = BeautifulSoup(content, 'html.parser') 61 | platform = get_platform() 62 | 63 | if platform == 'Windows': 64 | build_url = soup.find(href=re.compile( 65 | r'blender-.+win.+64'))['href'] 66 | elif platform == 'Linux': 67 | build_url = soup.find(href=re.compile( 68 | r'blender-.+linux.+64'))['href'] 69 | 70 | return builder_url + build_url 71 | 72 | def get_commit_datetime(self, commit): 73 | commit_url = "https://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/" 74 | content = urlopen(commit_url + commit).read() 75 | soup = BeautifulSoup(content, 'html.parser') 76 | datetime = soup.find_all("span", {"class": "datetime"})[1].text 77 | return datetime 78 | -------------------------------------------------------------------------------- /version_layout.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | import os 3 | import re 4 | import shutil 5 | import subprocess 6 | import threading 7 | import time 8 | from subprocess import DEVNULL 9 | 10 | from PyQt5.QtCore import Qt, QThread, pyqtSignal 11 | from PyQt5.QtGui import QCursor, QFont 12 | from PyQt5.QtWidgets import QHBoxLayout, QMessageBox, QPushButton, QSizePolicy 13 | 14 | from _platform import get_platform 15 | 16 | if get_platform() == 'Windows': 17 | from subprocess import CREATE_NO_WINDOW 18 | 19 | 20 | class B3dItemLayout(QHBoxLayout): 21 | def __init__(self, root_folder, version, is_latest, parent): 22 | super(B3dItemLayout, self).__init__(None) 23 | self.is_latest = is_latest 24 | 25 | self.btn_open_style = \ 26 | ("""QPushButton[IsRunning=false] 27 | { 28 | color: rgb(255, 255, 255); 29 | background-color: rgb(51, 51, 51); 30 | border-style: solid; 31 | border-color: rgb(51, 51, 51); 32 | border-width: 6px; 33 | } 34 | 35 | QPushButton[IsRunning=false]:pressed 36 | { 37 | background-color: rgb(80, 80, 80); 38 | border-color: rgb(80, 80, 80); 39 | } 40 | 41 | QPushButton[IsRunning=false]:hover 42 | { 43 | background-color: rgb(80, 80, 80); 44 | border-color: rgb(80, 80, 80); 45 | } 46 | 47 | QPushButton[IsRunning=true] 48 | { 49 | color: rgb(255, 255, 255); 50 | background-color: rgb(204, 102, 51); 51 | border-style: solid; 52 | border-color: rgb(204, 102, 51); 53 | border-width: 6px; 54 | } 55 | 56 | QPushButton[IsRunning=true]:pressed 57 | { 58 | background-color: rgb(223, 121, 70); 59 | border-color: rgb(223, 121, 70); 60 | } 61 | 62 | QPushButton[IsRunning=true]:hover 63 | { 64 | background-color: rgb(223, 121, 70); 65 | border-color: rgb(223, 121, 70); 66 | }""") 67 | 68 | self.btn_delete_style = \ 69 | ("""QPushButton[IsRunning=false] 70 | { 71 | color: rgb(255, 255, 255); 72 | background-color: rgb(51, 51, 51); 73 | border-style: solid; 74 | border-color: rgb(51, 51, 51); 75 | border-width: 0px 4px 0px 4px; 76 | qproperty-icon: url(:/icons/delete.png); 77 | qproperty-iconSize: 20px; 78 | } 79 | 80 | QPushButton[IsRunning=false]:pressed 81 | { 82 | background-color: rgb(80, 80, 80); 83 | border-color: rgb(80, 80, 80); 84 | } 85 | 86 | QPushButton[IsRunning=false]:hover 87 | { 88 | background-color: rgb(80, 80, 80); 89 | border-color: rgb(80, 80, 80); 90 | } 91 | 92 | QPushButton[IsRunning=true] 93 | { 94 | color: rgb(255, 255, 255); 95 | background-color: rgb(0, 122, 204); 96 | border-style: solid; 97 | border-color: rgb(0, 122, 204); 98 | border-width: 0px 13px 0px 13px; 99 | qproperty-icon: none; 100 | } 101 | 102 | QPushButton[IsRunning=true]:pressed 103 | { 104 | background-color: rgb(80, 80, 80); 105 | border-color: rgb(80, 80, 80); 106 | } 107 | 108 | QPushButton[IsRunning=true]:hover 109 | { 110 | background-color: rgb(80, 80, 80); 111 | border-color: rgb(80, 80, 80); 112 | }""") 113 | 114 | self.platform = get_platform() 115 | 116 | if self.platform == 'Windows': 117 | blender_exe = "blender.exe" 118 | elif self.platform == 'Linux': 119 | blender_exe = "blender" 120 | 121 | self.parent = parent 122 | self.root_folder = root_folder 123 | self.version = version 124 | self.processes = [] 125 | self.mtime = os.path.getmtime(os.path.join( 126 | root_folder, version, blender_exe)) 127 | 128 | self.setContentsMargins(6, 0, 6, 0) 129 | self.setSpacing(0) 130 | 131 | b3d_exe = os.path.join(root_folder, version, blender_exe) 132 | 133 | if self.platform == 'Windows': 134 | info = subprocess.check_output( 135 | [b3d_exe, "-v"], creationflags=CREATE_NO_WINDOW, shell=True, 136 | stderr=DEVNULL, stdin=DEVNULL).decode('UTF-8') 137 | elif self.platform == 'Linux': 138 | info = subprocess.check_output( 139 | [b3d_exe, "-v"], shell=False, 140 | stderr=DEVNULL, stdin=DEVNULL).decode('UTF-8') 141 | 142 | ctime = re.search("build commit time: " + "(.*)", info)[1].rstrip() 143 | cdate = re.search("build commit date: " + "(.*)", info)[1].rstrip() 144 | self.git = re.search("build hash: " + "(.*)", info)[1].rstrip() 145 | ver = re.search("Blender " + "(.*)", info)[1].rstrip() 146 | strptime = time.strptime(cdate + ' ' + ctime, "%Y-%m-%d %H:%M") 147 | 148 | self.btnOpen = QPushButton( 149 | "%s | %s | %s" % (ver, self.git, time.strftime("%d-%b-%H:%M", strptime))) 150 | self.btnOpen.clicked.connect(self.open) 151 | 152 | self.set_is_latest(self.is_latest) 153 | 154 | self.btnOpen.setFont(QFont("MS Shell Dlg 2", 10)) 155 | self.btnOpen.setCursor(QCursor(Qt.PointingHandCursor)) 156 | self.btnOpen.setStyleSheet(self.btn_open_style) 157 | self.btnOpen.setProperty('IsRunning', False) 158 | 159 | self.btnDelete = QPushButton("") 160 | self.btnDelete.setFlat(True) 161 | self.btnDelete.setToolTip("Delete From Drive") 162 | self.btnDelete.setSizePolicy( 163 | QSizePolicy.Maximum, QSizePolicy.Preferred) 164 | self.btnDelete.setCursor(QCursor(Qt.PointingHandCursor)) 165 | self.btnDelete.clicked.connect(lambda: self.delete()) 166 | self.btnDelete.setStyleSheet(self.btn_delete_style) 167 | self.btnDelete.setProperty('IsRunning', False) 168 | 169 | self.addWidget(self.btnOpen) 170 | self.addWidget(self.btnDelete) 171 | 172 | def set_is_latest(self, is_latest): 173 | self.is_latest = is_latest 174 | 175 | if self.is_latest: 176 | self.btnOpen.setIcon(self.parent.icon_star) 177 | else: 178 | self.btnOpen.setIcon(self.parent.icon_fake) 179 | 180 | def open(self): 181 | if self.platform == 'Windows': 182 | DETACHED_PROCESS = 0x00000008 183 | b3d_exe = os.path.join( 184 | self.root_folder, self.version, "blender.exe") 185 | process = subprocess.Popen(b3d_exe, shell=True, stdin=None, stdout=None, 186 | stderr=None, close_fds=True, creationflags=DETACHED_PROCESS) 187 | elif self.platform == 'Linux': 188 | b3d_exe = os.path.join(self.root_folder, self.version, "blender") 189 | process = subprocess.Popen( 190 | 'nohup "' + b3d_exe + '"', shell=True, stdout=None, stderr=None, close_fds=True, preexec_fn=os.setpgrp) 191 | 192 | self.processes.append(process) 193 | 194 | if (len(self.processes) == 1): 195 | self.observe_instances = ObserveInstances(self) 196 | self.observe_instances.started.connect(self.observe_started) 197 | self.observe_instances.finished.connect(self.observe_finished) 198 | self.observe_instances.count_changed.connect(self.count_changed) 199 | self.observe_instances.start() 200 | else: 201 | self.count_changed() 202 | 203 | def observe_started(self): 204 | self.count_changed() 205 | self.btnOpen.setProperty('IsRunning', True) 206 | self.btnOpen.setStyle(self.btnOpen.style()) 207 | self.btnDelete.setToolTip("Number of Running Instances") 208 | self.btnDelete.setProperty('IsRunning', True) 209 | self.btnDelete.setStyle(self.btnDelete.style()) 210 | self.btnDelete.setEnabled(False) 211 | 212 | def observe_finished(self): 213 | self.btnOpen.setProperty('IsRunning', False) 214 | self.btnOpen.setStyle(self.btnOpen.style()) 215 | self.btnDelete.setIcon(self.parent.icon_trash) 216 | self.btnDelete.setText("") 217 | self.btnDelete.setToolTip("Delete From Drive") 218 | self.btnDelete.setEnabled(True) 219 | self.btnDelete.setProperty('IsRunning', False) 220 | self.btnDelete.setStyle(self.btnDelete.style()) 221 | 222 | def count_changed(self): 223 | self.btnDelete.setText(str(len(self.processes))) 224 | 225 | def delete(self): 226 | msgBox = QMessageBox.question( 227 | self.parent, "Blender Version Manager", 228 | "Are you sure you want to delete\n'" + self.btnOpen.text() + "'?", 229 | QMessageBox.Yes | QMessageBox.Cancel, QMessageBox.Yes) 230 | 231 | if msgBox == QMessageBox.Yes: 232 | threading.Thread(target=lambda: asyncio.run( 233 | self.delete_tread())).start() 234 | 235 | async def delete_tread(self): 236 | if self.is_latest: 237 | self.set_is_latest(False) 238 | 239 | if (not self.parent.is_update_running and not self.parent.progressBar.isVisible()): 240 | self.parent.stop_uptodate_thread() 241 | self.parent.start_uptodate_thread() 242 | 243 | if len(self.parent.layouts) > 1: 244 | self.parent.layouts[1].set_is_latest(True) 245 | 246 | self.btnOpen.setText("Deleting...") 247 | self.btnOpen.setEnabled(False) 248 | self.btnDelete.setIcon(self.parent.icon_fake) 249 | self.btnDelete.setEnabled(False) 250 | shutil.rmtree(os.path.join(self.root_folder, self.version)) 251 | self.parent.layouts.remove(self) 252 | self.parent.cleanup_layout(self.layout()) 253 | 254 | 255 | class ObserveInstances(QThread): 256 | started = pyqtSignal() 257 | finished = pyqtSignal() 258 | count_changed = pyqtSignal() 259 | 260 | def __init__(self, parent): 261 | QThread.__init__(self) 262 | self.parent = parent 263 | 264 | def run(self): 265 | self.started.emit() 266 | 267 | while self.parent: 268 | for process in self.parent.processes: 269 | if process.poll() is not None: 270 | self.parent.processes.remove(process) 271 | 272 | if len(self.parent.processes) > 0: 273 | self.count_changed.emit() 274 | else: 275 | process.kill() 276 | self.finished.emit() 277 | return 278 | 279 | QThread.sleep(1) 280 | -------------------------------------------------------------------------------- /main_window.py: -------------------------------------------------------------------------------- 1 | import os 2 | import re 3 | import shutil 4 | import subprocess 5 | import sys 6 | import webbrowser 7 | 8 | from bs4 import BeautifulSoup 9 | from PyQt5.QtCore import QEvent, QPoint, QSettings, Qt, QTimer 10 | from PyQt5.QtGui import QIcon 11 | from PyQt5.QtWidgets import (QAction, QApplication, QFileDialog, QLabel, 12 | QMainWindow, QMenu, QMessageBox, QSizePolicy, 13 | QSystemTrayIcon) 14 | 15 | import main_window_design 16 | from _platform import get_platform 17 | from build_loader import BuildLoader 18 | from check_for_updates import CheckForUpdates 19 | from version_layout import B3dItemLayout 20 | 21 | if get_platform() == 'Windows': 22 | import winreg 23 | from PyQt5.QtWinExtras import QWinTaskbarButton 24 | 25 | 26 | class BVMQMainWindow(QMainWindow, main_window_design.Ui_MainWindow): 27 | def __init__(self, app): 28 | super().__init__() 29 | self.app = app 30 | self.platform = get_platform() 31 | 32 | self.setWindowFlags(Qt.FramelessWindowHint) 33 | self.setupUi(self) 34 | 35 | # Read icons 36 | self.icon_app = QIcon(":/icons/app.svg") 37 | self.icon_star = QIcon(":/icons/star.png") 38 | self.icon_trash = QIcon(":/icons/delete.png") 39 | self.icon_quit = QIcon(":/icons/quit.png") 40 | self.icon_fake = QIcon(":/icons/fake.svg") 41 | 42 | # Read settings 43 | self.settings = QSettings('b3d_version_manager', 'settings') 44 | 45 | is_register_blend = self.settings.value( 46 | 'is_register_blend', type=bool) 47 | self.is_run_minimized = self.settings.value( 48 | 'is_run_minimized', type=bool) 49 | is_run_on_startup = self.settings.value( 50 | 'is_run_on_startup', type=bool) 51 | root_folder = self.settings.value('root_folder') 52 | if (not root_folder) or (not os.path.isdir(root_folder)): 53 | exe_path = os.path.dirname(sys.executable) 54 | self.settings.setValue('root_folder', exe_path) 55 | 56 | # Custom title bar 57 | self.btnWiki.clicked.connect(lambda: webbrowser.open( 58 | "https://github.com/DotBow/Blender-Version-Manager/wiki")) 59 | self.title.setText("%s %s" % ( 60 | QApplication.applicationName(), QApplication.applicationVersion())) 61 | self.btnClose.clicked.connect(self.hide) 62 | self.btnMinimize.clicked.connect(self.showMinimized) 63 | 64 | # Custom menu bar 65 | self.actionToggleRegisterBlend.setChecked(is_register_blend) 66 | self.actionToggleRegisterBlend.triggered.connect( 67 | self.toggle_register_blend) 68 | 69 | self.actionToggleRunMinimized.setChecked(self.is_run_minimized) 70 | self.actionToggleRunMinimized.triggered.connect( 71 | self.toggle_run_minimized) 72 | 73 | self.actionToggleRunOnStartup.setChecked(is_run_on_startup) 74 | self.actionToggleRunOnStartup.triggered.connect( 75 | self.toggle_run_on_startup) 76 | 77 | self.menubar.hide() 78 | self.btnSettings.setMenu(self.menuFile) 79 | 80 | self.menuFile.installEventFilter(self) 81 | 82 | # Root folder layout 83 | self.labelRootFolder.setText(self.settings.value('root_folder')) 84 | self.btnSetRootFolder.clicked.connect(self.set_root_folder) 85 | self.btnOpenRootFolder.clicked.connect(self.open_root_folder) 86 | 87 | # Tray layout 88 | self.blender_action = QAction(self.icon_star, "Blender ", self) 89 | show_action = QAction("Show", self) 90 | hide_action = QAction("Hide", self) 91 | quit_action = QAction(self.icon_quit, "Quit", self) 92 | 93 | self.blender_action.triggered.connect(self.open_latest_b3d) 94 | show_action.triggered.connect(self.bring_to_front) 95 | hide_action.triggered.connect(self.hide) 96 | quit_action.triggered.connect(self.quit) 97 | 98 | self.tray_menu = QMenu() 99 | self.tray_menu.setStyleSheet(self.menuFile.styleSheet()) 100 | self.tray_menu.addAction(self.blender_action) 101 | self.tray_menu.addAction(show_action) 102 | self.tray_menu.addAction(hide_action) 103 | self.tray_menu.addAction(quit_action) 104 | 105 | self.tray_icon = QSystemTrayIcon(self.icon_app, self) 106 | self.tray_icon.setToolTip("Blender Version Manager") 107 | self.tray_icon.setContextMenu(self.tray_menu) 108 | self.tray_icon.messageClicked.connect(self.bring_to_front) 109 | self.tray_icon.activated.connect(self.onTrayIconActivated) 110 | self.tray_icon.show() 111 | 112 | # Version layout 113 | self.btnUpdate.clicked.connect(self.update) 114 | self.set_task_visible(False) 115 | self.zeroBuildsWarning.hide() 116 | self.layouts = [] 117 | self.collect_versions() 118 | self.draw_list_versions() 119 | 120 | # Custom drag behaviour 121 | self.old_pos = self.pos() 122 | self.pressed = False 123 | 124 | # Update task 125 | self.is_update_running = False 126 | self.start_uptodate_thread() 127 | 128 | self.taskbar_progress = None 129 | 130 | self.left_click_timer = QTimer(self) 131 | self.left_click_timer.setSingleShot(True) 132 | self.left_click_timer.timeout.connect(self.bring_to_front) 133 | 134 | def start_uptodate_thread(self): 135 | self.uptodate_thread = CheckForUpdates(self) 136 | self.uptodate_thread.new_version_obtained.connect( 137 | self.show_new_version) 138 | self.uptodate_thread.start() 139 | 140 | def stop_uptodate_thread(self): 141 | self.uptodate_thread.is_running = False 142 | self.uptodate_thread.terminate() 143 | self.uptodate_thread.wait() 144 | 145 | def onTrayIconActivated(self, reason): 146 | if reason == QSystemTrayIcon.Trigger: 147 | self.left_click_timer.start(QApplication.doubleClickInterval()) 148 | elif reason == QSystemTrayIcon.DoubleClick: 149 | self.left_click_timer.stop() 150 | self.open_latest_b3d() 151 | 152 | def showEvent(self, event): 153 | # Setup taskbar 154 | if self.platform == 'Windows': 155 | if not self.taskbar_progress: 156 | self.task_button = QWinTaskbarButton(self) 157 | self.task_button.setWindow(self.windowHandle()) 158 | 159 | self.taskbar_progress = self.task_button.progress() 160 | self.taskbar_progress.setVisible(True) 161 | self.taskbar_progress.setValue(0) 162 | 163 | def open_latest_b3d(self): 164 | if self.layouts: 165 | self.layouts[0].open() 166 | 167 | def show_new_version(self, display_name): 168 | self.set_task_visible(True) 169 | self.set_progress_bar(0, 0, display_name) 170 | 171 | if self.isHidden(): 172 | self.tray_icon.showMessage( 173 | "Blender Version Manager", 174 | "New build of Blender is available!", 175 | QSystemTrayIcon.Information, 4000) 176 | 177 | def set_task_visible(self, is_visible): 178 | if is_visible: 179 | self.progressBar.show() 180 | self.btnUpdate.show() 181 | self.btnCancel.hide() 182 | else: 183 | self.progressBar.hide() 184 | self.btnUpdate.hide() 185 | self.btnCancel.hide() 186 | 187 | def is_running_task(self): 188 | if self.is_update_running: 189 | QMessageBox.information( 190 | self, "Warning", "Update task in progress!", QMessageBox.Ok) 191 | return True 192 | else: 193 | return False 194 | 195 | def toggle_run_minimized(self, is_checked): 196 | self.settings.setValue('is_run_minimized', is_checked) 197 | 198 | def toggle_register_blend(self, is_checked): 199 | self.settings.setValue('is_register_blend', is_checked) 200 | 201 | def cleanup_layout(self, layout): 202 | while layout.count(): 203 | item = layout.takeAt(0) 204 | widget = item.widget() 205 | 206 | if widget is not None: 207 | widget.deleteLater() 208 | else: 209 | self.cleanup_layout(item.layout()) 210 | 211 | def collect_versions(self): 212 | self.layouts.clear() 213 | root_folder = self.settings.value('root_folder') 214 | dirs = next(os.walk(root_folder))[1] 215 | versions = [] 216 | 217 | if self.platform == 'Windows': 218 | blender_exe = "blender.exe" 219 | elif self.platform == 'Linux': 220 | blender_exe = "blender" 221 | 222 | for dir in dirs: 223 | if os.path.isfile(os.path.join(root_folder, dir, blender_exe)): 224 | versions.append(dir) 225 | 226 | for ver in versions: 227 | b3d_item_layout = B3dItemLayout( 228 | root_folder, ver, False, self) 229 | self.layouts.append(b3d_item_layout) 230 | 231 | def draw_list_versions(self): 232 | if len(self.layouts) > 0: 233 | self.zeroBuildsWarning.hide() 234 | self.layouts.sort(key=lambda ver: ver.mtime, reverse=True) 235 | self.blender_action.setVisible(True) 236 | 237 | for b3d_item_layout in self.layouts: 238 | self.layoutListVersions.removeItem(b3d_item_layout) 239 | b3d_item_layout.set_is_latest(False) 240 | 241 | self.layouts[0].set_is_latest(True) 242 | 243 | for b3d_item_layout in self.layouts: 244 | self.layoutListVersions.addLayout(b3d_item_layout) 245 | else: 246 | self.zeroBuildsWarning.show() 247 | self.blender_action.setVisible(False) 248 | 249 | def set_root_folder(self): 250 | root_folder = self.settings.value('root_folder') 251 | dir = QFileDialog.getExistingDirectory( 252 | self, "Choose Root Folder", root_folder) 253 | 254 | if dir and (dir != root_folder): 255 | self.stop_uptodate_thread() 256 | self.zeroBuildsWarning.hide() 257 | self.set_task_visible(False) 258 | self.settings.setValue('root_folder', dir) 259 | self.labelRootFolder.setText(dir) 260 | self.cleanup_layout(self.layoutListVersions) 261 | self.collect_versions() 262 | self.draw_list_versions() 263 | self.start_uptodate_thread() 264 | 265 | def open_root_folder(self): 266 | root_folder = self.settings.value('root_folder') 267 | 268 | if self.platform == 'Windows': 269 | os.startfile(root_folder) 270 | elif self.platform == 'Linux': 271 | subprocess.call(["xdg-open", root_folder]) 272 | 273 | def update(self): 274 | self.is_update_running = True 275 | self.stop_uptodate_thread() 276 | 277 | self.btnUpdate.hide() 278 | self.btnCancel.show() 279 | self.btnSetRootFolder.hide() 280 | self.set_progress_bar(0, 0, "Downloading: %p%") 281 | 282 | self.build_loader = BuildLoader( 283 | self, self.uptodate_thread.download_url, self.uptodate_thread.strptime) 284 | self.build_loader.finished.connect(self.finished) 285 | self.build_loader.progress_changed.connect(self.set_progress_bar) 286 | self.build_loader.block_abortion.connect(lambda: self.btnCancel.hide()) 287 | self.btnCancel.clicked.connect(self.build_loader.stop) 288 | self.build_loader.start() 289 | 290 | def finished(self, version): 291 | self.build_loader.terminate() 292 | self.build_loader.wait() 293 | 294 | self.btnSetRootFolder.show() 295 | self.set_task_visible(False) 296 | self.is_update_running = False 297 | 298 | if version: 299 | root_folder = self.settings.value('root_folder') 300 | b3d_item_layout = B3dItemLayout( 301 | root_folder, version, True, self) 302 | self.layouts.append(b3d_item_layout) 303 | 304 | self.tray_icon.showMessage( 305 | "Blender Version Manager", 306 | "Download finished!", 307 | QSystemTrayIcon.Information, 4000) 308 | 309 | self.draw_list_versions() 310 | self.set_progress_bar(0, 0, "") 311 | self.start_uptodate_thread() 312 | 313 | def set_progress_bar(self, progress_bar_val, taskbar_val, format): 314 | self.progressBar.setFormat(format) 315 | self.progressBar.setValue(progress_bar_val * 100) 316 | 317 | if self.taskbar_progress: 318 | self.taskbar_progress.setValue(taskbar_val * 100) 319 | 320 | def quit(self): 321 | if not self.is_running_task(): 322 | self.tray_icon.hide() 323 | self.app.quit() 324 | 325 | def closeEvent(self, event): 326 | self.hide() 327 | event.ignore() 328 | 329 | def mousePressEvent(self, event): 330 | self.old_pos = event.globalPos() 331 | self.pressing = True 332 | 333 | def mouseMoveEvent(self, event): 334 | if self.pressing: 335 | delta = QPoint(event.globalPos() - self.old_pos) 336 | self.move(self.x() + delta.x(), self.y() + delta.y()) 337 | self.old_pos = event.globalPos() 338 | 339 | def mouseReleaseEvent(self, QMouseEvent): 340 | self.pressing = False 341 | 342 | def toggle_run_on_startup(self, is_checked): 343 | if (self.platform == 'Windows'): 344 | key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, 345 | r'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run', 346 | 0, winreg.KEY_SET_VALUE) 347 | 348 | if (is_checked): 349 | path = sys.executable 350 | winreg.SetValueEx(key, 'Blender Version Manager', 351 | 0, winreg.REG_SZ, path) 352 | else: 353 | try: 354 | winreg.DeleteValue(key, 'Blender Version Manager') 355 | except: 356 | pass 357 | 358 | key.Close() 359 | self.settings.setValue('is_run_on_startup', is_checked) 360 | 361 | def bring_to_front(self): 362 | self.setWindowState(self.windowState() & ~ 363 | Qt.WindowMinimized | Qt.WindowActive) 364 | self.show() 365 | self.activateWindow() 366 | 367 | # Prevent QMenu from closing 368 | def eventFilter(self, obj, event): 369 | if event.type() in [QEvent.MouseButtonRelease]: 370 | if isinstance(obj, QMenu): 371 | if obj.activeAction(): 372 | if not obj.activeAction().menu(): 373 | obj.activeAction().trigger() 374 | return True 375 | 376 | return super(BVMQMainWindow, self).eventFilter(obj, event) 377 | -------------------------------------------------------------------------------- /main_window_design.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | # Form implementation generated from reading ui file 'main_window_design.ui' 4 | # 5 | # Created by: PyQt5 UI code generator 5.11.3 6 | # 7 | # WARNING! All changes made in this file will be lost! 8 | 9 | from PyQt5 import QtCore, QtGui, QtWidgets 10 | 11 | class Ui_MainWindow(object): 12 | def setupUi(self, MainWindow): 13 | MainWindow.setObjectName("MainWindow") 14 | MainWindow.resize(400, 231) 15 | font = QtGui.QFont() 16 | font.setStyleStrategy(QtGui.QFont.PreferAntialias) 17 | MainWindow.setFont(font) 18 | icon = QtGui.QIcon() 19 | icon.addPixmap(QtGui.QPixmap(":/icons/app.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On) 20 | MainWindow.setWindowIcon(icon) 21 | MainWindow.setStyleSheet("QMainWindow\n" 22 | "{\n" 23 | " background-color: rgb(30, 30, 30);\n" 24 | "}\n" 25 | "\n" 26 | "QScrollBar:vertical\n" 27 | "{\n" 28 | " background-color: #1e1e1e;\n" 29 | " width: 4px;\n" 30 | "}\n" 31 | "\n" 32 | "QScrollBar::handle:vertical:hover\n" 33 | "{\n" 34 | " background-color: #4f4f4f;\n" 35 | " width: 4px;\n" 36 | "}\n" 37 | "\n" 38 | "QScrollBar::handle:vertical\n" 39 | "{\n" 40 | " background-color: #424242;\n" 41 | "}\n" 42 | "\n" 43 | "QScrollBar::sub-page:vertical\n" 44 | "{\n" 45 | " background: none;\n" 46 | "}\n" 47 | "\n" 48 | "QScrollBar::add-page:vertical\n" 49 | "{\n" 50 | " background-color: rgb(30, 30, 30);\n" 51 | "}\n" 52 | "\n" 53 | "QScrollBar::add-line:vertical\n" 54 | "{\n" 55 | " border: none;\n" 56 | " background: none;\n" 57 | "}\n" 58 | "\n" 59 | "QScrollBar::sub-line:vertical \n" 60 | "{\n" 61 | " border: none;\n" 62 | " background: none;\n" 63 | "}") 64 | self.centralwidget = QtWidgets.QWidget(MainWindow) 65 | self.centralwidget.setObjectName("centralwidget") 66 | self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) 67 | self.verticalLayout.setContentsMargins(0, 0, 0, 0) 68 | self.verticalLayout.setObjectName("verticalLayout") 69 | self.layoutTitleBar = QtWidgets.QHBoxLayout() 70 | self.layoutTitleBar.setContentsMargins(0, 0, -1, -1) 71 | self.layoutTitleBar.setSpacing(0) 72 | self.layoutTitleBar.setObjectName("layoutTitleBar") 73 | self.btnSettings = QtWidgets.QPushButton(self.centralwidget) 74 | self.btnSettings.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 75 | self.btnSettings.setToolTip("Settings Menu") 76 | self.btnSettings.setStyleSheet("QPushButton\n" 77 | "{\n" 78 | " background-color: rgb(60, 60, 60);\n" 79 | " border-style: solid;\n" 80 | " border-width: 6px 0px 6px 0px;\n" 81 | "}\n" 82 | "\n" 83 | "QPushButton:pressed\n" 84 | "{\n" 85 | " background-color: rgb(80, 80, 80);\n" 86 | "}\n" 87 | "\n" 88 | "QPushButton:hover\n" 89 | "{\n" 90 | " background-color: rgb(80, 80, 80);\n" 91 | "}\n" 92 | "\n" 93 | "QPushButton::menu-indicator \n" 94 | "{\n" 95 | " image: none;\n" 96 | "}") 97 | icon1 = QtGui.QIcon() 98 | icon1.addPixmap(QtGui.QPixmap(":/icons/settings.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 99 | self.btnSettings.setIcon(icon1) 100 | self.btnSettings.setIconSize(QtCore.QSize(20, 20)) 101 | self.btnSettings.setObjectName("btnSettings") 102 | self.layoutTitleBar.addWidget(self.btnSettings) 103 | self.btnWiki = QtWidgets.QPushButton(self.centralwidget) 104 | self.btnWiki.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 105 | self.btnWiki.setToolTip("Wiki Page") 106 | self.btnWiki.setStyleSheet("QPushButton\n" 107 | "{\n" 108 | " background-color: rgb(60, 60, 60);\n" 109 | " border-style: solid;\n" 110 | " border-width: 6px;\n" 111 | "}\n" 112 | "\n" 113 | "QPushButton:pressed\n" 114 | "{\n" 115 | " background-color: rgb(80, 80, 80);\n" 116 | "}\n" 117 | "\n" 118 | "QPushButton:hover\n" 119 | "{\n" 120 | " background-color: rgb(80, 80, 80);\n" 121 | "}") 122 | icon2 = QtGui.QIcon() 123 | icon2.addPixmap(QtGui.QPixmap(":/icons/wiki.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 124 | self.btnWiki.setIcon(icon2) 125 | self.btnWiki.setIconSize(QtCore.QSize(20, 20)) 126 | self.btnWiki.setObjectName("btnWiki") 127 | self.layoutTitleBar.addWidget(self.btnWiki) 128 | self.title = QtWidgets.QLabel(self.centralwidget) 129 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred) 130 | sizePolicy.setHorizontalStretch(0) 131 | sizePolicy.setVerticalStretch(0) 132 | sizePolicy.setHeightForWidth(self.title.sizePolicy().hasHeightForWidth()) 133 | self.title.setSizePolicy(sizePolicy) 134 | font = QtGui.QFont() 135 | font.setPointSize(10) 136 | self.title.setFont(font) 137 | self.title.setStyleSheet("background-color: rgb(60, 60, 60);\n" 138 | "color: rgb(204, 204, 204);") 139 | self.title.setText("Blender Version Manager") 140 | self.title.setAlignment(QtCore.Qt.AlignCenter) 141 | self.title.setTextInteractionFlags(QtCore.Qt.NoTextInteraction) 142 | self.title.setObjectName("title") 143 | self.layoutTitleBar.addWidget(self.title) 144 | self.btnMinimize = QtWidgets.QPushButton(self.centralwidget) 145 | self.btnMinimize.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 146 | self.btnMinimize.setStyleSheet("QPushButton\n" 147 | "{\n" 148 | " background-color: rgb(60, 60, 60);\n" 149 | " border-style: solid;\n" 150 | " border-width: 6px;\n" 151 | "}\n" 152 | "\n" 153 | "QPushButton:pressed\n" 154 | "{\n" 155 | " background-color: rgb(80, 80, 80);\n" 156 | "}\n" 157 | "\n" 158 | "QPushButton:hover\n" 159 | "{\n" 160 | " background-color: rgb(80, 80, 80);\n" 161 | "}") 162 | icon3 = QtGui.QIcon() 163 | icon3.addPixmap(QtGui.QPixmap(":/icons/minimize.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) 164 | icon3.addPixmap(QtGui.QPixmap(":/icons/minimize.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On) 165 | self.btnMinimize.setIcon(icon3) 166 | self.btnMinimize.setIconSize(QtCore.QSize(20, 20)) 167 | self.btnMinimize.setObjectName("btnMinimize") 168 | self.layoutTitleBar.addWidget(self.btnMinimize) 169 | self.btnClose = QtWidgets.QPushButton(self.centralwidget) 170 | self.btnClose.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 171 | self.btnClose.setStyleSheet("QPushButton\n" 172 | "{\n" 173 | " background-color: rgb(60, 60, 60);\n" 174 | " border-style: solid;\n" 175 | " border-width: 6px;\n" 176 | "}\n" 177 | "\n" 178 | "QPushButton:pressed\n" 179 | "{\n" 180 | " background-color: rgb(232, 17, 35);\n" 181 | "}\n" 182 | "\n" 183 | "QPushButton:hover\n" 184 | "{\n" 185 | " background-color: rgb(232, 17, 35);\n" 186 | "}") 187 | icon4 = QtGui.QIcon() 188 | icon4.addPixmap(QtGui.QPixmap(":/icons/close.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On) 189 | self.btnClose.setIcon(icon4) 190 | self.btnClose.setIconSize(QtCore.QSize(20, 20)) 191 | self.btnClose.setObjectName("btnClose") 192 | self.layoutTitleBar.addWidget(self.btnClose) 193 | self.verticalLayout.addLayout(self.layoutTitleBar) 194 | self.layoutRootFolderSettings = QtWidgets.QHBoxLayout() 195 | self.layoutRootFolderSettings.setContentsMargins(6, -1, 6, -1) 196 | self.layoutRootFolderSettings.setSpacing(0) 197 | self.layoutRootFolderSettings.setObjectName("layoutRootFolderSettings") 198 | self.labelRootFolder = QtWidgets.QLabel(self.centralwidget) 199 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) 200 | sizePolicy.setHorizontalStretch(0) 201 | sizePolicy.setVerticalStretch(0) 202 | sizePolicy.setHeightForWidth(self.labelRootFolder.sizePolicy().hasHeightForWidth()) 203 | self.labelRootFolder.setSizePolicy(sizePolicy) 204 | font = QtGui.QFont() 205 | font.setPointSize(10) 206 | font.setBold(False) 207 | font.setUnderline(False) 208 | font.setWeight(50) 209 | font.setStrikeOut(False) 210 | font.setKerning(True) 211 | self.labelRootFolder.setFont(font) 212 | self.labelRootFolder.setStyleSheet("color: rgb(255, 255, 255);") 213 | self.labelRootFolder.setText("C:/Blender/2.8") 214 | self.labelRootFolder.setTextFormat(QtCore.Qt.PlainText) 215 | self.labelRootFolder.setTextInteractionFlags(QtCore.Qt.NoTextInteraction) 216 | self.labelRootFolder.setObjectName("labelRootFolder") 217 | self.layoutRootFolderSettings.addWidget(self.labelRootFolder) 218 | self.btnSetRootFolder = QtWidgets.QPushButton(self.centralwidget) 219 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) 220 | sizePolicy.setHorizontalStretch(0) 221 | sizePolicy.setVerticalStretch(0) 222 | sizePolicy.setHeightForWidth(self.btnSetRootFolder.sizePolicy().hasHeightForWidth()) 223 | self.btnSetRootFolder.setSizePolicy(sizePolicy) 224 | font = QtGui.QFont() 225 | font.setPointSize(10) 226 | self.btnSetRootFolder.setFont(font) 227 | self.btnSetRootFolder.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 228 | self.btnSetRootFolder.setToolTip("Change Root Folder") 229 | self.btnSetRootFolder.setStyleSheet("QPushButton\n" 230 | "{\n" 231 | " border-style: solid;\n" 232 | " border-width: 4px;\n" 233 | "}\n" 234 | " \n" 235 | "QPushButton:pressed\n" 236 | "{\n" 237 | " background-color: rgb(80, 80, 80);\n" 238 | " border-color: rgb(80, 80, 80);\n" 239 | "}\n" 240 | " \n" 241 | "QPushButton:hover\n" 242 | "{\n" 243 | " background-color: rgb(80, 80, 80);\n" 244 | " border-color: rgb(80, 80, 80);\n" 245 | "}") 246 | icon5 = QtGui.QIcon() 247 | icon5.addPixmap(QtGui.QPixmap(":/icons/folder_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 248 | self.btnSetRootFolder.setIcon(icon5) 249 | self.btnSetRootFolder.setIconSize(QtCore.QSize(20, 20)) 250 | self.btnSetRootFolder.setFlat(True) 251 | self.btnSetRootFolder.setObjectName("btnSetRootFolder") 252 | self.layoutRootFolderSettings.addWidget(self.btnSetRootFolder) 253 | self.btnOpenRootFolder = QtWidgets.QPushButton(self.centralwidget) 254 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) 255 | sizePolicy.setHorizontalStretch(0) 256 | sizePolicy.setVerticalStretch(0) 257 | sizePolicy.setHeightForWidth(self.btnOpenRootFolder.sizePolicy().hasHeightForWidth()) 258 | self.btnOpenRootFolder.setSizePolicy(sizePolicy) 259 | font = QtGui.QFont() 260 | font.setPointSize(10) 261 | self.btnOpenRootFolder.setFont(font) 262 | self.btnOpenRootFolder.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 263 | self.btnOpenRootFolder.setToolTip("Open Root Folder") 264 | self.btnOpenRootFolder.setStyleSheet("QPushButton\n" 265 | "{\n" 266 | " border-style: solid;\n" 267 | " border-width: 4px;\n" 268 | "}\n" 269 | " \n" 270 | "QPushButton:pressed\n" 271 | "{\n" 272 | " background-color: rgb(80, 80, 80);\n" 273 | " border-color: rgb(80, 80, 80);\n" 274 | "}\n" 275 | " \n" 276 | "QPushButton:hover\n" 277 | "{\n" 278 | " background-color: rgb(80, 80, 80);\n" 279 | " border-color: rgb(80, 80, 80);\n" 280 | "}") 281 | icon6 = QtGui.QIcon() 282 | icon6.addPixmap(QtGui.QPixmap(":/icons/folder_open.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 283 | self.btnOpenRootFolder.setIcon(icon6) 284 | self.btnOpenRootFolder.setIconSize(QtCore.QSize(20, 20)) 285 | self.btnOpenRootFolder.setDefault(False) 286 | self.btnOpenRootFolder.setFlat(True) 287 | self.btnOpenRootFolder.setObjectName("btnOpenRootFolder") 288 | self.layoutRootFolderSettings.addWidget(self.btnOpenRootFolder) 289 | self.verticalLayout.addLayout(self.layoutRootFolderSettings) 290 | self.line = QtWidgets.QFrame(self.centralwidget) 291 | self.line.setStyleSheet("margin: 0px 7px 0px 7px;\n" 292 | "color: rgb(97, 97, 98);") 293 | self.line.setFrameShadow(QtWidgets.QFrame.Plain) 294 | self.line.setLineWidth(2) 295 | self.line.setFrameShape(QtWidgets.QFrame.HLine) 296 | self.line.setObjectName("line") 297 | self.verticalLayout.addWidget(self.line) 298 | self.layoutUpdateTaskIndicator = QtWidgets.QHBoxLayout() 299 | self.layoutUpdateTaskIndicator.setContentsMargins(6, -1, 6, -1) 300 | self.layoutUpdateTaskIndicator.setSpacing(0) 301 | self.layoutUpdateTaskIndicator.setObjectName("layoutUpdateTaskIndicator") 302 | self.progressBar = QtWidgets.QProgressBar(self.centralwidget) 303 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) 304 | sizePolicy.setHorizontalStretch(0) 305 | sizePolicy.setVerticalStretch(0) 306 | sizePolicy.setHeightForWidth(self.progressBar.sizePolicy().hasHeightForWidth()) 307 | self.progressBar.setSizePolicy(sizePolicy) 308 | self.progressBar.setMinimumSize(QtCore.QSize(0, 28)) 309 | font = QtGui.QFont() 310 | font.setPointSize(10) 311 | self.progressBar.setFont(font) 312 | self.progressBar.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor)) 313 | self.progressBar.setToolTip("") 314 | self.progressBar.setStatusTip("") 315 | self.progressBar.setAutoFillBackground(False) 316 | self.progressBar.setStyleSheet("QProgressBar\n" 317 | "{\n" 318 | " color: rgb(255, 255, 255);\n" 319 | " background-color: rgb(51, 51, 51);\n" 320 | " border-color: rgb(51, 51, 51);\n" 321 | "}\n" 322 | "\n" 323 | "QProgressBar::chunk \n" 324 | "{\n" 325 | " background: rgb(49, 117, 52);\n" 326 | "}") 327 | self.progressBar.setProperty("value", 0) 328 | self.progressBar.setAlignment(QtCore.Qt.AlignCenter) 329 | self.progressBar.setTextVisible(True) 330 | self.progressBar.setInvertedAppearance(False) 331 | self.progressBar.setTextDirection(QtWidgets.QProgressBar.TopToBottom) 332 | self.progressBar.setFormat("No Tasks") 333 | self.progressBar.setObjectName("progressBar") 334 | self.layoutUpdateTaskIndicator.addWidget(self.progressBar) 335 | self.btnUpdate = QtWidgets.QPushButton(self.centralwidget) 336 | self.btnUpdate.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 337 | self.btnUpdate.setToolTip("Start Downloading") 338 | self.btnUpdate.setStatusTip("") 339 | self.btnUpdate.setStyleSheet("QPushButton\n" 340 | "{\n" 341 | " color: rgb(255, 255, 255);\n" 342 | " background-color: rgb(51, 51, 51);\n" 343 | " border-style: solid;\n" 344 | " border-color: rgb(51, 51, 51);\n" 345 | " border-width: 4px;\n" 346 | "}\n" 347 | " \n" 348 | "QPushButton:pressed\n" 349 | "{\n" 350 | " background-color: rgb(80, 80, 80);\n" 351 | " border-color: rgb(80, 80, 80);\n" 352 | "}\n" 353 | " \n" 354 | "QPushButton:hover\n" 355 | "{\n" 356 | " background-color: rgb(80, 80, 80);\n" 357 | " border-color: rgb(80, 80, 80);\n" 358 | "}") 359 | self.btnUpdate.setText("") 360 | icon7 = QtGui.QIcon() 361 | icon7.addPixmap(QtGui.QPixmap(":/icons/download.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 362 | self.btnUpdate.setIcon(icon7) 363 | self.btnUpdate.setIconSize(QtCore.QSize(20, 20)) 364 | self.btnUpdate.setFlat(True) 365 | self.btnUpdate.setObjectName("btnUpdate") 366 | self.layoutUpdateTaskIndicator.addWidget(self.btnUpdate) 367 | self.btnCancel = QtWidgets.QPushButton(self.centralwidget) 368 | self.btnCancel.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 369 | self.btnCancel.setToolTip("Cancel Downloading") 370 | self.btnCancel.setStatusTip("") 371 | self.btnCancel.setStyleSheet("QPushButton\n" 372 | "{\n" 373 | " color: rgb(255, 255, 255);\n" 374 | " background-color: rgb(51, 51, 51);\n" 375 | " border-style: solid;\n" 376 | " border-color: rgb(51, 51, 51);\n" 377 | " border-width: 4px;\n" 378 | "}\n" 379 | " \n" 380 | "QPushButton:pressed\n" 381 | "{\n" 382 | " background-color: rgb(80, 80, 80);\n" 383 | " border-color: rgb(80, 80, 80);\n" 384 | "}\n" 385 | " \n" 386 | "QPushButton:hover\n" 387 | "{\n" 388 | " background-color: rgb(80, 80, 80);\n" 389 | " border-color: rgb(80, 80, 80);\n" 390 | "}") 391 | self.btnCancel.setText("") 392 | icon8 = QtGui.QIcon() 393 | icon8.addPixmap(QtGui.QPixmap(":/icons/stop.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 394 | self.btnCancel.setIcon(icon8) 395 | self.btnCancel.setIconSize(QtCore.QSize(20, 20)) 396 | self.btnCancel.setFlat(True) 397 | self.btnCancel.setObjectName("btnCancel") 398 | self.layoutUpdateTaskIndicator.addWidget(self.btnCancel) 399 | self.verticalLayout.addLayout(self.layoutUpdateTaskIndicator) 400 | self.scrollArea = QtWidgets.QScrollArea(self.centralwidget) 401 | self.scrollArea.setStyleSheet("QWidget\n" 402 | "{\n" 403 | " background-color: #1e1e1e;\n" 404 | "}") 405 | self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) 406 | self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain) 407 | self.scrollArea.setLineWidth(0) 408 | self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) 409 | self.scrollArea.setWidgetResizable(True) 410 | self.scrollArea.setObjectName("scrollArea") 411 | self.scrollAreaWidgetContents = QtWidgets.QWidget() 412 | self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 400, 69)) 413 | self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") 414 | self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) 415 | self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) 416 | self.verticalLayout_2.setSpacing(0) 417 | self.verticalLayout_2.setObjectName("verticalLayout_2") 418 | self.layoutListVersions = QtWidgets.QVBoxLayout() 419 | self.layoutListVersions.setContentsMargins(-1, -1, 0, -1) 420 | self.layoutListVersions.setSpacing(6) 421 | self.layoutListVersions.setObjectName("layoutListVersions") 422 | self.verticalLayout_2.addLayout(self.layoutListVersions) 423 | self.zeroBuildsWarning = QtWidgets.QLabel(self.scrollAreaWidgetContents) 424 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) 425 | sizePolicy.setHorizontalStretch(0) 426 | sizePolicy.setVerticalStretch(0) 427 | sizePolicy.setHeightForWidth(self.zeroBuildsWarning.sizePolicy().hasHeightForWidth()) 428 | self.zeroBuildsWarning.setSizePolicy(sizePolicy) 429 | font = QtGui.QFont() 430 | font.setPointSize(10) 431 | font.setStyleStrategy(QtGui.QFont.PreferAntialias) 432 | self.zeroBuildsWarning.setFont(font) 433 | self.zeroBuildsWarning.setStyleSheet("color: white;") 434 | self.zeroBuildsWarning.setTextFormat(QtCore.Qt.PlainText) 435 | self.zeroBuildsWarning.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter) 436 | self.zeroBuildsWarning.setTextInteractionFlags(QtCore.Qt.NoTextInteraction) 437 | self.zeroBuildsWarning.setObjectName("zeroBuildsWarning") 438 | self.verticalLayout_2.addWidget(self.zeroBuildsWarning) 439 | spacerItem = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) 440 | self.verticalLayout_2.addItem(spacerItem) 441 | self.scrollArea.setWidget(self.scrollAreaWidgetContents) 442 | self.verticalLayout.addWidget(self.scrollArea) 443 | MainWindow.setCentralWidget(self.centralwidget) 444 | self.menubar = QtWidgets.QMenuBar(MainWindow) 445 | self.menubar.setGeometry(QtCore.QRect(0, 0, 400, 21)) 446 | self.menubar.setStyleSheet("") 447 | self.menubar.setNativeMenuBar(False) 448 | self.menubar.setObjectName("menubar") 449 | self.menuFile = QtWidgets.QMenu(self.menubar) 450 | self.menuFile.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) 451 | self.menuFile.setStyleSheet("QMenu\n" 452 | "{\n" 453 | " background-color: rgb(37, 37, 38);\n" 454 | " color: rgb(255, 255, 255);\n" 455 | " padding: 1px;\n" 456 | "}\n" 457 | "\n" 458 | "QMenu::item\n" 459 | "{\n" 460 | " padding: 4px 8px 7px 28px;\n" 461 | "}\n" 462 | "\n" 463 | "QMenu::item::selected\n" 464 | "{\n" 465 | " background-color: rgb(9, 71, 113);\n" 466 | "}\n" 467 | "\n" 468 | "QMenu::icon \n" 469 | "{\n" 470 | " margin: 6px;\n" 471 | "}\n" 472 | "\n" 473 | "QMenu::icon:checked\n" 474 | "{\n" 475 | " image: url(:/icons/tick_on.png);\n" 476 | "}\n" 477 | "\n" 478 | "QMenu::icon:unchecked\n" 479 | "{\n" 480 | " image: url(:/icons/tick_off.png);\n" 481 | "}") 482 | self.menuFile.setObjectName("menuFile") 483 | MainWindow.setMenuBar(self.menubar) 484 | self.statusbar = QtWidgets.QStatusBar(MainWindow) 485 | self.statusbar.setStatusTip("") 486 | self.statusbar.setSizeGripEnabled(True) 487 | self.statusbar.setObjectName("statusbar") 488 | MainWindow.setStatusBar(self.statusbar) 489 | self.actionToggleRegisterBlend = QtWidgets.QAction(MainWindow) 490 | self.actionToggleRegisterBlend.setCheckable(True) 491 | icon9 = QtGui.QIcon() 492 | icon9.addPixmap(QtGui.QPixmap(":/icons/fake.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On) 493 | self.actionToggleRegisterBlend.setIcon(icon9) 494 | font = QtGui.QFont() 495 | font.setPointSize(10) 496 | self.actionToggleRegisterBlend.setFont(font) 497 | self.actionToggleRegisterBlend.setObjectName("actionToggleRegisterBlend") 498 | self.actionToggleRunMinimized = QtWidgets.QAction(MainWindow) 499 | self.actionToggleRunMinimized.setCheckable(True) 500 | self.actionToggleRunMinimized.setIcon(icon9) 501 | font = QtGui.QFont() 502 | font.setPointSize(10) 503 | self.actionToggleRunMinimized.setFont(font) 504 | self.actionToggleRunMinimized.setObjectName("actionToggleRunMinimized") 505 | self.actionQuit = QtWidgets.QAction(MainWindow) 506 | icon10 = QtGui.QIcon() 507 | icon10.addPixmap(QtGui.QPixmap(":/icons/quit.png"), QtGui.QIcon.Normal, QtGui.QIcon.On) 508 | self.actionQuit.setIcon(icon10) 509 | self.actionQuit.setText("Quit Ctrl+Q") 510 | self.actionQuit.setToolTip("Quit") 511 | self.actionQuit.setStatusTip("") 512 | font = QtGui.QFont() 513 | font.setPointSize(10) 514 | self.actionQuit.setFont(font) 515 | self.actionQuit.setObjectName("actionQuit") 516 | self.actionToggleRunOnStartup = QtWidgets.QAction(MainWindow) 517 | self.actionToggleRunOnStartup.setCheckable(True) 518 | self.actionToggleRunOnStartup.setIcon(icon9) 519 | font = QtGui.QFont() 520 | font.setPointSize(10) 521 | self.actionToggleRunOnStartup.setFont(font) 522 | self.actionToggleRunOnStartup.setObjectName("actionToggleRunOnStartup") 523 | self.actionasd_as_sa_da = QtWidgets.QAction(MainWindow) 524 | self.actionasd_as_sa_da.setObjectName("actionasd_as_sa_da") 525 | self.menuFile.addAction(self.actionToggleRunOnStartup) 526 | self.menuFile.addAction(self.actionToggleRunMinimized) 527 | self.menuFile.addAction(self.actionToggleRegisterBlend) 528 | self.menubar.addAction(self.menuFile.menuAction()) 529 | 530 | self.retranslateUi(MainWindow) 531 | QtCore.QMetaObject.connectSlotsByName(MainWindow) 532 | 533 | def retranslateUi(self, MainWindow): 534 | _translate = QtCore.QCoreApplication.translate 535 | MainWindow.setWindowTitle(_translate("MainWindow", "Blender Version Manager")) 536 | self.zeroBuildsWarning.setText(_translate("MainWindow", "No Local Builds Found!")) 537 | self.menuFile.setTitle(_translate("MainWindow", "File")) 538 | self.actionToggleRegisterBlend.setText(_translate("MainWindow", "Register Blend-file Extension")) 539 | self.actionToggleRunMinimized.setText(_translate("MainWindow", "Launch Minimized")) 540 | self.actionQuit.setShortcut(_translate("MainWindow", "Ctrl+Q")) 541 | self.actionToggleRunOnStartup.setText(_translate("MainWindow", "Launch When System Starts")) 542 | self.actionasd_as_sa_da.setText(_translate("MainWindow", "asd as sa da ")) 543 | 544 | import resources_rc 545 | -------------------------------------------------------------------------------- /resources_rc.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | # Resource object code 4 | # 5 | # Created by: The Resource Compiler for PyQt5 (Qt v5.11.2) 6 | # 7 | # WARNING! All changes made in this file will be lost! 8 | 9 | from PyQt5 import QtCore 10 | 11 | qt_resource_data = b"\ 12 | \x00\x00\x01\x29\ 13 | \x89\ 14 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 15 | \x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ 16 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 17 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xdb\x49\x44\x41\x54\x38\x11\xb5\ 18 | \x92\x4b\x0a\xc2\x40\x10\x44\x67\x84\x80\x6e\xf4\x0c\xba\x31\xbb\ 19 | \x9c\xc0\xcf\x39\x5c\xe9\x39\xf4\x70\x7a\x08\x85\x20\x7a\x81\x80\ 20 | \x18\x57\xa2\x8b\xf8\x1a\xd3\x61\x48\x32\x23\x28\x36\x14\xd5\x53\ 21 | \x55\x3d\x9d\x84\x18\xf3\xcf\x2a\x8a\x62\x07\xb6\x5f\xed\x60\x70\ 22 | \x04\xb4\x86\xbe\x4b\x3a\x3e\x03\x7d\xe1\x78\x6e\xef\xc8\x81\x96\ 23 | \xd5\x07\x5d\x0f\xef\x03\xd1\xa6\xc5\x40\xe2\x0c\x6b\x9b\x34\x93\ 24 | \xc6\x58\x11\x49\xe4\x50\xbf\x2d\x10\xd0\x6e\xd6\xda\x81\x7e\x83\ 25 | \x73\x20\xe8\xb3\x4e\x95\xc1\x13\x44\x60\x03\xee\xe0\x53\x49\x66\ 26 | \x0d\xa2\xea\x02\x6d\x10\x63\x90\x02\x5f\x89\x17\x6b\x5e\x58\x5f\ 27 | \x41\xb5\x94\xa6\xa7\x87\x16\xee\xa2\x49\xa6\xbd\xb8\x7d\xea\x5b\ 28 | \xed\xe8\x13\x77\xba\xfe\x04\xee\x0f\xf3\x20\xb8\x04\x2b\xf0\x04\ 29 | \x5a\x6e\x46\xb5\x37\xb3\x25\x2b\x37\x5d\xe0\x99\xba\xf4\x73\x20\ 30 | \x9a\x54\xa6\x7a\x83\x31\x73\x70\x04\xe3\xba\x29\x5a\xe9\x5d\xeb\ 31 | \xde\x4f\xe7\x17\x6d\x09\xfd\x17\x8d\x13\x33\x77\x00\x00\x00\x00\ 32 | \x49\x45\x4e\x44\xae\x42\x60\x82\ 33 | \x00\x00\x00\xb1\ 34 | \x3c\ 35 | \x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\ 36 | \x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\ 37 | \x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\ 38 | \x30\x20\x30\x20\x32\x30\x20\x32\x30\x22\x3e\x3c\x74\x69\x74\x6c\ 39 | \x65\x3e\x6d\x69\x6e\x69\x6d\x69\x7a\x65\x3c\x2f\x74\x69\x74\x6c\ 40 | \x65\x3e\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\x31\x36\x2c\x31\ 41 | \x35\x48\x34\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\ 42 | \x3a\x6e\x6f\x6e\x65\x3b\x73\x74\x72\x6f\x6b\x65\x3a\x23\x63\x63\ 43 | \x63\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x63\x61\x70\ 44 | \x3a\x72\x6f\x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\ 45 | \x64\x74\x68\x3a\x32\x70\x78\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\ 46 | \ 47 | \x00\x00\x00\x98\ 48 | \x89\ 49 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 50 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 51 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 52 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\x4a\x49\x44\x41\x54\x38\x11\x63\ 53 | \x60\x18\x05\x83\x3f\x04\xfe\xff\xff\xcf\x00\xc4\x1b\x81\x98\x10\ 54 | \xd8\x88\xcd\x37\x8c\xd8\x04\x41\x26\x61\x13\x47\x17\x63\x04\x02\ 55 | \x74\x31\x26\x74\x01\x4a\xf9\xa3\x06\x52\x1a\x82\x0c\x0c\x43\x30\ 56 | \x0c\xa1\x49\x70\x13\x11\x9e\x27\x46\x0d\x11\xc6\x8c\x2a\xa1\x79\ 57 | \x08\x00\x00\x7f\xac\x32\xac\x18\x3e\xbb\xcb\x00\x00\x00\x00\x49\ 58 | \x45\x4e\x44\xae\x42\x60\x82\ 59 | \x00\x00\x01\x3e\ 60 | \x89\ 61 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 62 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 63 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 64 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xf0\x49\x44\x41\x54\x38\x11\xe5\ 65 | \x53\x41\x0e\x82\x30\x10\xa4\xc6\x03\x89\xd1\x7f\xe1\x4b\x3c\x7a\ 66 | \xf4\x03\x26\x1e\x39\xfa\x0d\x9f\x81\x1f\xe0\x1b\x06\x2e\xdc\xea\ 67 | \x4c\xd9\x36\x6b\x4b\x49\xe0\xe0\x41\x9b\x94\x9d\xce\xec\x4e\x17\ 68 | \x36\x14\xc5\x4f\x2d\x6b\xed\x11\xfb\x89\xdd\x4b\xac\x56\xbf\xa0\ 69 | \x98\x21\x58\x4b\x13\x07\xc6\xc7\x3a\x53\xd4\xb2\x33\xb7\x22\xc3\ 70 | \x46\x77\x69\xf4\x01\xd9\x35\xce\xa5\xe2\x06\x63\xcc\x99\x67\x68\ 71 | \x3d\xf0\x5e\x69\x0e\x82\xef\xc0\x1f\x3c\xbf\xf1\x40\xa2\x36\x23\ 72 | \x55\xa2\xe0\x26\x5a\x0b\xec\x16\xcf\x0a\xb7\xa2\xa7\x01\x49\xf7\ 73 | \x94\x1d\x19\x68\x95\x32\x09\x86\xe4\x73\x35\x4c\xca\x1a\xb2\x48\ 74 | \x4c\x1b\xc4\x0e\x9b\x31\x6f\x26\x05\xb3\x86\xd9\x4e\x94\xb0\x55\ 75 | \x38\x40\xdc\x1c\x0f\x27\x68\x13\x20\x0c\x8e\xda\xa4\x21\xf8\x12\ 76 | \x93\x3b\x4d\x14\x27\x14\x2e\xff\x78\xab\x78\xca\x49\xc1\x52\xe2\ 77 | \x6b\x86\xaf\xa5\x9d\xf9\xfc\xb8\xc3\x01\xdf\x64\x87\xef\x77\xf1\ 78 | \x09\x73\x91\xb9\xd0\x07\x9d\x13\x0f\xe5\x01\xf1\x8a\xc4\xf8\x8f\ 79 | \xd1\x35\x1a\xd3\x8c\x35\xff\xbc\xde\x5b\xfa\xad\xe9\x3d\x23\x33\ 80 | \x4c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ 81 | \x00\x00\x00\xf3\ 82 | \x89\ 83 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 84 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 85 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 86 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xa5\x49\x44\x41\x54\x38\x11\xed\ 87 | \x53\xb1\x0d\x80\x30\x0c\x6b\x11\x3b\x6c\xbc\x83\xc4\x73\xf0\x01\ 88 | \xcf\x70\x08\x33\x1b\x3c\xc0\x56\x6c\xa0\x4b\x70\xa5\x8a\x15\x2a\ 89 | \x45\x51\x1c\xdb\x8d\x52\x70\xee\x3f\x6a\x03\x21\x84\x45\xe1\xaf\ 90 | \x31\x18\x86\x5c\x71\x91\x4b\xcc\xe5\xfd\x86\xd7\xa6\xf0\x06\x33\ 91 | \xa2\x55\x7b\x23\xce\xbe\xea\x25\x31\x08\x3a\xc4\x46\x31\x49\xc8\ 92 | \xe7\x2b\xb3\x46\x10\xef\x92\xe2\x54\x83\xa2\x5b\x4c\x13\x9e\xf7\ 93 | \x66\xf1\x12\x98\x44\x53\x1a\x3e\x26\x03\xe6\x23\x57\x66\x10\x7a\ 94 | \xdb\x00\x46\xd3\x95\x59\xf4\x06\x8b\x95\x06\xa8\x4d\xed\xbc\xf7\ 95 | \x13\xcc\x1a\x64\xf5\xb7\x54\x96\x9f\xf5\x61\x27\xcc\xac\xd7\x59\ 96 | \xdb\x09\x77\x4c\x33\x4a\xa6\x06\x77\x0d\x7f\x0a\x3d\x00\xc4\x73\ 97 | \x79\xdb\xd6\x2c\x3e\x04\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\ 98 | \x60\x82\ 99 | \x00\x00\x00\xdf\ 100 | \x89\ 101 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 102 | \x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ 103 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 104 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\x91\x49\x44\x41\x54\x38\x11\xdd\ 105 | \x51\x41\x0e\x80\x20\x0c\x13\xff\x63\x82\xf8\x04\x5f\xac\x1f\xf1\ 106 | \x1f\xfa\x08\x6c\x75\x33\x53\x41\x39\x1a\x9b\x2c\xeb\x58\xbb\x41\ 107 | \xa8\xaa\x7f\x21\xc6\x38\x20\xde\x30\xd8\x57\x3b\x5b\xd0\x69\xeb\ 108 | \x1c\x77\x80\xf6\x6a\x25\x2f\x79\x41\x3f\x20\xba\xab\xae\x64\x00\ 109 | \xcd\x3d\x96\x4e\xc8\xcf\x37\x94\xc7\xb7\xc8\x1e\x31\x4b\x34\xdc\ 110 | \x0a\xde\x48\x9d\x1f\x02\x01\xe1\x8d\xe1\x66\xa6\x80\xfd\x24\xd8\ 111 | \x04\xb8\x79\x33\x52\x44\x2e\x67\x48\x3b\x92\x66\x11\xab\x86\x43\ 112 | \x82\x04\xf9\x09\x76\xc0\xf1\x1d\x3a\xc0\x36\x73\xfc\xe9\x1b\xc7\ 113 | \x9c\xc9\x9c\x97\x68\x8c\xfc\xf3\x74\x05\x04\x8f\xb6\x00\xa6\xb3\ 114 | \xb2\x0c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ 115 | \x00\x00\x00\x98\ 116 | \x89\ 117 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 118 | \x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ 119 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 120 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\x4a\x49\x44\x41\x54\x38\x11\x63\ 121 | \x60\x18\xf2\x80\x11\xd9\x07\xff\xff\xff\x4f\x00\xf2\xb5\x91\xc5\ 122 | \xb0\xb0\xaf\x32\x32\x32\x2e\xc0\x22\xce\xc0\x00\x34\xa0\x1b\xab\ 123 | \x04\x92\x20\xba\x1a\x26\x24\x39\xb2\x98\xa3\x06\x30\x30\x0c\x7c\ 124 | \x18\xb0\xa0\xc5\xdd\x55\xf4\x78\x46\x93\x07\x71\xaf\x62\x11\x1b\ 125 | \xca\x42\x00\x97\x4e\x11\x56\x6a\x3e\x9d\x6a\x00\x00\x00\x00\x49\ 126 | \x45\x4e\x44\xae\x42\x60\x82\ 127 | \x00\x00\x01\x2f\ 128 | \x89\ 129 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 130 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 131 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 132 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xe1\x49\x44\x41\x54\x38\x11\xed\ 133 | \x94\xc1\x0d\xc2\x30\x0c\x45\x2b\x8e\x5d\x80\x1e\x53\x26\x28\x23\ 134 | \x77\x07\x46\xe8\x3e\x1c\xe0\x1e\xfe\x93\x62\xe4\xa6\xa9\x9a\x08\ 135 | \x4e\x88\x2f\x59\x71\xec\x6f\x27\xae\x9d\x76\xdd\x1f\xf9\x17\x88\ 136 | \x31\xf6\x12\x43\x9f\xfb\xf3\xfd\x29\x37\x28\x32\x48\x16\xc9\x94\ 137 | \x7c\x83\xe3\x9c\xd1\xe5\xbb\x26\x4e\x70\xbe\xb2\x9a\x88\x5a\xe2\ 138 | \x43\x32\x4b\xee\x6c\x12\xd0\xb1\xe1\x03\x4b\x39\x8b\xb3\x8a\xc4\ 139 | \xe9\x16\x40\xd0\x1e\xe0\x58\x15\x2e\x43\x41\x15\x91\x5b\x1c\x61\ 140 | \x2e\x84\xae\x4d\xca\x40\x03\x2e\x12\x5f\xe6\x4d\xfb\x21\x09\xba\ 141 | \x01\x0e\xdc\xfd\x46\x19\x33\x5b\xdf\x4d\x91\x9d\xc4\x1b\xf8\x6b\ 142 | \x6d\xba\xec\x9d\x1f\xeb\x3a\x9a\x92\x47\x49\x6d\xc9\x70\xf7\x4b\ 143 | \xb6\x1b\x89\xf4\x9d\xa6\x90\x50\xc9\x18\x9b\xa7\xe4\x08\x75\x63\ 144 | \xa3\x2c\xbc\x12\x40\x00\x37\xf5\xe5\xa3\x63\xb3\x39\xad\x1a\xec\ 145 | \xd5\xd3\x53\x30\xa3\x61\x18\x53\x15\x93\x0c\x1c\x1c\xd8\x37\x41\ 146 | \x41\x4d\x3f\x87\xa6\xe4\xbf\x41\x7e\x01\x60\xbc\xeb\x2c\x5a\x12\ 147 | \xc6\xca\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ 148 | \x00\x00\x00\xf2\ 149 | \x89\ 150 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 151 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 152 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 153 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xa4\x49\x44\x41\x54\x38\x11\xed\ 154 | \x92\x51\x0e\x83\x30\x08\x86\x5b\xe3\xf3\x7c\xf0\x04\xde\x64\x17\ 155 | \xea\xe1\xed\x0e\xc0\x7e\x9a\x91\x50\x02\x9b\xba\x27\xa3\x24\xa4\ 156 | \x40\xe1\x53\xa0\x29\xdd\xf2\xef\x04\xb2\x06\x10\xd1\x0a\xff\xa1\ 157 | \x62\x15\xf6\x0c\xa5\x8f\xf2\x15\xe5\x9c\xd9\x77\xc5\x02\xc3\x44\ 158 | \x53\x5d\x01\x9d\x4c\xac\xb9\x47\x81\x09\xc0\xae\x56\xe0\x83\x18\ 159 | \x3b\x4f\x1e\x85\x2b\xa3\x17\x8d\xbe\xee\xe5\xda\x98\x0b\xe4\x24\ 160 | \x67\x41\xb6\x56\xfc\x6e\x9e\xdd\x1c\x00\x69\x4b\xe1\x3f\x14\x5b\ 161 | \xaa\xbe\x9d\xba\xa3\xa3\x33\x0c\xf9\xe7\x04\x86\x4f\x22\xec\x53\ 162 | \x5d\xd8\x96\x5f\xb8\x5b\xb0\x90\xa7\xca\xf9\x65\x72\x8d\x2f\x00\ 163 | \x15\x68\xe5\x0d\x6f\x14\xce\x2d\x3e\xed\x32\xd1\x37\x94\xa5\x5c\ 164 | \xcf\xc8\x8b\x05\xe4\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\ 165 | \x82\ 166 | \x00\x00\x02\x1e\ 167 | \x3c\ 168 | \x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\ 169 | \x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\ 170 | \x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\ 171 | \x30\x20\x30\x20\x32\x30\x20\x32\x30\x22\x3e\x3c\x74\x69\x74\x6c\ 172 | \x65\x3e\x61\x70\x70\x3c\x2f\x74\x69\x74\x6c\x65\x3e\x3c\x70\x61\ 173 | \x74\x68\x20\x64\x3d\x22\x4d\x31\x31\x2e\x35\x2c\x31\x2e\x34\x38\ 174 | \x41\x31\x2e\x32\x36\x2c\x31\x2e\x32\x36\x2c\x30\x2c\x31\x2c\x30\ 175 | \x2c\x39\x2e\x37\x39\x2c\x33\x2e\x33\x34\x4c\x31\x31\x2e\x35\x33\ 176 | \x2c\x35\x48\x33\x2e\x30\x35\x61\x31\x2e\x32\x37\x2c\x31\x2e\x32\ 177 | \x37\x2c\x30\x2c\x31\x2c\x30\x2c\x30\x2c\x32\x2e\x35\x33\x48\x37\ 178 | \x6c\x2d\x36\x2c\x35\x2e\x33\x38\x61\x31\x2e\x32\x37\x2c\x31\x2e\ 179 | \x32\x37\x2c\x30\x2c\x30\x2c\x30\x2c\x31\x2e\x36\x39\x2c\x31\x2e\ 180 | \x38\x39\x6c\x33\x2d\x32\x2e\x36\x35\x41\x37\x2c\x37\x2c\x30\x2c\ 181 | \x31\x2c\x30\x2c\x31\x37\x2e\x33\x32\x2c\x36\x2e\x38\x36\x5a\x22\ 182 | \x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\x3a\x23\x66\x66\ 183 | \x66\x22\x2f\x3e\x3c\x70\x6f\x6c\x79\x6c\x69\x6e\x65\x20\x70\x6f\ 184 | \x69\x6e\x74\x73\x3d\x22\x39\x2e\x35\x34\x20\x31\x33\x2e\x30\x32\ 185 | \x20\x31\x32\x2e\x35\x34\x20\x31\x36\x2e\x30\x33\x20\x31\x35\x2e\ 186 | \x35\x35\x20\x31\x33\x2e\x30\x32\x22\x20\x73\x74\x79\x6c\x65\x3d\ 187 | \x22\x66\x69\x6c\x6c\x3a\x6e\x6f\x6e\x65\x3b\x73\x74\x72\x6f\x6b\ 188 | \x65\x3a\x23\x31\x61\x31\x61\x31\x61\x3b\x73\x74\x72\x6f\x6b\x65\ 189 | \x2d\x6c\x69\x6e\x65\x63\x61\x70\x3a\x72\x6f\x75\x6e\x64\x3b\x73\ 190 | \x74\x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x6a\x6f\x69\x6e\x3a\x72\ 191 | \x6f\x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\x64\x74\ 192 | \x68\x3a\x32\x70\x78\x22\x2f\x3e\x3c\x6c\x69\x6e\x65\x20\x78\x31\ 193 | \x3d\x22\x31\x32\x2e\x35\x34\x22\x20\x79\x31\x3d\x22\x31\x35\x2e\ 194 | \x32\x38\x22\x20\x78\x32\x3d\x22\x31\x32\x2e\x35\x34\x22\x20\x79\ 195 | \x32\x3d\x22\x37\x2e\x37\x37\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\ 196 | \x66\x69\x6c\x6c\x3a\x6e\x6f\x6e\x65\x3b\x73\x74\x72\x6f\x6b\x65\ 197 | \x3a\x23\x31\x61\x31\x61\x31\x61\x3b\x73\x74\x72\x6f\x6b\x65\x2d\ 198 | \x6c\x69\x6e\x65\x63\x61\x70\x3a\x72\x6f\x75\x6e\x64\x3b\x73\x74\ 199 | \x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x6a\x6f\x69\x6e\x3a\x72\x6f\ 200 | \x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\x64\x74\x68\ 201 | \x3a\x32\x70\x78\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\ 202 | \x00\x00\x02\x1f\ 203 | \x3c\ 204 | \x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\ 205 | \x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\ 206 | \x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\ 207 | \x30\x20\x30\x20\x32\x30\x20\x32\x30\x22\x3e\x3c\x74\x69\x74\x6c\ 208 | \x65\x3e\x61\x70\x70\x5f\x69\x6e\x76\x3c\x2f\x74\x69\x74\x6c\x65\ 209 | \x3e\x3c\x70\x61\x74\x68\x20\x64\x3d\x22\x4d\x31\x31\x2e\x35\x2c\ 210 | \x31\x2e\x34\x38\x41\x31\x2e\x32\x36\x2c\x31\x2e\x32\x36\x2c\x30\ 211 | \x2c\x31\x2c\x30\x2c\x39\x2e\x37\x39\x2c\x33\x2e\x33\x34\x4c\x31\ 212 | \x31\x2e\x35\x33\x2c\x35\x48\x33\x2e\x30\x35\x61\x31\x2e\x32\x37\ 213 | \x2c\x31\x2e\x32\x37\x2c\x30\x2c\x31\x2c\x30\x2c\x30\x2c\x32\x2e\ 214 | \x35\x33\x48\x37\x6c\x2d\x36\x2c\x35\x2e\x33\x38\x61\x31\x2e\x32\ 215 | \x37\x2c\x31\x2e\x32\x37\x2c\x30\x2c\x30\x2c\x30\x2c\x31\x2e\x36\ 216 | \x39\x2c\x31\x2e\x38\x39\x6c\x33\x2d\x32\x2e\x36\x35\x41\x37\x2c\ 217 | \x37\x2c\x30\x2c\x31\x2c\x30\x2c\x31\x37\x2e\x33\x32\x2c\x36\x2e\ 218 | \x38\x36\x5a\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\ 219 | \x3a\x23\x31\x61\x31\x61\x31\x61\x22\x2f\x3e\x3c\x70\x6f\x6c\x79\ 220 | \x6c\x69\x6e\x65\x20\x70\x6f\x69\x6e\x74\x73\x3d\x22\x39\x2e\x35\ 221 | \x34\x20\x31\x33\x2e\x30\x32\x20\x31\x32\x2e\x35\x34\x20\x31\x36\ 222 | \x2e\x30\x33\x20\x31\x35\x2e\x35\x35\x20\x31\x33\x2e\x30\x32\x22\ 223 | \x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\x3a\x6e\x6f\x6e\ 224 | \x65\x3b\x73\x74\x72\x6f\x6b\x65\x3a\x23\x66\x66\x66\x3b\x73\x74\ 225 | \x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x63\x61\x70\x3a\x72\x6f\x75\ 226 | \x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x6a\x6f\ 227 | \x69\x6e\x3a\x72\x6f\x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\ 228 | \x77\x69\x64\x74\x68\x3a\x32\x70\x78\x22\x2f\x3e\x3c\x6c\x69\x6e\ 229 | \x65\x20\x78\x31\x3d\x22\x31\x32\x2e\x35\x34\x22\x20\x79\x31\x3d\ 230 | \x22\x31\x35\x2e\x32\x38\x22\x20\x78\x32\x3d\x22\x31\x32\x2e\x35\ 231 | \x34\x22\x20\x79\x32\x3d\x22\x37\x2e\x37\x37\x22\x20\x73\x74\x79\ 232 | \x6c\x65\x3d\x22\x66\x69\x6c\x6c\x3a\x6e\x6f\x6e\x65\x3b\x73\x74\ 233 | \x72\x6f\x6b\x65\x3a\x23\x66\x66\x66\x3b\x73\x74\x72\x6f\x6b\x65\ 234 | \x2d\x6c\x69\x6e\x65\x63\x61\x70\x3a\x72\x6f\x75\x6e\x64\x3b\x73\ 235 | \x74\x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x6a\x6f\x69\x6e\x3a\x72\ 236 | \x6f\x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\x64\x74\ 237 | \x68\x3a\x32\x70\x78\x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\ 238 | \x00\x00\x01\x58\ 239 | \x89\ 240 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 241 | \x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ 242 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 243 | \x01\xc7\x6f\xa8\x64\x00\x00\x01\x0a\x49\x44\x41\x54\x38\x11\x8d\ 244 | \x92\x31\x6e\xc2\x40\x10\x45\x31\xb4\x20\x4a\xba\x14\x34\x74\x11\ 245 | \xd0\xe4\x12\x94\xc9\x29\x7c\x80\x14\xe1\x02\x96\x42\x49\xc1\x85\ 246 | \x28\xa2\x94\x20\x05\x29\x4d\x52\x99\x22\x45\x72\x01\xe7\x7d\xdb\ 247 | \xb3\x78\xb5\x66\xcd\x4a\x4f\x33\xf3\xff\xdf\x91\x65\xbb\xd7\x8b\ 248 | \x9c\xa2\x28\x06\x11\xbb\xdb\x62\xc1\x4f\x77\x2a\x92\x60\x41\x11\ 249 | \xb1\x4b\xab\xdf\x0c\x90\x7f\x82\x53\x53\xb3\x1e\xfd\x03\x1e\x6d\ 250 | \x0e\x2a\x66\x0a\x9f\x70\x6f\x26\xbd\x7b\x02\xe9\x20\x3f\x35\xdf\ 251 | \x55\xc4\x29\x9c\xe1\xce\x89\x34\xcc\x6e\x81\x74\xf9\xa0\xdc\xb4\ 252 | \x99\x93\xb1\x85\x17\x4f\xac\x2e\x78\x0b\xe4\x93\x5b\x2b\xef\x65\ 253 | \x11\x8e\x30\xf7\xc4\x2a\xdc\xb6\x60\x41\xf6\xe0\x65\x11\xfe\x60\ 254 | \xe8\x89\xd5\x82\xe0\x85\x92\x1b\xc1\xaf\x65\xed\x2b\xe4\x08\x13\ 255 | \x13\xad\x26\x49\x32\xb3\xbe\x51\x95\x53\xbe\x3c\xb6\xe0\x9d\x69\ 256 | \x55\x6b\x5d\x45\x39\xe5\x2f\x87\x47\x5a\xc2\x17\x8c\x2f\x6a\xd8\ 257 | \xc9\x87\x6f\x58\x04\x2e\xe2\x06\xf6\xd0\xba\x44\x7a\xed\xbf\x06\ 258 | \x97\x4d\x20\x90\x41\x0e\xcf\xf0\x00\x93\xba\x6a\x96\x9e\x59\xf6\ 259 | \x6a\x25\x34\x83\x1d\xbc\x81\x7e\x1a\x55\xcd\x6d\x2f\xf4\xea\x9e\ 260 | \x9b\x8d\x7f\x17\x40\xe5\x79\x05\x6a\x42\xe7\x00\x00\x00\x00\x49\ 261 | \x45\x4e\x44\xae\x42\x60\x82\ 262 | \x00\x00\x00\x55\ 263 | \x3c\ 264 | \x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\ 265 | \x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\ 266 | \x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\ 267 | \x30\x20\x30\x20\x32\x30\x20\x32\x30\x22\x3e\x3c\x74\x69\x74\x6c\ 268 | \x65\x3e\x66\x61\x6b\x65\x3c\x2f\x74\x69\x74\x6c\x65\x3e\x3c\x2f\ 269 | \x73\x76\x67\x3e\ 270 | \x00\x00\x01\x2f\ 271 | \x89\ 272 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 273 | \x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\ 274 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 275 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\xe1\x49\x44\x41\x54\x38\x11\xed\ 276 | \x94\x3d\x0a\xc2\x40\x10\x85\x13\x15\x2b\xb5\xb7\xd1\x13\x58\x5b\ 277 | \x0a\x82\x37\xd1\x6b\x78\x03\x2f\xa4\x95\xc7\xb0\x14\x92\x03\x68\ 278 | \xaa\x08\xb2\x7e\x03\xcb\x66\x33\x8c\xf9\x69\xc5\x81\xc7\xcc\x7b\ 279 | \xb3\xfb\x66\xd9\xfc\x24\xc9\x3f\x9c\x73\x0b\x70\x01\x25\x68\x8b\ 280 | \x47\xeb\x8d\xe1\x20\x66\x71\xdc\x21\x3b\x30\xf5\x59\x78\x08\x6d\ 281 | \x38\xd0\x02\x7c\xa3\xb4\x3d\x7c\x05\x6e\x3e\x1f\x54\xbf\x99\x86\ 282 | \xd1\x55\x31\xa6\x2c\x3c\xcd\xc9\x93\xaa\xe5\x9c\x76\x1b\x69\xc1\ 283 | \xe0\xa5\xd7\x0a\xf2\x09\xac\x8d\x35\xdf\xa5\x78\xba\xaa\x67\xf0\ 284 | \x2d\x68\xbc\xc3\x54\x5b\x8b\x89\xd6\x84\xa7\x84\xd5\x13\x3d\x5e\ 285 | \x6f\x3d\x94\xb8\x1f\x6a\xcb\x2c\x34\xa3\xa2\xb3\xa1\x3e\x49\xe4\ 286 | \x51\x2b\x3b\x1b\x7e\x39\xe1\xb3\xe6\x66\x11\xd9\x48\x1c\xc1\xd0\ 287 | \xea\xf7\xd6\x30\x7a\x81\x39\xc8\x40\x5b\x64\x7a\x80\xf5\x1e\x5e\ 288 | \x59\x24\x5f\xc3\x92\x7b\x7b\xeb\x0d\xbd\x39\x47\x92\x9f\xc3\x19\ 289 | \x74\xf9\x39\xe4\xbd\x07\xfc\xde\x86\x0f\x4e\xd5\x37\x32\x4b\xae\ 290 | \x23\x08\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ 291 | \x00\x00\x00\xb8\ 292 | \x89\ 293 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ 294 | \x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ 295 | \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc3\x00\x00\x0e\xc3\ 296 | \x01\xc7\x6f\xa8\x64\x00\x00\x00\x6a\x49\x44\x41\x54\x38\x11\x63\ 297 | \x60\xa0\x15\xf8\xff\xff\xff\x47\x20\x86\x81\x8f\x24\xdb\x03\xd2\ 298 | \x09\xd3\x84\xcc\x86\x89\xc1\x68\x26\x18\x03\xa8\xe8\x09\x48\x21\ 299 | \x0c\x80\xc4\xb1\xb1\xa1\x62\x4f\x60\xfa\x28\xa6\x19\x91\x4d\x00\ 300 | \x99\x8e\xcc\xc7\xc5\x66\x04\x02\x98\x1c\xdc\x0b\x30\x01\x52\xe9\ 301 | \x51\x03\x18\x18\xa8\x1e\x06\xdf\x88\x88\x05\x14\x35\xf0\xf8\x04\ 302 | \x69\xa4\x46\x3a\x28\x03\x9a\x83\x62\x03\x9a\x8b\x40\x72\x20\x35\ 303 | \xd4\x03\x00\x1c\x4c\x4c\x47\x37\xf6\xb5\x1a\x00\x00\x00\x00\x49\ 304 | \x45\x4e\x44\xae\x42\x60\x82\ 305 | \x00\x00\x01\x0a\ 306 | \x3c\ 307 | \x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\ 308 | \x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x32\x30\x30\ 309 | \x30\x2f\x73\x76\x67\x22\x20\x76\x69\x65\x77\x42\x6f\x78\x3d\x22\ 310 | \x30\x20\x30\x20\x32\x30\x20\x32\x30\x22\x3e\x3c\x74\x69\x74\x6c\ 311 | \x65\x3e\x63\x6c\x6f\x73\x65\x3c\x2f\x74\x69\x74\x6c\x65\x3e\x3c\ 312 | \x70\x61\x74\x68\x20\x64\x3d\x22\x4d\x31\x35\x2c\x31\x35\x2c\x35\ 313 | \x2c\x35\x22\x20\x73\x74\x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\x3a\ 314 | \x6e\x6f\x6e\x65\x3b\x73\x74\x72\x6f\x6b\x65\x3a\x23\x63\x63\x63\ 315 | \x3b\x73\x74\x72\x6f\x6b\x65\x2d\x6c\x69\x6e\x65\x63\x61\x70\x3a\ 316 | \x72\x6f\x75\x6e\x64\x3b\x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\x64\ 317 | \x74\x68\x3a\x32\x70\x78\x22\x2f\x3e\x3c\x70\x61\x74\x68\x20\x64\ 318 | \x3d\x22\x4d\x31\x35\x2c\x35\x2c\x35\x2c\x31\x35\x22\x20\x73\x74\ 319 | \x79\x6c\x65\x3d\x22\x66\x69\x6c\x6c\x3a\x6e\x6f\x6e\x65\x3b\x73\ 320 | \x74\x72\x6f\x6b\x65\x3a\x23\x63\x63\x63\x3b\x73\x74\x72\x6f\x6b\ 321 | \x65\x2d\x6c\x69\x6e\x65\x63\x61\x70\x3a\x72\x6f\x75\x6e\x64\x3b\ 322 | \x73\x74\x72\x6f\x6b\x65\x2d\x77\x69\x64\x74\x68\x3a\x32\x70\x78\ 323 | \x22\x2f\x3e\x3c\x2f\x73\x76\x67\x3e\ 324 | " 325 | 326 | qt_resource_name = b"\ 327 | \x00\x05\ 328 | \x00\x6f\xa6\x53\ 329 | \x00\x69\ 330 | \x00\x63\x00\x6f\x00\x6e\x00\x73\ 331 | \x00\x08\ 332 | \x0a\x85\x58\x07\ 333 | \x00\x73\ 334 | \x00\x74\x00\x61\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\ 335 | \x00\x0c\ 336 | \x0f\x88\xfa\x47\ 337 | \x00\x6d\ 338 | \x00\x69\x00\x6e\x00\x69\x00\x6d\x00\x69\x00\x7a\x00\x65\x00\x2e\x00\x73\x00\x76\x00\x67\ 339 | \x00\x08\ 340 | \x0b\x63\x58\x07\ 341 | \x00\x73\ 342 | \x00\x74\x00\x6f\x00\x70\x00\x2e\x00\x70\x00\x6e\x00\x67\ 343 | \x00\x0e\ 344 | \x0b\xf2\xcc\xa7\ 345 | \x00\x66\ 346 | \x00\x6f\x00\x6c\x00\x64\x00\x65\x00\x72\x00\x5f\x00\x61\x00\x64\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\ 347 | \x00\x0c\ 348 | \x08\x1a\x9d\x27\ 349 | \x00\x64\ 350 | \x00\x6f\x00\x77\x00\x6e\x00\x6c\x00\x6f\x00\x61\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\ 351 | \x00\x0b\ 352 | \x06\xd4\xa3\x67\ 353 | \x00\x74\ 354 | \x00\x69\x00\x63\x00\x6b\x00\x5f\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ 355 | \x00\x0c\ 356 | \x0a\x96\x15\x87\ 357 | \x00\x74\ 358 | \x00\x69\x00\x63\x00\x6b\x00\x5f\x00\x6f\x00\x66\x00\x66\x00\x2e\x00\x70\x00\x6e\x00\x67\ 359 | \x00\x0c\ 360 | \x0b\xdf\x21\x47\ 361 | \x00\x73\ 362 | \x00\x65\x00\x74\x00\x74\x00\x69\x00\x6e\x00\x67\x00\x73\x00\x2e\x00\x70\x00\x6e\x00\x67\ 363 | \x00\x0f\ 364 | \x04\x18\x96\x07\ 365 | \x00\x66\ 366 | \x00\x6f\x00\x6c\x00\x64\x00\x65\x00\x72\x00\x5f\x00\x6f\x00\x70\x00\x65\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ 367 | \x00\x07\ 368 | \x08\x73\x5a\x07\ 369 | \x00\x61\ 370 | \x00\x70\x00\x70\x00\x2e\x00\x73\x00\x76\x00\x67\ 371 | \x00\x0b\ 372 | \x00\x89\xb6\x07\ 373 | \x00\x61\ 374 | \x00\x70\x00\x70\x00\x5f\x00\x69\x00\x6e\x00\x76\x00\x2e\x00\x73\x00\x76\x00\x67\ 375 | \x00\x08\ 376 | \x0c\x07\x58\x47\ 377 | \x00\x71\ 378 | \x00\x75\x00\x69\x00\x74\x00\x2e\x00\x70\x00\x6e\x00\x67\ 379 | \x00\x08\ 380 | \x08\x18\x57\x47\ 381 | \x00\x66\ 382 | \x00\x61\x00\x6b\x00\x65\x00\x2e\x00\x73\x00\x76\x00\x67\ 383 | \x00\x08\ 384 | \x00\x1c\x58\x87\ 385 | \x00\x77\ 386 | \x00\x69\x00\x6b\x00\x69\x00\x2e\x00\x70\x00\x6e\x00\x67\ 387 | \x00\x0a\ 388 | \x0c\xad\x0f\x07\ 389 | \x00\x64\ 390 | \x00\x65\x00\x6c\x00\x65\x00\x74\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\ 391 | \x00\x09\ 392 | \x06\x98\x8e\xa7\ 393 | \x00\x63\ 394 | \x00\x6c\x00\x6f\x00\x73\x00\x65\x00\x2e\x00\x73\x00\x76\x00\x67\ 395 | " 396 | 397 | qt_resource_struct_v1 = b"\ 398 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ 399 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x10\x00\x00\x00\x02\ 400 | \x00\x00\x01\x72\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x59\ 401 | \x00\x00\x01\x2a\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x81\ 402 | \x00\x00\x00\xf2\x00\x00\x00\x00\x00\x01\x00\x00\x07\x69\ 403 | \x00\x00\x01\xa2\x00\x00\x00\x00\x00\x01\x00\x00\x10\x48\ 404 | \x00\x00\x00\x9a\x00\x00\x00\x00\x00\x01\x00\x00\x04\xb7\ 405 | \x00\x00\x01\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x00\ 406 | \x00\x00\x00\x7c\x00\x00\x00\x00\x00\x01\x00\x00\x03\xc0\ 407 | \x00\x00\x01\x16\x00\x00\x00\x00\x00\x01\x00\x00\x08\x5f\ 408 | \x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ 409 | \x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x00\x05\x9a\ 410 | \x00\x00\x00\x44\x00\x00\x00\x00\x00\x01\x00\x00\x01\xe2\ 411 | \x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\x06\x36\ 412 | \x00\x00\x00\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x02\x7e\ 413 | \x00\x00\x01\x46\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xa4\ 414 | \x00\x00\x01\x88\x00\x00\x00\x00\x00\x01\x00\x00\x0f\x8c\ 415 | \x00\x00\x00\x26\x00\x00\x00\x00\x00\x01\x00\x00\x01\x2d\ 416 | " 417 | 418 | qt_resource_struct_v2 = b"\ 419 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ 420 | \x00\x00\x00\x00\x00\x00\x00\x00\ 421 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x10\x00\x00\x00\x02\ 422 | \x00\x00\x00\x00\x00\x00\x00\x00\ 423 | \x00\x00\x01\x72\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x59\ 424 | \x00\x00\x01\x6a\xe8\x20\x01\xad\ 425 | \x00\x00\x01\x2a\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x81\ 426 | \x00\x00\x01\x6a\xc3\xe7\x88\x0a\ 427 | \x00\x00\x00\xf2\x00\x00\x00\x00\x00\x01\x00\x00\x07\x69\ 428 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 429 | \x00\x00\x01\xa2\x00\x00\x00\x00\x00\x01\x00\x00\x10\x48\ 430 | \x00\x00\x01\x6a\xc3\xe7\x88\x0a\ 431 | \x00\x00\x00\x9a\x00\x00\x00\x00\x00\x01\x00\x00\x04\xb7\ 432 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 433 | \x00\x00\x01\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x0e\x00\ 434 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 435 | \x00\x00\x00\x7c\x00\x00\x00\x00\x00\x01\x00\x00\x03\xc0\ 436 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 437 | \x00\x00\x01\x16\x00\x00\x00\x00\x00\x01\x00\x00\x08\x5f\ 438 | \x00\x00\x01\x6a\xc3\xe7\x88\x0a\ 439 | \x00\x00\x00\x10\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ 440 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 441 | \x00\x00\x00\xb6\x00\x00\x00\x00\x00\x01\x00\x00\x05\x9a\ 442 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 443 | \x00\x00\x00\x44\x00\x00\x00\x00\x00\x01\x00\x00\x01\xe2\ 444 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 445 | \x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\x06\x36\ 446 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 447 | \x00\x00\x00\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x02\x7e\ 448 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 449 | \x00\x00\x01\x46\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xa4\ 450 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 451 | \x00\x00\x01\x88\x00\x00\x00\x00\x00\x01\x00\x00\x0f\x8c\ 452 | \x00\x00\x01\x6a\xc3\xe7\x88\x0a\ 453 | \x00\x00\x00\x26\x00\x00\x00\x00\x00\x01\x00\x00\x01\x2d\ 454 | \x00\x00\x01\x6a\xc3\xe7\x88\x1a\ 455 | " 456 | 457 | qt_version = [int(v) for v in QtCore.qVersion().split('.')] 458 | if qt_version < [5, 8, 0]: 459 | rcc_version = 1 460 | qt_resource_struct = qt_resource_struct_v1 461 | else: 462 | rcc_version = 2 463 | qt_resource_struct = qt_resource_struct_v2 464 | 465 | def qInitResources(): 466 | QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data) 467 | 468 | def qCleanupResources(): 469 | QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data) 470 | 471 | qInitResources() 472 | -------------------------------------------------------------------------------- /main_window_design.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 231 11 | 12 | 13 | 14 | 15 | PreferAntialias 16 | 17 | 18 | 19 | Blender Version Manager 20 | 21 | 22 | 23 | :/icons/app.svg 24 | 25 | 26 | 27 | QMainWindow 28 | { 29 | background-color: rgb(30, 30, 30); 30 | } 31 | 32 | QScrollBar:vertical 33 | { 34 | background-color: #1e1e1e; 35 | width: 4px; 36 | } 37 | 38 | QScrollBar::handle:vertical:hover 39 | { 40 | background-color: #4f4f4f; 41 | width: 4px; 42 | } 43 | 44 | QScrollBar::handle:vertical 45 | { 46 | background-color: #424242; 47 | } 48 | 49 | QScrollBar::sub-page:vertical 50 | { 51 | background: none; 52 | } 53 | 54 | QScrollBar::add-page:vertical 55 | { 56 | background-color: rgb(30, 30, 30); 57 | } 58 | 59 | QScrollBar::add-line:vertical 60 | { 61 | border: none; 62 | background: none; 63 | } 64 | 65 | QScrollBar::sub-line:vertical 66 | { 67 | border: none; 68 | background: none; 69 | } 70 | 71 | 72 | 73 | 74 | 0 75 | 76 | 77 | 0 78 | 79 | 80 | 0 81 | 82 | 83 | 0 84 | 85 | 86 | 87 | 88 | 0 89 | 90 | 91 | 0 92 | 93 | 94 | 0 95 | 96 | 97 | 98 | 99 | PointingHandCursor 100 | 101 | 102 | Settings Menu 103 | 104 | 105 | QPushButton 106 | { 107 | background-color: rgb(60, 60, 60); 108 | border-style: solid; 109 | border-width: 6px 0px 6px 0px; 110 | } 111 | 112 | QPushButton:pressed 113 | { 114 | background-color: rgb(80, 80, 80); 115 | } 116 | 117 | QPushButton:hover 118 | { 119 | background-color: rgb(80, 80, 80); 120 | } 121 | 122 | QPushButton::menu-indicator 123 | { 124 | image: none; 125 | } 126 | 127 | 128 | 129 | :/icons/settings.png 130 | 131 | 132 | 133 | 134 | 20 135 | 20 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | PointingHandCursor 144 | 145 | 146 | Wiki Page 147 | 148 | 149 | QPushButton 150 | { 151 | background-color: rgb(60, 60, 60); 152 | border-style: solid; 153 | border-width: 6px; 154 | } 155 | 156 | QPushButton:pressed 157 | { 158 | background-color: rgb(80, 80, 80); 159 | } 160 | 161 | QPushButton:hover 162 | { 163 | background-color: rgb(80, 80, 80); 164 | } 165 | 166 | 167 | 168 | :/icons/wiki.png 169 | 170 | 171 | 172 | 173 | 20 174 | 20 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 0 184 | 0 185 | 186 | 187 | 188 | 189 | 10 190 | 191 | 192 | 193 | background-color: rgb(60, 60, 60); 194 | color: rgb(204, 204, 204); 195 | 196 | 197 | Blender Version Manager 198 | 199 | 200 | Qt::AlignCenter 201 | 202 | 203 | 6 204 | 205 | 206 | Qt::NoTextInteraction 207 | 208 | 209 | 210 | 211 | 212 | 213 | PointingHandCursor 214 | 215 | 216 | QPushButton 217 | { 218 | background-color: rgb(60, 60, 60); 219 | border-style: solid; 220 | border-width: 6px; 221 | } 222 | 223 | QPushButton:pressed 224 | { 225 | background-color: rgb(80, 80, 80); 226 | } 227 | 228 | QPushButton:hover 229 | { 230 | background-color: rgb(80, 80, 80); 231 | } 232 | 233 | 234 | 235 | :/icons/minimize.png 236 | :/icons/minimize.svg:/icons/minimize.png 237 | 238 | 239 | 240 | 20 241 | 20 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | PointingHandCursor 250 | 251 | 252 | QPushButton 253 | { 254 | background-color: rgb(60, 60, 60); 255 | border-style: solid; 256 | border-width: 6px; 257 | } 258 | 259 | QPushButton:pressed 260 | { 261 | background-color: rgb(232, 17, 35); 262 | } 263 | 264 | QPushButton:hover 265 | { 266 | background-color: rgb(232, 17, 35); 267 | } 268 | 269 | 270 | 271 | :/icons/close.svg 272 | 273 | 274 | 275 | 276 | 20 277 | 20 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 0 288 | 289 | 290 | 6 291 | 292 | 293 | 6 294 | 295 | 296 | 297 | 298 | 299 | 0 300 | 0 301 | 302 | 303 | 304 | 305 | 10 306 | 50 307 | false 308 | false 309 | false 310 | true 311 | 312 | 313 | 314 | color: rgb(255, 255, 255); 315 | 316 | 317 | C:/Blender/2.8 318 | 319 | 320 | Qt::PlainText 321 | 322 | 323 | Qt::NoTextInteraction 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 0 332 | 0 333 | 334 | 335 | 336 | 337 | 10 338 | 339 | 340 | 341 | PointingHandCursor 342 | 343 | 344 | Change Root Folder 345 | 346 | 347 | QPushButton 348 | { 349 | border-style: solid; 350 | border-width: 4px; 351 | } 352 | 353 | QPushButton:pressed 354 | { 355 | background-color: rgb(80, 80, 80); 356 | border-color: rgb(80, 80, 80); 357 | } 358 | 359 | QPushButton:hover 360 | { 361 | background-color: rgb(80, 80, 80); 362 | border-color: rgb(80, 80, 80); 363 | } 364 | 365 | 366 | 367 | :/icons/folder_add.png 368 | 369 | 370 | 371 | 372 | 20 373 | 20 374 | 375 | 376 | 377 | true 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 0 386 | 0 387 | 388 | 389 | 390 | 391 | 10 392 | 393 | 394 | 395 | PointingHandCursor 396 | 397 | 398 | Open Root Folder 399 | 400 | 401 | QPushButton 402 | { 403 | border-style: solid; 404 | border-width: 4px; 405 | } 406 | 407 | QPushButton:pressed 408 | { 409 | background-color: rgb(80, 80, 80); 410 | border-color: rgb(80, 80, 80); 411 | } 412 | 413 | QPushButton:hover 414 | { 415 | background-color: rgb(80, 80, 80); 416 | border-color: rgb(80, 80, 80); 417 | } 418 | 419 | 420 | 421 | :/icons/folder_open.png 422 | 423 | 424 | 425 | 426 | 20 427 | 20 428 | 429 | 430 | 431 | false 432 | 433 | 434 | true 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | margin: 0px 7px 0px 7px; 444 | color: rgb(97, 97, 98); 445 | 446 | 447 | QFrame::Plain 448 | 449 | 450 | 2 451 | 452 | 453 | Qt::Horizontal 454 | 455 | 456 | 457 | 458 | 459 | 460 | 0 461 | 462 | 463 | 6 464 | 465 | 466 | 6 467 | 468 | 469 | 470 | 471 | 472 | 0 473 | 0 474 | 475 | 476 | 477 | 478 | 0 479 | 28 480 | 481 | 482 | 483 | 484 | 10 485 | 486 | 487 | 488 | ArrowCursor 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | false 498 | 499 | 500 | QProgressBar 501 | { 502 | color: rgb(255, 255, 255); 503 | background-color: rgb(51, 51, 51); 504 | border-color: rgb(51, 51, 51); 505 | } 506 | 507 | QProgressBar::chunk 508 | { 509 | background: rgb(49, 117, 52); 510 | } 511 | 512 | 513 | 0 514 | 515 | 516 | Qt::AlignCenter 517 | 518 | 519 | true 520 | 521 | 522 | false 523 | 524 | 525 | QProgressBar::TopToBottom 526 | 527 | 528 | No Tasks 529 | 530 | 531 | 532 | 533 | 534 | 535 | PointingHandCursor 536 | 537 | 538 | Start Downloading 539 | 540 | 541 | 542 | 543 | 544 | QPushButton 545 | { 546 | color: rgb(255, 255, 255); 547 | background-color: rgb(51, 51, 51); 548 | border-style: solid; 549 | border-color: rgb(51, 51, 51); 550 | border-width: 4px; 551 | } 552 | 553 | QPushButton:pressed 554 | { 555 | background-color: rgb(80, 80, 80); 556 | border-color: rgb(80, 80, 80); 557 | } 558 | 559 | QPushButton:hover 560 | { 561 | background-color: rgb(80, 80, 80); 562 | border-color: rgb(80, 80, 80); 563 | } 564 | 565 | 566 | 567 | 568 | 569 | 570 | :/icons/download.png 571 | 572 | 573 | 574 | 575 | 20 576 | 20 577 | 578 | 579 | 580 | true 581 | 582 | 583 | 584 | 585 | 586 | 587 | PointingHandCursor 588 | 589 | 590 | Cancel Downloading 591 | 592 | 593 | 594 | 595 | 596 | QPushButton 597 | { 598 | color: rgb(255, 255, 255); 599 | background-color: rgb(51, 51, 51); 600 | border-style: solid; 601 | border-color: rgb(51, 51, 51); 602 | border-width: 4px; 603 | } 604 | 605 | QPushButton:pressed 606 | { 607 | background-color: rgb(80, 80, 80); 608 | border-color: rgb(80, 80, 80); 609 | } 610 | 611 | QPushButton:hover 612 | { 613 | background-color: rgb(80, 80, 80); 614 | border-color: rgb(80, 80, 80); 615 | } 616 | 617 | 618 | 619 | 620 | 621 | 622 | :/icons/stop.png 623 | 624 | 625 | 626 | 627 | 20 628 | 20 629 | 630 | 631 | 632 | true 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | QWidget 642 | { 643 | background-color: #1e1e1e; 644 | } 645 | 646 | 647 | QFrame::NoFrame 648 | 649 | 650 | QFrame::Plain 651 | 652 | 653 | 0 654 | 655 | 656 | Qt::ScrollBarAlwaysOff 657 | 658 | 659 | true 660 | 661 | 662 | 663 | 664 | 0 665 | 0 666 | 400 667 | 69 668 | 669 | 670 | 671 | 672 | 0 673 | 674 | 675 | 0 676 | 677 | 678 | 0 679 | 680 | 681 | 0 682 | 683 | 684 | 0 685 | 686 | 687 | 688 | 689 | 6 690 | 691 | 692 | 0 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 0 701 | 0 702 | 703 | 704 | 705 | 706 | 10 707 | PreferAntialias 708 | 709 | 710 | 711 | color: white; 712 | 713 | 714 | No Local Builds Found! 715 | 716 | 717 | Qt::PlainText 718 | 719 | 720 | Qt::AlignBottom|Qt::AlignHCenter 721 | 722 | 723 | Qt::NoTextInteraction 724 | 725 | 726 | 727 | 728 | 729 | 730 | Qt::Vertical 731 | 732 | 733 | 734 | 0 735 | 0 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 0 750 | 0 751 | 400 752 | 21 753 | 754 | 755 | 756 | 757 | 758 | 759 | false 760 | 761 | 762 | 763 | PointingHandCursor 764 | 765 | 766 | QMenu 767 | { 768 | background-color: rgb(37, 37, 38); 769 | color: rgb(255, 255, 255); 770 | padding: 1px; 771 | } 772 | 773 | QMenu::item 774 | { 775 | padding: 4px 8px 7px 28px; 776 | } 777 | 778 | QMenu::item::selected 779 | { 780 | background-color: rgb(9, 71, 113); 781 | } 782 | 783 | QMenu::icon 784 | { 785 | margin: 6px; 786 | } 787 | 788 | QMenu::icon:checked 789 | { 790 | image: url(:/icons/tick_on.png); 791 | } 792 | 793 | QMenu::icon:unchecked 794 | { 795 | image: url(:/icons/tick_off.png); 796 | } 797 | 798 | 799 | File 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | true 813 | 814 | 815 | 816 | 817 | true 818 | 819 | 820 | 821 | :/icons/fake.svg 822 | 823 | 824 | 825 | Register Blend-file Extension 826 | 827 | 828 | 829 | 10 830 | 831 | 832 | 833 | 834 | 835 | true 836 | 837 | 838 | 839 | :/icons/fake.svg 840 | 841 | 842 | 843 | Launch Minimized 844 | 845 | 846 | 847 | 10 848 | 849 | 850 | 851 | 852 | 853 | 854 | :/icons/quit.png 855 | 856 | 857 | 858 | Quit Ctrl+Q 859 | 860 | 861 | Quit 862 | 863 | 864 | 865 | 866 | 867 | 868 | 10 869 | 870 | 871 | 872 | Ctrl+Q 873 | 874 | 875 | 876 | 877 | true 878 | 879 | 880 | 881 | :/icons/fake.svg 882 | 883 | 884 | 885 | Launch When System Starts 886 | 887 | 888 | 889 | 10 890 | 891 | 892 | 893 | 894 | 895 | asd as sa da 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------