0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +03:00

Added the ability to add text elements in preview (in edit mode)

This commit is contained in:
Arin Alexander
2019-02-21 03:20:26 +03:00
parent a010f2328c
commit 83a57b5cbe
9 changed files with 101 additions and 12 deletions

View File

@@ -175,6 +175,9 @@ namespace LimeReport {
void setPropertyToSelectedItems(const char *name, const QVariant &value);
PageItemDesignIntf* getCurrentPage() const;
void setCurrentPage(PageItemDesignIntf* currentPage);
protected:
virtual void keyPressEvent(QKeyEvent *event);
@@ -312,6 +315,7 @@ namespace LimeReport {
JoinType m_joinType;
bool m_magneticMovement;
ReportSettings* m_reportSettings;
PageItemDesignIntf* m_currentPage;
};
class AbstractPageCommand : public CommandIf{