#include <annotationstyledialog.h>
◆ AnnotationStyleDialog()
| AnnotationStyleDialog::AnnotationStyleDialog |
( |
AnnotationTextItem * |
item, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
- Parameters
-
| item | The annotation being edited. Must outlive the dialog. |
◆ ~AnnotationStyleDialog()
| AnnotationStyleDialog::~AnnotationStyleDialog |
( |
| ) |
|
|
overridedefault |
◆ setEditMode()
| void AnnotationStyleDialog::setEditMode |
( |
bool |
edit | ) |
|
When true, the dialog title reads "Edit Text Annotation" and the OK button defaults to "Apply". When false (placement mode), the title reads "Add Text Annotation" and OK reads "Add".
The documentation for this class was generated from the following files: