mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Signature plugin: style settings
This commit is contained in:
@@ -35,6 +35,7 @@ class PDFPageContentEditorWidget;
|
||||
namespace pdf
|
||||
{
|
||||
class PDFPageContentScene;
|
||||
class PDFPageContentElement;
|
||||
|
||||
class PDF4QTLIBSHARED_EXPORT PDFPageContentEditorWidget : public QDockWidget
|
||||
{
|
||||
@@ -58,10 +59,20 @@ public:
|
||||
std::set<PDFInteger> getSelection() const;
|
||||
void setSelection(const std::set<PDFInteger>& selection);
|
||||
|
||||
/// Loads style from element, element can be nullptr
|
||||
/// \param element Element
|
||||
void loadStyleFromElement(const PDFPageContentElement* element);
|
||||
|
||||
signals:
|
||||
void operationTriggered(int operation);
|
||||
void itemSelectionChangedByUser();
|
||||
|
||||
void penChanged(const QPen& pen);
|
||||
void brushChanged(const QBrush& brush);
|
||||
void fontChanged(const QFont& font);
|
||||
void alignmentChanged(Qt::Alignment alignment);
|
||||
void textAngleChanged(pdf::PDFReal angle);
|
||||
|
||||
private:
|
||||
void onActionTriggerRequest(QObject* actionObject);
|
||||
void onActionChanged();
|
||||
@@ -74,6 +85,7 @@ private:
|
||||
QSize m_toolButtonIconSize;
|
||||
PDFPageContentScene* m_scene;
|
||||
bool m_selectionChangeEnabled;
|
||||
bool m_updatesEnabled;
|
||||
};
|
||||
|
||||
} // namespace pdf
|
||||
|
Reference in New Issue
Block a user