3#include <QtQmlIntegration/qqmlintegration.h>
4#include <qtmetamacros.h>
55 void setCurrentSequence(const QString ¤tSequence);
58 void resetKeysPressed();
62 [[nodiscard]]
bool validate(const QKeySequence &sequence) const;
64 QKeySequence m_OriginalSequence;
65 QKeySequence m_CurrentSequence;
66 QKeySequence m_NewSequence;
67 int m_CurrentKeyIndex{0};
68 QVector<int> m_KeysPressed;
Definition keysequenceeditor.h:14
bool hasChanged
Definition keysequenceeditor.h:24
void focusOutEvent(QFocusEvent *event) override
Definition keysequenceeditor.cpp:125
void newSequenceChanged()
void reset()
Definition keysequenceeditor.cpp:64
QString originalSequence
Definition keysequenceeditor.h:19
void setOriginalSequence(const QString &originalSequence)
Definition keysequenceeditor.cpp:15
void displaySequenceChanged()
QString newSequence
Definition keysequenceeditor.h:21
void focusInEvent(QFocusEvent *event) override
Definition keysequenceeditor.cpp:118
void keyPressEvent(QKeyEvent *event) override
Definition keysequenceeditor.cpp:79
void originalSequenceChanged()
void keyReleaseEvent(QKeyEvent *event) override
Definition keysequenceeditor.cpp:116
QString displaySequence
Definition keysequenceeditor.h:23