TabChain -> FocusChain

This commit is contained in:
Uwe Rathmann 2020-07-27 18:03:02 +02:00
parent 14e844eb84
commit d39501c1b9
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ static void qskRegisterEventTypes()
Q_CONSTRUCTOR_FUNCTION( qskRegisterEventTypes )
int qskTabChainIncrement( const QEvent* event )
int qskFocusChainIncrement( const QEvent* event )
{
if ( event && event->type() == QEvent::KeyPress )
{

View File

@ -117,6 +117,6 @@ class QSK_EXPORT QskAnimatorEvent : public QskEvent
const State m_state;
};
QSK_EXPORT int qskTabChainIncrement( const QEvent* );
QSK_EXPORT int qskFocusChainIncrement( const QEvent* );
#endif

View File

@ -381,7 +381,7 @@ bool QskWindow::event( QEvent* event )
void QskWindow::keyPressEvent( QKeyEvent* event )
{
if ( qskTabChainIncrement( event ) != 0 )
if ( qskFocusChainIncrement( event ) != 0 )
{
auto focusItem = activeFocusItem();
if ( focusItem == nullptr || focusItem == contentItem() )