5 #ifndef pqShortcutDecorator_h 6 #define pqShortcutDecorator_h 34 bool isEnabled()
const;
50 virtual void setEnabled(
bool enable,
bool refocusWhenEnabling =
false);
59 virtual void onShortcutEnabled();
67 virtual void onShortcutDisabled();
77 bool eventFilter(QObject* obj, QEvent* event)
override;
81 void markFrame(
bool active,
const QColor& frameColor);
101 #endif // pqShortcutDecorator_h
#define PQCOMPONENTS_EXPORT
Manage an action and/or widget's responsivity to a shortcut.
QList< QPointer< pqModalShortcut > > m_shortcuts
Decorate a property widget by highlighting its frame when keyboard shortcuts are active.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.