src/WhiskerToolbox/Media_Widget/UI/Tools/MediaToolId.hpp
src/WhiskerToolbox/Media_Widget/UI/Tools/MediaToolId.hpp
Identifiers for Media Viewer toolbar tools.
Types
| Name | |
|---|---|
| enum class | MediaToolId { None, Select, Pen, Eraser, Smooth} Active tool modes for the Media Viewer left toolbar. |
Types Documentation
enum MediaToolId
| Enumerator | Value | Description |
|---|---|---|
| None | No global tool active (canvas pan/zoom and per-datatype modes only). | |
| Select | Pointer / selection tool. | |
| Pen | Selected-line node editing (append / delete vertices). | |
| Eraser | Brush-style eraser for selected-line vertex removal. | |
| Smooth | Brush-style local smoothing on the selected line. |
Active tool modes for the Media Viewer left toolbar.
Source code
#ifndef MEDIA_TOOL_ID_HPP
#define MEDIA_TOOL_ID_HPP
#include <QMetaType>
enum class MediaToolId {
None,
Select,
Pen,
Eraser,
Smooth
};
Q_DECLARE_METATYPE(MediaToolId)
#endif// MEDIA_TOOL_ID_HPPUpdated on 2026-11-13 at 20:25:45 +0000