always reurning false for contains() to help test tools

This commit is contained in:
Uwe Rathmann 2019-04-04 18:00:22 +02:00
parent f681e0e2db
commit 0ccffad3ac
2 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,11 @@ QskFocusIndicator::~QskFocusIndicator()
{
}
bool QskFocusIndicator::contains( const QPointF & ) const
{
return false;
}
void QskFocusIndicator::onFocusItemGeometryChanged()
{
updateFocusFrame();

View File

@ -22,6 +22,8 @@ class QSK_EXPORT QskFocusIndicator : public QskControl
QskFocusIndicator( QQuickItem* parent = nullptr );
~QskFocusIndicator() override;
bool contains( const QPointF & ) const override;
protected:
void windowChangeEvent( QskWindowChangeEvent* ) override;
virtual QRectF focusRect() const;