![]() |
LibrePCB Developers Documentation
|
The BES_AddStrokeText class. More...
#include <bes_addstroketext.h>
Public Member Functions | |
BES_AddStrokeText (BoardEditor &editor, Ui::BoardEditor &editorUi, GraphicsView &editorGraphicsView, UndoStack &undoStack) | |
~BES_AddStrokeText () | |
ProcRetVal | process (BEE_Base *event) noexceptoverride |
bool | entry (BEE_Base *event) noexceptoverride |
bool | exit (BEE_Base *event) noexceptoverride |
![]() | |
BES_Base (BoardEditor &editor, Ui::BoardEditor &editorUi, GraphicsView &editorGraphicsView, UndoStack &undoStack) | |
virtual | ~BES_Base () |
Private Member Functions | |
ProcRetVal | processSceneEvent (BEE_Base *event) noexcept |
ProcRetVal | processRotateEvent (const Angle &angle) noexcept |
ProcRetVal | processFlipEvent (Qt::Orientation orientation) noexcept |
bool | addText (Board &board, const Point &pos) noexcept |
void | updateTextPosition (const Point &pos) noexcept |
bool | fixText (const Point &pos) noexcept |
void | layerComboBoxLayerChanged (const GraphicsLayerName &layerName) noexcept |
void | textComboBoxValueChanged (const QString &value) noexcept |
void | heightEditValueChanged (const PositiveLength &value) noexcept |
void | mirrorCheckBoxToggled (bool checked) noexcept |
void | makeSelectedLayerVisible () noexcept |
Private Attributes | |
bool | mUndoCmdActive |
BI_StrokeText * | mText |
QScopedPointer< CmdStrokeTextEdit > | mEditCmd |
GraphicsLayerName | mCurrentLayerName |
QString | mCurrentText |
PositiveLength | mCurrentHeight |
bool | mCurrentMirror |
Angle | mCurrentRotation |
QScopedPointer< QLabel > | mLayerLabel |
QScopedPointer < GraphicsLayerComboBox > | mLayerComboBox |
QScopedPointer< QLabel > | mTextLabel |
QScopedPointer< QComboBox > | mTextComboBox |
QScopedPointer< QLabel > | mHeightLabel |
QScopedPointer < PositiveLengthEdit > | mHeightEdit |
QScopedPointer< QLabel > | mMirrorLabel |
QScopedPointer< QCheckBox > | mMirrorCheckBox |
Additional Inherited Members | |
![]() | |
enum | ProcRetVal |
process() return values More... | |
![]() | |
workspace::Workspace & | mWorkspace |
Project & | mProject |
Circuit & | mCircuit |
BoardEditor & | mEditor |
Ui::BoardEditor & | mEditorUi |
allows access to BoardEditor UI More... | |
GraphicsView & | mEditorGraphicsView |
allows access to the board editor graphics view More... | |
UndoStack & | mUndoStack |
The BES_AddStrokeText class.
|
explicit |
~BES_AddStrokeText | ( | ) |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |