|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
52 #ifndef QTPROPERTYBROWSERUTILS_H
53 #define QTPROPERTYBROWSERUTILS_H
58 #include <QStringList>
60 #if QT_VERSION >= 0x040400
88 void appendCursor(Qt::CursorShape shape,
const QString& name,
const QIcon& icon);
152 bool event(QEvent* e)
override;
164 #if QT_VERSION >= 0x040400
QKeySequence m_keySequence
Definition: qtpropertybrowserutils_p.h:160
Definition: qtpropertybrowserutils_p.h:105
Definition: qtpropertybrowserutils_p.h:95
static QString colorValueText(const QColor &c)
Definition: qtpropertybrowserutils.cpp:151
void focusInEvent(QFocusEvent *e) override
Definition: qtpropertybrowserutils.cpp:388
void setChecked(bool c)
Definition: qtpropertybrowserutils.cpp:228
void paintEvent(QPaintEvent *) override
Definition: qtpropertybrowserutils.cpp:409
static QPixmap brushValuePixmap(const QBrush &b)
Definition: qtpropertybrowserutils.cpp:128
QMap< Qt::CursorShape, int > m_cursorShapeToValue
Definition: qtpropertybrowserutils_p.h:92
void appendCursor(Qt::CursorShape shape, const QString &name, const QIcon &icon)
Definition: qtpropertybrowserutils.cpp:77
QKeySequence keySequence() const
Definition: qtpropertybrowserutils.cpp:367
QCursor valueToCursor(int value) const
Definition: qtpropertybrowserutils.cpp:120
void setTextVisible(bool textVisible)
Definition: qtpropertybrowserutils.cpp:202
Definition: qtpropertybrowserutils_p.h:135
void mousePressEvent(QMouseEvent *event) override
mouse press handler overriden to manage different version of VTK
void setKeySequence(const QKeySequence &sequence)
Definition: qtpropertybrowserutils.cpp:358
void keySequenceChanged(const QKeySequence &sequence)
static QString fontValueText(const QFont &f)
Definition: qtpropertybrowserutils.cpp:178
bool event(QEvent *e) override
Definition: qtpropertybrowserutils.cpp:416
void slotClearShortcut()
Definition: qtpropertybrowserutils.cpp:305
QStringList cursorShapeNames() const
Definition: qtpropertybrowserutils.cpp:88
QIcon cursorToShapeIcon(const QCursor &cursor) const
Definition: qtpropertybrowserutils.cpp:104
void focusOutEvent(QFocusEvent *e) override
Definition: qtpropertybrowserutils.cpp:394
void handleKeyEvent(QKeyEvent *e)
Definition: qtpropertybrowserutils.cpp:313
void keyReleaseEvent(QKeyEvent *e) override
Definition: qtpropertybrowserutils.cpp:405
The description of this class will come soon !
Definition: qtpropertybrowserutils_p.h:75
QtCursorDatabase()
Definition: qtpropertybrowserutils.cpp:55
QLineEdit * m_lineEdit
Definition: qtpropertybrowserutils_p.h:161
QMap< int, QIcon > cursorShapeIcons() const
Definition: qtpropertybrowserutils.cpp:92
QtBoolEdit(QWidget *parent=nullptr)
Definition: qtpropertybrowserutils.cpp:185
void keyPressEvent(QKeyEvent *e) override
Definition: qtpropertybrowserutils.cpp:400
QtKeySequenceEdit(QWidget *parent=nullptr)
Definition: qtpropertybrowserutils.cpp:259
bool eventFilter(QObject *o, QEvent *e) override
Definition: qtpropertybrowserutils.cpp:271
void paintEvent(QPaintEvent *) override
Definition: qtpropertybrowserutils.cpp:250
int translateModifiers(Qt::KeyboardModifiers state, const QString &text) const
Definition: qtpropertybrowserutils.cpp:371
QMap< int, QIcon > m_cursorIcons
Definition: qtpropertybrowserutils_p.h:90
QMap< int, Qt::CursorShape > m_valueToCursorShape
Definition: qtpropertybrowserutils_p.h:91
Qt::CheckState checkState() const
Definition: qtpropertybrowserutils.cpp:216
bool m_textVisible
Definition: qtpropertybrowserutils_p.h:132
bool blockCheckBoxSignals(bool block)
Definition: qtpropertybrowserutils.cpp:236
void mousePressEvent(QMouseEvent *event) override
Definition: qtpropertybrowserutils.cpp:240
bool textVisible() const
Definition: qtpropertybrowserutils_p.h:110
QString cursorToShapeName(const QCursor &cursor) const
Definition: qtpropertybrowserutils.cpp:96
bool isChecked() const
Definition: qtpropertybrowserutils.cpp:224
static QIcon brushValueIcon(const QBrush &b)
Definition: qtpropertybrowserutils.cpp:147
QStringList m_cursorNames
Definition: qtpropertybrowserutils_p.h:89
static QPixmap fontValuePixmap(const QFont &f)
Definition: qtpropertybrowserutils.cpp:159
int cursorToValue(const QCursor &cursor) const
Definition: qtpropertybrowserutils.cpp:109
int m_num
Definition: qtpropertybrowserutils_p.h:159
QCheckBox * m_checkBox
Definition: qtpropertybrowserutils_p.h:131
void setCheckState(Qt::CheckState state)
Definition: qtpropertybrowserutils.cpp:220
static QIcon fontValueIcon(const QFont &f)
Definition: qtpropertybrowserutils.cpp:174