PyANGKernel.GKObjectComparer

class GKObjectComparer

A helper class to compare a given object against a set of conditions

Synopsis

Static functions

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

class Operator
static compare(value, refValue, op)
Parameters:
  • value – object

  • refValue – object

  • opOperator

Return type:

bool

static compare(object, column, op, v1, v2[, guiUnits=false[, context=GKContext.anyContext[, modelConn=None]]])
Parameters:
Return type:

bool

static compare(object, column, op, text1, text2[, guiUnits=false[, context=GKContext.anyContext[, modelConn=None[, ignoreDiacritics=false]]]])
Parameters:
Return type:

bool

static compare(object, column, op, text1, text2, value, isANumber[, guiUnits=false[, context=GKContext.anyContext[, modelConn=None[, ignoreDiacritics=false]]]])
Parameters:
Return type:

bool