Signature plugin: Keypress handling

This commit is contained in:
Jakub Melka
2022-03-09 20:42:05 +01:00
parent a401b8c031
commit 2b7d5939bd
2 changed files with 69 additions and 3 deletions

View File

@ -318,12 +318,13 @@ public:
void selectNew(const std::set<PDFInteger>& ids);
void deselect(PDFInteger id);
void deselect(const std::set<PDFInteger>& ids);
void selectAll();
void deselectAll();
bool isManipulationAllowed(PDFInteger pageIndex) const;
bool isManipulationInProgress() const { return m_isManipulationInProgress; }
void manipulateDeleteSelection();
void performDeleteSelection();
void startManipulation(PDFInteger pageIndex,
const QPointF& startPoint,
@ -394,6 +395,9 @@ public:
bool isActive() const;
void setActive(bool newIsActive);
/// Returns set of all element ids
std::set<PDFInteger> getElementIds() const;
/// Removes elements specified in selection
/// \param selection Items to be removed
void removeElementsById(const std::set<PDFInteger>& selection);