Toolbar
Jump to navigation
Jump to search
A toolbar is a set of graphical widgets put around the canvas to provide actions on objects, canvas or documents.
List of all toolbars
- 3D Box Toolbar: a toolbar to draw or edit a 3D box shape
- Calligraphy Toolbar: a toolbar to draw lines with calligraphics effects
- Circle/Arc Toolbar: a toolbar to draw or edit circles, ellipses and curves
- Connector Toolbar
- Dropper Toolbar
- Eraser Toolbar: a toolbar to delete objects in the workspace
- Gradient Toolbar: a toolbar to edit the gradient of an object
- LPE Toolbar
- Measure Toolbar: a toolbar to measure distance between nodes, objects...
- Node Editing Toolbar: a toolbar to edit nodes of a path
- Paintbucket Toolbar: a toolbar to fill a shape with a specific color
- Pen/Pencil Toolbar: a toolbar to draw straight or not-straight lines
- Rect Toolbar: a toolbar used to draw or edit a rectangle with or whithout rounded corners
- Select Toolbar
- Spiral Toolbar: a toolbar to draw or edit a spiral
- Spray Toolbar: a toolbar to dupplicate an object in multiple clones with a spray effect
- Star Toolbar: a toolbar to draw or edit stars and polygons shapes
- Text Toolbar: a toolbar to create or edit font properties of a text object
- Tweak Toolbar: a toolbar to tweak objects
- Zoom Toolbar: a toolbar to zoom in, out and fit the viewing area of the workspace
Technical informations
Source files
All toolbars are implemented in following files:
- src/widgets/toolbox.cpp
- src/widgets/<name>-toolbar.cpp
- src/widgets/<name>-toolbar.h
Preferences
Some toolbar may need to store preferences and default values.
Preferences are stored:
- For shapes toolbar in /tools/shapes/<shape_name>
- For others in /tools/<toolbar_name>
Look at each toolbar page to see its parameters and where and how they are stored.
How do I add a new toolbar?
Coming soon if anyone can write this part...
How can I add/remove an action from an existing toolbar?
Coming soon if anyone can write this part...