rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.ui.text_field Namespace Reference

Classes

class  PathHighlighter
 
class  LpeHighlighter
 
class  ExpressionPreviewButton
 
class  TextField
 

Functions

def unique_name
 
def rfm_text_field
 
def test
 

Variables

dictionary PTR_TABLE = {}
 
tuple BACKGROUND_COLOR = qtg.QColor(43, 43, 43)
 
tuple BLUE = qtg.QColor(41, 172, 255)
 
tuple ORANGE = qtg.QColor(252, 151, 31)
 
tuple GREEN = qtg.QColor(167, 226, 46)
 
tuple YELLOW = qtg.QColor(230, 219, 116)
 
tuple RED = qtg.QColor(245, 245, 41)
 
tuple PURPLE = qtg.QColor(182, 126, 255)
 
tuple GREY = qtg.QColor(128, 128, 128)
 
list IGNORED_KEY_EVENTS = [qtc.Qt.Key_Return, qtc.Qt.Key_Enter]
 
int FIELD_HEIGHT = 22
 
tuple LPE_TOKENS = OrderedDict()
 
list FOCUS_STEALERS
 
string kStringExprSample1 = '<ws>/images/<scene>/<scene>__<renderlayer>_<camera>.<f4>.exr'
 
string kStringExprSample2 = '/Users/plp/file.<udim>.tex'
 
tuple kStringExprSample3
 

Detailed Description

A Qt text field widget with syntax highlighting.

Function Documentation

def rfm2.ui.text_field.rfm_text_field (   name,
  kwargs 
)
Mimic a classic maya command interface for our scriptEditor widget.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def rfm2.ui.text_field.test ( )
Basic test harness

+ Here is the call graph for this function:

def rfm2.ui.text_field.unique_name (   name,
  func 
)

+ Here is the caller graph for this function:

Variable Documentation

tuple rfm2.ui.text_field.BACKGROUND_COLOR = qtg.QColor(43, 43, 43)
tuple rfm2.ui.text_field.BLUE = qtg.QColor(41, 172, 255)
int rfm2.ui.text_field.FIELD_HEIGHT = 22
list rfm2.ui.text_field.FOCUS_STEALERS
Initial value:
1 = [qtc.Qt.Key_Shift, qtc.Qt.Key_Control, qtc.Qt.Key_Meta,
2  qtc.Qt.Key_Alt, qtc.Qt.Key_AltGr]
tuple rfm2.ui.text_field.GREEN = qtg.QColor(167, 226, 46)
tuple rfm2.ui.text_field.GREY = qtg.QColor(128, 128, 128)
list rfm2.ui.text_field.IGNORED_KEY_EVENTS = [qtc.Qt.Key_Return, qtc.Qt.Key_Enter]
string rfm2.ui.text_field.kStringExprSample1 = '<ws>/images/<scene>/<scene>__<renderlayer>_<camera>.<f4>.exr'
string rfm2.ui.text_field.kStringExprSample2 = '/Users/plp/file.<udim>.tex'
tuple rfm2.ui.text_field.kStringExprSample3
Initial value:
1 = ('/Users/plp/Perforce/plp_hellhound17_rman_main/rat/apps'
2  '/rfm/scripts/rfm2/ui/text_field.py')
tuple rfm2.ui.text_field.LPE_TOKENS = OrderedDict()
tuple rfm2.ui.text_field.ORANGE = qtg.QColor(252, 151, 31)
dictionary rfm2.ui.text_field.PTR_TABLE = {}
tuple rfm2.ui.text_field.PURPLE = qtg.QColor(182, 126, 255)
tuple rfm2.ui.text_field.RED = qtg.QColor(245, 245, 41)
tuple rfm2.ui.text_field.YELLOW = qtg.QColor(230, 219, 116)