QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RShortcutLineEdit.h
Go to the documentation of this file.
1
20#ifndef RSHORTCUTLINEEDIT_H_
21#define RSHORTCUTLINEEDIT_H_
22
23#include "gui_global.h"
24
25#include <QMetaType>
26#include <QLineEdit>
27
32class QCADGUI_EXPORT RShortcutLineEdit: public QLineEdit {
33
34Q_OBJECT
35
36public:
37 RShortcutLineEdit(QWidget* parent);
38
39public slots:
40 virtual void clear();
41
42protected:
43 bool eventFilter(QObject *obj, QEvent *event);
44
45private:
46 int translateModifiers(Qt::KeyboardModifiers state, const QString &text);
47
48private:
49 int m_key[4];
51};
52
54
55#endif /* RSHORTCUTLINEEDIT_H_ */
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RShortcutLineEdit.h:32
int m_keyNum
Definition RShortcutLineEdit.h:50
#define QCADGUI_EXPORT
Definition gui_global.h:10