QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RShortcutLineEdit.h
Go to the documentation of this file.
1
#ifndef RSHORTCUTLINEEDIT_H_
2
#define RSHORTCUTLINEEDIT_H_
3
4
#include <QMetaType>
5
#include <QEvent>
6
#include <QLineEdit>
7
#include <QtDesigner/QDesignerExportWidget>
8
12
class
/*QDESIGNER_WIDGET_EXPORT*/
RShortcutLineEdit
:
public
QLineEdit {
13
14
Q_OBJECT
15
16
public
:
17
RShortcutLineEdit
(QWidget* parent);
18
19
public
slots:
20
virtual
void
clear
();
21
22
protected
:
23
bool
eventFilter
(QObject *obj, QEvent *event);
24
25
private
:
26
int
translateModifiers
(Qt::KeyboardModifiers state,
const
QString &text);
27
28
private
:
29
int
m_key
[4];
30
int
m_keyNum
;
31
};
32
33
Q_DECLARE_METATYPE
(
RShortcutLineEdit
*)
34
35
#endif
/* RSHORTCUTLINEEDIT_H_ */
src
gui
RShortcutLineEdit.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1