Signature plugin: edit item via double click

This commit is contained in:
Jakub Melka
2022-04-17 18:11:07 +02:00
parent 4fae8a7405
commit a08d49e8d6
6 changed files with 143 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace pdf
{
class PDFPageContentElement;
class PDFPageContentEditorStyleSettings : public QWidget
class PDF4QTLIBSHARED_EXPORT PDFPageContentEditorStyleSettings : public QWidget
{
Q_OBJECT
@ -67,6 +67,14 @@ public:
void setFontAlignment(Qt::Alignment alignment, bool forceUpdate);
void setTextAngle(PDFReal angle, bool forceUpdate);
static bool showEditElementStyleDialog(QWidget* parent, PDFPageContentElement* element);
const QPen& getPen() const;
const QBrush& getBrush() const;
const QFont& getFont() const;
Qt::Alignment getAlignment() const;
PDFReal getTextAngle() const;
signals:
void penChanged(const QPen& pen);
void brushChanged(const QBrush& brush);