Q_OBJECT
public:
+ /** trackMouse enables mouse tracking; The variables m_mousePos and m_mouseWithinWidget will be set
+ if mouse tracking is enabled. See also signalMousePositionChanged(). */
AbstractScopeWidget(bool trackMouse = false, QWidget *parent = 0);
virtual ~AbstractScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks
virtual QString widgetName() const = 0;
///// Variables /////
+ static const QColor colHighlightLight;
+ static const QColor colHighlightDark;
+ static const QColor colDarkWhite;
+
static const QPen penThick;
static const QPen penThin;
static const QPen penLight;
static const QPen penLightDots;
+ static const QPen penLighter;
static const QPen penDark;
static const QPen penDarkDots;
+ static const QPen penBackground;
static const QString directions[]; // Mainly for debug output
void signalBackgroundRenderingFinished(uint mseconds, uint accelerationFactor);
/** For the mouse position itself see m_mousePos.
- To check whether the mouse has leaved the widget, see m_mouseWithinWidget. */
+ To check whether the mouse has leaved the widget, see m_mouseWithinWidget.
+ This signal is typically connected to forceUpdateHUD(). */
void signalMousePositionChanged();
/** Do we need the renderer to send its frames to us? */