52 #ifndef QTPROPERTYBROWSERUTILS_H
53 #define QTPROPERTYBROWSERUTILS_H
55 #include <QtCore/QMap>
56 #include <QtGui/QIcon>
57 #include <QtGui/QWidget>
58 #include <QtCore/QStringList>
60 #if QT_VERSION >= 0x040400
89 void appendCursor(Qt::CursorShape shape,
const QString &name,
const QIcon &icon);
153 bool event(QEvent *e);
165 #if QT_VERSION >= 0x040400
QCheckBox * m_checkBox
Definition: qtpropertybrowserutils_p.h:131
void keyPressEvent(QKeyEvent *e)
int translateModifiers(Qt::KeyboardModifiers state, const QString &text) const
QKeySequence m_keySequence
Definition: qtpropertybrowserutils_p.h:161
QMap< int, Qt::CursorShape > m_valueToCursorShape
Definition: qtpropertybrowserutils_p.h:92
bool textVisible() const
Definition: qtpropertybrowserutils_p.h:112
void setKeySequence(const QKeySequence &sequence)
QString cursorToShapeName(const QCursor &cursor) const
QMap< int, QIcon > m_cursorIcons
Definition: qtpropertybrowserutils_p.h:91
void keySequenceChanged(const QKeySequence &sequence)
void paintEvent(QPaintEvent *)
QKeySequence keySequence() const
static QIcon fontValueIcon(const QFont &f)
void keyReleaseEvent(QKeyEvent *e)
QLineEdit * m_lineEdit
Definition: qtpropertybrowserutils_p.h:162
void paintEvent(QPaintEvent *)
void handleKeyEvent(QKeyEvent *e)
bool blockCheckBoxSignals(bool block)
QStringList m_cursorNames
Definition: qtpropertybrowserutils_p.h:90
void setTextVisible(bool textVisible)
QIcon cursorToShapeIcon(const QCursor &cursor) const
QtKeySequenceEdit(QWidget *parent=0)
void focusOutEvent(QFocusEvent *e)
The description of this class will come soon !
Definition: qtpropertybrowserutils_p.h:75
void mousePressEvent(QMouseEvent *event)
Definition: qtpropertybrowserutils_p.h:107
QtBoolEdit(QWidget *parent=0)
QStringList cursorShapeNames() const
QMap< Qt::CursorShape, int > m_cursorShapeToValue
Definition: qtpropertybrowserutils_p.h:93
bool eventFilter(QObject *o, QEvent *e)
static QString fontValueText(const QFont &f)
QMap< int, QIcon > cursorShapeIcons() const
void focusInEvent(QFocusEvent *e)
void appendCursor(Qt::CursorShape shape, const QString &name, const QIcon &icon)
static QPixmap fontValuePixmap(const QFont &f)
static QIcon brushValueIcon(const QBrush &b)
Qt::CheckState checkState() const
void setCheckState(Qt::CheckState state)
QCursor valueToCursor(int value) const
static QString colorValueText(const QColor &c)
int cursorToValue(const QCursor &cursor) const
Definition: qtpropertybrowserutils_p.h:96
Definition: qtpropertybrowserutils_p.h:135
bool m_textVisible
Definition: qtpropertybrowserutils_p.h:132
static QPixmap brushValuePixmap(const QBrush &b)
int m_num
Definition: qtpropertybrowserutils_p.h:160