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
32
class
QCADGUI_EXPORT
RShortcutLineEdit
:
public
QLineEdit {
33
34
Q_OBJECT
35
36
public
:
37
RShortcutLineEdit
(QWidget* parent);
38
39
public
slots:
40
virtual
void
clear();
41
42
protected
:
43
bool
eventFilter(QObject *obj, QEvent *event);
44
45
private
:
46
int
translateModifiers(Qt::KeyboardModifiers state,
const
QString &text);
47
48
private
:
49
int
m_key[4];
50
int
m_keyNum
;
51
};
52
53
Q_DECLARE_METATYPE
(
RShortcutLineEdit
*)
54
55
#endif
/* RSHORTCUTLINEEDIT_H_ */
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RShortcutLineEdit
Copyright (c) 2011-2018 by Andrew Mustun.
Definition
RShortcutLineEdit.h:32
RShortcutLineEdit::m_keyNum
int m_keyNum
Definition
RShortcutLineEdit.h:50
gui_global.h
QCADGUI_EXPORT
#define QCADGUI_EXPORT
Definition
gui_global.h:10
src
gui
RShortcutLineEdit.h
Generated on Fri Jul 18 2025 09:41:51 for QCAD by
1.10.0