code: def labelValidator():
      return QtGui.QRegExpValidator(QtCore.QRegExp(r"^[^ \t].+"), None)
  
imports: import os.path
  from functools import partial
  import numpy
  from eiseg import pjpath
  from qtpy import QtCore
  from qtpy import QtGui
  from qtpy import QtWidgets
  from qtpy.QtCore import Qt
  from .config import parse_configs
label_desc: Use image node_id 5 for calling a global function with example usage: labelValidator() and returns: QtGui