-
Notifications
You must be signed in to change notification settings - Fork 37
arUtil
Alexander Richter edited this page Oct 13, 2019
·
16 revisions
PATH: plex/lib/utils/arUtil.py
Default UI and functions for new scripts with and without UI.
import os
from Qt import QtWidgets, QtGui, QtCore
from tank import Tank
from arUtil import ArUtil
#*********************************************************************
# VARIABLE
TITLE = os.path.splitext(os.path.basename(__file__))[0]
LOG = Tank().log.init(script=TITLE)
#*********************************************************************
# CLASS
class NewScript(ArUtil):
def __init__(self):
super(NewScript, self).__init__()
path_ui = ("/").join([os.path.dirname(__file__), "ui", TITLE + ".ui"])
self.wgNewScript = QtUiTools.QUiLoader().load(path_ui)
self.wgHeader.setWindowTitle(TITLE)
self.resize_widget(self.wgNewScript)
self.wgHeader.layMain.addWidget(self.wgNewScript, 0, 0)
self.wgNewScript.show()
scripts
scripts/plugins
- arUtil
- arDesktop
- arSave/arLoad
- arNotice
- arConfig
in development
- arSmartLoader
- arQualityChecker