Script
List of all members
ToolProperties Class Reference

This object controls most of the tool properties that can be found on the Tool Properties Panel. The Tool Presets view must have been loaded for these function to be available. More...

#include <toolpresetview.h>

Inheritance diagram for ToolProperties:
Inheritance graph
[legend]
Collaboration diagram for ToolProperties:
Collaboration graph
[legend]

Public Slots

General options
void setApplyAllArts (bool b)
 set the Apply to Line Art and Colour Art checkbox state to b; in the Select Tool Options.
 
Brush Options
void setDrawBehindMode (bool b)
 toggle the Draw Behind mode of the Brush tool
 
void setAutoCreateColourArt (bool b)
 set the auto create colour art mode of the current tool to b if applicable.
 
void setAutoFlattenMode (bool b)
 set the auto flatten mode if applicable.
 
void setRespectProtectedColourMode (bool b)
 set the Respect Protected Colour mode if applicable.
 
void setDrawingMagnifierMode (bool b)
 set the magnifier mode
 
Drawing selection
void setMarkeeMode (bool b)
 set the select tool mode selection to Lasso or Marquee. If b is true, the mode will be set to Marquee.
 
void setSnapping (bool contour, bool align, bool grid)
 set the snapping mode for the contour, align and grid mode all to the modes specified in argument.
 
void setPermanentSelectionMode (bool b)
 will turn the permanent selection mode on/off depending on the parameter
 
void setSelectByColourMode (bool b)
 set the select by colour mode of the Select tool .
 
Contour editor tool options
void setShowHideAllContourEditingControls (bool b)
 toggle whether contour editor shows all tool controls or not.
 
Transform tool options
void setPegSelectionMode (bool b)
 set the selection mode of the transform tool to peg mode if b is true
 
void setTransformToolSnapping (bool align, bool grid)
 set the align and grid snapping modes of the transform tool.
 
void setShowHideManipulatorControls (bool b)
 will hide the transform tool manipulator if b is true
 
paint options
void setPaintAndRemoveTextureMode (bool b)
 instruct the paint tool to remove the opacity texture if b is true.
 
void setUsedStoredColourGradientMode (bool b)
 instruct the paint tool to use the gradient/texture matrix stored in the tool if b is true.
 
void setPaintToolShouldSelectPaintedZonesAfterPainting (bool b)
 If b is true, the paint tool will select the newly painted zone after painting. This can be useful if you want to edit a gradient on multiple zones after painting.
 
void setApplyAllDrawings (bool b)
 set the apply all drawing mode to b
 
void setApplyAllVisibleDrawings (bool b)
 set the apply all visible drawing mode to b
 
void setAutogapClosingMode (int m)
 set the auto gap closing mode to m. Mode can be 0, 1, 2 or 3, Which corresponds to No Gap, Small, Medium and Large.
 
Rect and ellipse options
void setAutoFillInside (bool b)
 set the auto fill mode of Rectangle and Ellipse tool to b
 
Cutter options
void setGestureCutter (bool b)
 set the cutter's gesture mode to b
 
void setMouseGestureBreakeMode (bool b)
 set the cutter's gesture break mode to b
 
ink options
void setShowInkableLines (bool b)
 show the inkable lines if b is true
 
void setSmartInkLineConnectionMode (bool b)
 set the smart ink line connection mode to b
 
void setInkLineSelectionMode (bool b)
 instruct the ink tool to select inked lines after inking if b is true
 
void setBringInkedLinesOnTop (bool b)
 instruct the ink tool to bring inked lines on top after inking if b is true
 
void setInkJoinMode (String)
 set the join mode of the inked lines to be joinType. Join type can be one of: "ROUND_JOIN", "MITER_JOIN" or "BEVEL_JOIN"
 
general option
void setPencilTipMode (String pencilTip)
 set the pencil tip shape used by the eraser, cutter, and ink tools whenever an existing pencil line gets split by the tool.
 
line tool options
void setLineBuildingMode (bool b)
 set the line building mode of the Pencil tool to b.
 
void setLinePushingMode (bool b)
 set the line pushing mode of the Pencil tool to b.
 
void setLineAutoGapClosing (bool b)
 toggle the auto gap closing functionality for the line and pencil tools. When the auto gap functionality is on, the line or pencil tool tries to add a stroke line to cover the gap between the newly created line and any existing line.
 

Detailed Description

This object controls most of the tool properties that can be found on the Tool Properties Panel. The Tool Presets view must have been loaded for these function to be available.

Member Function Documentation

void ToolProperties::setApplyAllArts ( bool  b)
slot

set the Apply to Line Art and Colour Art checkbox state to b; in the Select Tool Options.

void ToolProperties::setApplyAllDrawings ( bool  b)
slot

set the apply all drawing mode to b

void ToolProperties::setApplyAllVisibleDrawings ( bool  b)
slot

set the apply all visible drawing mode to b

void ToolProperties::setAutoCreateColourArt ( bool  b)
slot

set the auto create colour art mode of the current tool to b if applicable.

void ToolProperties::setAutoFillInside ( bool  b)
slot

set the auto fill mode of Rectangle and Ellipse tool to b

void ToolProperties::setAutoFlattenMode ( bool  b)
slot

set the auto flatten mode if applicable.

void ToolProperties::setAutogapClosingMode ( int  m)
slot

set the auto gap closing mode to m. Mode can be 0, 1, 2 or 3, Which corresponds to No Gap, Small, Medium and Large.

void ToolProperties::setBringInkedLinesOnTop ( bool  b)
slot

instruct the ink tool to bring inked lines on top after inking if b is true

void ToolProperties::setDrawBehindMode ( bool  b)
slot

toggle the Draw Behind mode of the Brush tool

void ToolProperties::setDrawingMagnifierMode ( bool  b)
slot

set the magnifier mode

void ToolProperties::setGestureCutter ( bool  b)
slot

set the cutter's gesture mode to b

void ToolProperties::setInkJoinMode ( String  )
slot

set the join mode of the inked lines to be joinType. Join type can be one of: "ROUND_JOIN", "MITER_JOIN" or "BEVEL_JOIN"

void ToolProperties::setInkLineSelectionMode ( bool  b)
slot

instruct the ink tool to select inked lines after inking if b is true

void ToolProperties::setLineAutoGapClosing ( bool  b)
slot

toggle the auto gap closing functionality for the line and pencil tools. When the auto gap functionality is on, the line or pencil tool tries to add a stroke line to cover the gap between the newly created line and any existing line.

void ToolProperties::setLineBuildingMode ( bool  b)
slot

set the line building mode of the Pencil tool to b.

void ToolProperties::setLinePushingMode ( bool  b)
slot

set the line pushing mode of the Pencil tool to b.

void ToolProperties::setMarkeeMode ( bool  b)
slot

set the select tool mode selection to Lasso or Marquee. If b is true, the mode will be set to Marquee.

void ToolProperties::setMouseGestureBreakeMode ( bool  b)
slot

set the cutter's gesture break mode to b

void ToolProperties::setPaintAndRemoveTextureMode ( bool  b)
slot

instruct the paint tool to remove the opacity texture if b is true.

void ToolProperties::setPaintToolShouldSelectPaintedZonesAfterPainting ( bool  b)
slot

If b is true, the paint tool will select the newly painted zone after painting. This can be useful if you want to edit a gradient on multiple zones after painting.

void ToolProperties::setPegSelectionMode ( bool  b)
slot

set the selection mode of the transform tool to peg mode if b is true

void ToolProperties::setPencilTipMode ( String  pencilTip)
slot

set the pencil tip shape used by the eraser, cutter, and ink tools whenever an existing pencil line gets split by the tool.

Parameters
pencilTip,:can have one of the following values: "ROUND_TIP", "FLAT_TIP" or "BEVEL_TIP".
void ToolProperties::setPermanentSelectionMode ( bool  b)
slot

will turn the permanent selection mode on/off depending on the parameter

void ToolProperties::setRespectProtectedColourMode ( bool  b)
slot

set the Respect Protected Colour mode if applicable.

void ToolProperties::setSelectByColourMode ( bool  b)
slot

set the select by colour mode of the Select tool .

void ToolProperties::setShowHideAllContourEditingControls ( bool  b)
slot

toggle whether contour editor shows all tool controls or not.

void ToolProperties::setShowHideManipulatorControls ( bool  b)
slot

will hide the transform tool manipulator if b is true

void ToolProperties::setShowInkableLines ( bool  b)
slot

show the inkable lines if b is true

void ToolProperties::setSmartInkLineConnectionMode ( bool  b)
slot

set the smart ink line connection mode to b

void ToolProperties::setSnapping ( bool  contour,
bool  align,
bool  grid 
)
slot

set the snapping mode for the contour, align and grid mode all to the modes specified in argument.

void ToolProperties::setTransformToolSnapping ( bool  align,
bool  grid 
)
slot

set the align and grid snapping modes of the transform tool.

void ToolProperties::setUsedStoredColourGradientMode ( bool  b)
slot

instruct the paint tool to use the gradient/texture matrix stored in the tool if b is true.


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