1.8
Public Member Functions | Protected Attributes | List of all members
PopupVirtualKeyboard Class Reference

PopupVirtualKeyboard class. More...

Inheritance diagram for PopupVirtualKeyboard:
Inheritance graph
[legend]

Public Member Functions

 PopupVirtualKeyboard (const std::shared_ptr< VirtualKeyboard > &keyboard) noexcept
 
- Public Member Functions inherited from PopupType< T >
 PopupType (const Size &size={}, const Point &point={}) noexcept
 
 PopupType (Serializer::Properties &props) noexcept
 
void hide () override
 Hide the Widget. More...
 
void show () override
 Show the Widget. More...
 
virtual void show_centered ()
 Show the window centered. More...
 
virtual void show_modal (bool center=false)
 Show the window in modal mode. More...
 

Protected Attributes

bool m_bottom_positionned {true}
 Store the position of the virtual keyboard on the screen. More...
 
ImageButton m_close_button {Image("icon:cancel.png")}
 A button to close the virtual keyboard. More...
 
HorizontalBoxSizer m_hsizer
 A horizontal sizer for the two additional buttons. More...
 
ImageButton m_top_bottom_button {Image("icon:arrow_up.png")}
 A button to move the virtual keyboard to the bottom or the top of the screen. More...
 
VerticalBoxSizer m_vsizer
 A vertical sizer for the keyboard and the two additional buttons. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PopupType< T >
 PopupType (Serializer::Properties &props, bool is_derived) noexcept
 

Detailed Description

PopupVirtualKeyboard class.

A virtual keyboard displayed automatically when a click happens in a textbox. Two buttons are added to the virtual keyboard in order to close it or to move it from the bottom to the top of the screen or the other way around.

Constructor & Destructor Documentation

◆ PopupVirtualKeyboard()

PopupVirtualKeyboard ( const std::shared_ptr< VirtualKeyboard > &  keyboard)
explicitnoexcept
Parameters
[in]keyboardThe virtual keyboard to display.

Member Data Documentation

◆ m_bottom_positionned

bool m_bottom_positionned {true}
protected

Store the position of the virtual keyboard on the screen.

◆ m_close_button

ImageButton m_close_button {Image("icon:cancel.png")}
protected

A button to close the virtual keyboard.

◆ m_hsizer

HorizontalBoxSizer m_hsizer
protected

A horizontal sizer for the two additional buttons.

◆ m_top_bottom_button

ImageButton m_top_bottom_button {Image("icon:arrow_up.png")}
protected

A button to move the virtual keyboard to the bottom or the top of the screen.

◆ m_vsizer

VerticalBoxSizer m_vsizer
protected

A vertical sizer for the keyboard and the two additional buttons.