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

PopupVirtualKeyboard class. More...

#include <virtualkeyboard.h>

Inheritance diagram for PopupVirtualKeyboard:
Inheritance graph
[legend]

Public Member Functions

 PopupVirtualKeyboard (const std::shared_ptr< VirtualKeyboard > &keyboard, Size size={}) 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.
 
void show () override
 Show the Widget.
 
virtual void show_centered ()
 Show the window centered.
 
virtual void show_modal (bool center=false)
 Show the window in modal mode.
 

Protected Attributes

bool m_bottom_positionned {true}
 Store the position of the virtual keyboard on the screen.
 
ImageButton m_close_button {Image("icon:cancel.png")}
 A button to close the virtual keyboard.
 
HorizontalBoxSizer m_hsizer
 A horizontal sizer for the two additional buttons.
 
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.
 
VerticalBoxSizer m_vsizer
 A vertical sizer for the keyboard and the two additional buttons.
 

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,
Size  size = {} 
)
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.