fix ListView navigation
This commit is contained in:
parent
f3df9eb5f5
commit
89ac585e07
5 changed files with 117 additions and 81 deletions
|
|
@ -7,7 +7,8 @@
|
|||
#include <QQuickItem>
|
||||
|
||||
|
||||
bool isListView(QObject* item);
|
||||
bool isEnabled(QObject* item);
|
||||
bool isFocusable(QObject* item);
|
||||
bool isMore(QObject* item1, QObject* item2);
|
||||
bool isLess(QObject* item1, QObject* item2);
|
||||
QList<QObject*> getSubChain(QObject* object);
|
||||
|
|
@ -29,8 +30,8 @@ public:
|
|||
explicit ListViewFocusController(QQuickItem* listView, QObject* parent = nullptr);
|
||||
~ListViewFocusController();
|
||||
|
||||
void nextElement();
|
||||
void previousElement();
|
||||
void nextDelegate();
|
||||
void previousDelegate();
|
||||
void decrementIndex();
|
||||
void focusNextItem();
|
||||
void focusPreviousItem();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue