PyANGKernel.GKViewModeStyleRange¶
- class GKViewModeStyleRange¶
The style value for a particular attribute when this attribute is included in the range as: [from, to].
Details
It modifies only one visualization attribute.
Synopsis¶
Methods¶
def
__init__()def
getEndingValue()def
getMaxPenSize()def
getPenSize()def
getValue()def
setPenSize()def
setRangeValues()def
setValue()
Static functions¶
def
getStarPolygon()
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 SpotType¶
This enum defines the various way to draw a spot.
- class DiagramType¶
Diagram type
- PyANGKernel.GKViewModeStyleRange.label¶
- PyANGKernel.GKViewModeStyleRange.from¶
- PyANGKernel.GKViewModeStyleRange.to¶
- PyANGKernel.GKViewModeStyleRange.strValue¶
- PyANGKernel.GKViewModeStyleRange.color¶
- PyANGKernel.GKViewModeStyleRange.alpha¶
- PyANGKernel.GKViewModeStyleRange.penSizeUnits¶
- PyANGKernel.GKViewModeStyleRange.brushStyle¶
- PyANGKernel.GKViewModeStyleRange.penStyle¶
- PyANGKernel.GKViewModeStyleRange.spot¶
- PyANGKernel.GKViewModeStyleRange.useSpotColor¶
- PyANGKernel.GKViewModeStyleRange.attr¶
- PyANGKernel.GKViewModeStyleRange.strLabel¶
- PyANGKernel.GKViewModeStyleRange.showColumnUnits¶
- PyANGKernel.GKViewModeStyleRange.showColumnName¶
- PyANGKernel.GKViewModeStyleRange.alignment¶
- PyANGKernel.GKViewModeStyleRange.AutoScale¶
- PyANGKernel.GKViewModeStyleRange.attrList¶
- PyANGKernel.GKViewModeStyleRange.diagramType¶
- __init__()¶
- static getDiagramTypeName(t)¶
- Parameters:
t –
DiagramType- Return type:
Returns the ending value for this range
Max pen size for proportional mode
Pen size
- getPenSize(obj, modelConn[, context=GKContext.anyContext])
- Parameters:
obj –
GKObjectmodelConn –
GKModelConnectioncontext –
GKContext
- Return type:
- getPenSize(obj, diagramCol, modelConn, context)
- Parameters:
obj –
GKObjectdiagramCol –
GKViewModeStyleRangeDiagramColumnmodelConn –
GKModelConnectioncontext –
GKContext
- Return type:
get Pen size using the column held by diagramCol instead of the “attribute”
- static getStarPolygon(x, y, radious)¶
- Parameters:
x – float
y – float
radious – float
- Return type:
Returns the starting value for this range
Returns the value for this range when the style’s attribute is of type
String- getViewModeStyle()¶
- Return type:
Returns the style where it belongs to
- setCommonContents(commonContents)¶
- Parameters:
commonContents –
GKContents
- setPenSize(value)¶
- Parameters:
value – float
Set the pen size
- setPenSize(minSize, maxSize)
- Parameters:
minSize – float
maxSize – float
Set the pen size for proportional mode
- setRangeValues(from, to)¶
- Parameters:
from – float
to – float
Sets the start and end values for this range
- setValue(value)¶
- Parameters:
value – str
Sets the value for this range when the style’s attribute is of type
String- setViewModeStyle(style)¶
- Parameters:
style –
GKViewModeStyle
Sets the view style