#ifndef FOCUSCONTROL_H #define FOCUSCONTROL_H #include #include namespace FocusControl { bool isEnabled(QObject *item); bool isVisible(QObject *item); bool isFocusable(QObject *item); bool isListView(QObject *item); bool isOnTheScene(QObject *object); bool isMore(QObject *item1, QObject *item2); bool isLess(QObject *item1, QObject *item2); /*! * \brief Make focus chain of elements which are on the scene */ QList getSubChain(QObject *object); /*! * \brief Make focus chain of elements which could be not on the scene */ QList getItemsChain(QObject *object); void printItems(const QList &items, QObject *current_item); } // namespace FocusControl #endif // FOCUSCONTROL_H