def __init__(self, parent=None): super(Asset, self).__init__(parent=None) self.studio_image = studioImage.ImageCalibration() self._width, self._height = 150, 150 self.brows_directory = resources.getWorkspacePath() self.setup_ui() self.studio_print = studioPrint.Print(__name__, self.textedit_console)
def __init__(self, parent=None): super(Catalogue, self).__init__(parent=None) self.mouse_scroll = False self.currnet_size = [128, 128] self.brows_directory = resources.getWorkspacePath() self.sroll_size = 10 self.setup_ui() self.set_icons()
def __init__(self, parent=None): super(Preference, self).__init__(parent) self.brows_directory = resources.getWorkspacePath() self.module, self.lable, self.version = platforms.get_tool_kit() self.bundles = { 0: { 'label': 'Maya Directory', 'tag': 'maya_directory', 'path': None }, 1: { 'label': 'Library Directory', 'tag': 'library_directory', 'path': None }, 2: { 'label': 'Create Type', 'tag': 'create_type', 'types': ['None', 'import', 'reference'], 'value': 0 }, 3: { 'label': 'Maya File Type', 'tag': 'maya_file_type', 'types': ['None', 'mayaAscii', 'mayaBinary'], 'value': 0 }, 4: { 'label': 'Output Directory', 'tag': 'output_directory', 'path': None } } self.setup_ui() self.create_preference() self.create_widgets()