line_widget::LineEraseSelectionWidget
line_widget::LineEraseSelectionWidget
Widget for the “Erase Points” selection mode. More…
#include <LineEraseSelectionWidget.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | eraserRadiusChanged(int radius) Signal emitted when eraser radius is changed. |
| void | showCircleToggled(bool checked) Signal emitted when the show circle checkbox is toggled. |
Public Functions
| Name | |
|---|---|
| LineEraseSelectionWidget(QWidget * parent =[nullptr]) Constructor. |
|
| ~LineEraseSelectionWidget() Destructor. |
|
| int | getEraserRadius() const Get the current eraser radius. |
| void | setEraserRadius(int radius) Set the eraser radius. |
Detailed Description
class line_widget::LineEraseSelectionWidget;Widget for the “Erase Points” selection mode.
This widget provides UI for erasing points from lines, including options for:
- Eraser radius adjustment
Public Signals Documentation
signal eraserRadiusChanged
void eraserRadiusChanged(
int radius
)Signal emitted when eraser radius is changed.
Parameters:
- radius The new radius value
signal showCircleToggled
void showCircleToggled(
bool checked
)Signal emitted when the show circle checkbox is toggled.
Parameters:
- checked Whether the circle should be shown
Public Functions Documentation
function LineEraseSelectionWidget
explicit LineEraseSelectionWidget(
QWidget * parent =nullptr
)Constructor.
Parameters:
- parent The parent widget
function ~LineEraseSelectionWidget
~LineEraseSelectionWidget()Destructor.
function getEraserRadius
int getEraserRadius() constGet the current eraser radius.
Return: The current eraser radius value
function setEraserRadius
void setEraserRadius(
int radius
)Set the eraser radius.
Parameters:
- radius The new radius value
Updated on 2026-11-13 at 20:25:42 +0000