Uranium
Application Framework
UM.Settings.Models.ContainerStacksModel.ContainerStacksModel Class Reference
Inheritance diagram for UM.Settings.Models.ContainerStacksModel.ContainerStacksModel:
UM.Qt.ListModel.ListModel

Public Member Functions

def __init__
 
def setFilter (self, filter_dict)
 
def filter (self)
 
- Public Member Functions inherited from UM.Qt.ListModel.ListModel
def __init__
 
def count (self)
 
def rowCount
 
def addRoleName
 
def roleNames (self)
 
def data (self, index, role)
 
def getItem
 
def items (self)
 
def setItems
 
def appendItem
 
def insertItem
 
def removeItem
 
def clear (self)
 
def setProperty
 
def sort
 
def find
 

Static Public Attributes

int NameRole = Qt.UserRole+1
 
int IdRole = Qt.UserRole+2
 
int MetaDataRole = Qt.UserRole+3
 
tuple filterChanged = pyqtSignal()
 
- Static Public Attributes inherited from UM.Qt.ListModel.ListModel
tuple itemsChanged = pyqtSignal()
 

Detailed Description

Model that holds container stacks. By setting the filter property the stacks held by this model can be
changed.

Member Function Documentation

def UM.Settings.Models.ContainerStacksModel.ContainerStacksModel.setFilter (   self,
  filter_dict 
)
Set the filter of this model based on a string.
:param filter_dict: Dictionary to do the filtering by.

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