aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/cursornavigationattached.h
diff options
context:
space:
mode:
authorAntti Hölttä <AHoelttae@luxoft.com>2019-02-27 15:37:07 +0100
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:42:32 +0100
commit61e8f03d59cfd748b2a1f83dd51bbb90acd8c7cc (patch)
treee2bba83ae9e9b9bdac10c282db3106d93717ab4f /plugin/cursornavigationattached.h
parent8489f36322c585ec78199e6eb183000c74afae19 (diff)
Start tests, basic case pretty complete
Diffstat (limited to 'plugin/cursornavigationattached.h')
-rw-r--r--plugin/cursornavigationattached.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/cursornavigationattached.h b/plugin/cursornavigationattached.h
index 7c5e99a..ed099c1 100644
--- a/plugin/cursornavigationattached.h
+++ b/plugin/cursornavigationattached.h
@@ -18,11 +18,9 @@ class CursorNavigationAttached : public QObject
Q_PROPERTY(bool acceptsCursor READ acceptsCursor WRITE setAcceptsCursor NOTIFY acceptsCursorChanged)
//indicates if item is currently selected, indicated also by activeFocus property
Q_PROPERTY(bool hasCursor READ hasCursor NOTIFY hasCursorChanged)
- //indicates if one of children is currently selected
- Q_PROPERTY(bool childHasCursor READ hasCursor NOTIFY hasCursorChanged)
//traps cursor. a trapped cursor can not be traversed outside of the item that traps it until the escape input is given
Q_PROPERTY(bool trapsCursor READ trapsCursor WRITE setTrapsCursor NOTIFY trapsCursorChanged)
- //item to select when
+ //item to select when escaping
Q_PROPERTY(QQuickItem *escapeTarget READ escapeTarget WRITE setEscapeTarget NOTIFY escapeTargetChanged)
Q_PROPERTY(QQmlListProperty<Redirect> redirects READ redirects)
@@ -95,7 +93,6 @@ private slots:
private:
void setHasCursor(bool hasCursor);
- //QList<CursorNavigationAttached*> &siblings();
static void appendRedirect(QQmlListProperty<Redirect> *property, Redirect *redirect);
static int redirectCount(QQmlListProperty<Redirect> *property);