openshot-audio  0.1.5
Public Member Functions | Static Public Member Functions | List of all members
LabelKeyboardFocusTraverser Class Reference
Inheritance diagram for LabelKeyboardFocusTraverser:
KeyboardFocusTraverser

Public Member Functions

 LabelKeyboardFocusTraverser ()
 
ComponentgetNextComponent (Component *c)
 
ComponentgetPreviousComponent (Component *c)
 
- Public Member Functions inherited from KeyboardFocusTraverser
 KeyboardFocusTraverser ()
 
virtual ~KeyboardFocusTraverser ()
 
virtual ComponentgetDefaultComponent (Component *parentComponent)
 

Static Public Member Functions

static ComponentgetComp (Component *current)
 

Constructor & Destructor Documentation

◆ LabelKeyboardFocusTraverser()

LabelKeyboardFocusTraverser::LabelKeyboardFocusTraverser ( )
inline

Member Function Documentation

◆ getComp()

static Component* LabelKeyboardFocusTraverser::getComp ( Component current)
inlinestatic

◆ getNextComponent()

Component* LabelKeyboardFocusTraverser::getNextComponent ( Component current)
inlinevirtual

Returns the component that should be given focus after the specified one when moving "forwards".

The default implementation will return the next component which is to the right of or below this one.

This may return nullptr if there's no suitable candidate.

Reimplemented from KeyboardFocusTraverser.

◆ getPreviousComponent()

Component* LabelKeyboardFocusTraverser::getPreviousComponent ( Component current)
inlinevirtual

Returns the component that should be given focus after the specified one when moving "backwards".

The default implementation will return the next component which is to the left of or above this one.

This may return nullptr if there's no suitable candidate.

Reimplemented from KeyboardFocusTraverser.


The documentation for this class was generated from the following file: