24 #include "basemanager.h"
38 BaseTool* currentTool() {
return mCurrentTool; }
39 BaseTool* getTool(ToolType eToolType);
40 void setDefaultTool();
41 void setCurrentTool(ToolType eToolType);
42 void cleanupAllToolsData();
43 bool leavingThisTool();
45 void tabletSwitchToEraser();
46 void tabletRestorePrevTool();
47 int propertySwitch(
bool condition,
int property);
50 void penWidthValueChanged(
float);
51 void penFeatherValueChanged(
float);
52 void toleranceValueChanged(qreal);
54 void toolChanged(ToolType);
55 void toolPropertyChanged(ToolType, ToolPropertyType);
61 void setFeather(
float);
62 void setUseFeather(
bool);
63 void setInvisibility(
bool);
64 void setPreserveAlpha(
bool);
65 void setVectorMergeEnabled(
bool);
67 void setPressure(
bool);
69 void setStabilizerLevel(
int);
70 void setTolerance(
int);
71 void setUseFillContour(
bool);
75 ToolType meTabletBackupTool = PENCIL;
76 bool mIsSwitchedToEraser =
false;
83 #endif // TOOLMANAGER_H
QVariant property(const char *name) const const