Go to the documentation of this file.
58 #include <QStringList>
81 void appendCursor(Qt::CursorShape shape,
const QString& name,
const QIcon& icon);
82 QStringList m_cursorNames;
83 QMap<int, QIcon> m_cursorIcons;
84 QMap<int, Qt::CursorShape> m_valueToCursorShape;
85 QMap<Qt::CursorShape, int> m_cursorShapeToValue;
107 return m_textVisible;
127 QCheckBox* m_checkBox;
149 bool event(QEvent* e)
override;
151 void slotClearShortcut();
153 void handleKeyEvent(QKeyEvent* e);
154 int translateModifiers(Qt::KeyboardModifiers state,
const QString& text)
const;
157 QKeySequence m_keySequence;
158 QLineEdit* m_lineEdit;
QKeySequence keySequence() const
static QPixmap brushValuePixmap(const QBrush &b)
bool event(QEvent *e) override
QCursor valueToCursor(int value) const
static QString colorValueText(const QColor &c)
QtBoolEdit(QWidget *parent=0)
bool blockCheckBoxSignals(bool block)
void keyPressEvent(QKeyEvent *e) override
QStringList cursorShapeNames() const
void setKeySequence(const QKeySequence &sequence)
static QPixmap fontValuePixmap(const QFont &f)
bool eventFilter(QObject *o, QEvent *e) override
std::shared_ptr< Value > value()
QtKeySequenceEdit(QWidget *parent=0)
void focusInEvent(QFocusEvent *e) override
void paintEvent(QPaintEvent *) override
int cursorToValue(const QCursor &cursor) const
void setTextVisible(bool textVisible)
static QIcon brushValueIcon(const QBrush &b)
QString cursorToShapeName(const QCursor &cursor) const
static QString fontValueText(const QFont &f)
Qt::CheckState checkState() const
static QIcon fontValueIcon(const QFont &f)
void mousePressEvent(QMouseEvent *event) override
QMap< int, QIcon > cursorShapeIcons() const
void paintEvent(QPaintEvent *) override
void focusOutEvent(QFocusEvent *e) override
QIcon cursorToShapeIcon(const QCursor &cursor) const
void keyReleaseEvent(QKeyEvent *e) override
void setCheckState(Qt::CheckState state)
void keySequenceChanged(const QKeySequence &sequence)