PathScripts.PathToolBitLibraryGui.ModelFactory Class Reference

Public Member Functions

def findLibraries (self, model)
 
def libraryOpen (self, model, lib="")
 
def newTool (self, datamodel, path)
 

Public Attributes

 path
 

Detailed Description

Helper class to generate qtdata models for toolbit libraries

Member Function Documentation

◆ findLibraries()

def PathScripts.PathToolBitLibraryGui.ModelFactory.findLibraries (   self,
  model 
)
Finds all the fctl files in a location
Returns a QStandardItemModel

◆ libraryOpen()

def PathScripts.PathToolBitLibraryGui.ModelFactory.libraryOpen (   self,
  model,
  lib = "" 
)
opens the tools in library
Returns a QStandardItemModel

References PathScripts.PathToolBitLibraryGui.ModelFactory.__libraryLoad().

◆ newTool()

def PathScripts.PathToolBitLibraryGui.ModelFactory.newTool (   self,
  datamodel,
  path 
)
Adds a toolbit item to a model

References PathScripts.PathToolBitLibraryGui.ModelFactory._toolAdd().

Member Data Documentation

◆ path


The documentation for this class was generated from the following file: