QskVirtualKeyboard

Inherits from QskBox

Public Types

  Name
enum Mode { CurrentMode = -1, LowercaseMode, UppercaseMode, SpecialCharacterMode, ModeCount}

Public Signals

  Name
void modeChanged(Mode )
void keySelected(int keyCode)

Public Functions

  Name
  QskVirtualKeyboard(QQuickItem * parent =nullptr)
  ~QskVirtualKeyboard() override
void setMode(Mode mode)
Mode mode() const
void updateLocale(const QLocale & locale)
bool hasKey(int keyCode) const

Protected Functions

  Name
void updateLayout() override
QSizeF layoutSizeHint(Qt::SizeHint which, const QSizeF & constraint) const override
QskAspect::Subcontrol substitutedSubcontrol(QskAspect::Subcontrol subControl) const override

Public Attributes

  Name
const QskAspect::Subcontrol Panel
const QskAspect::Subcontrol ButtonPanel
const QskAspect::Subcontrol ButtonText

Public Types Documentation

enum Mode

Enumerator Value Description
CurrentMode -1  
LowercaseMode    
UppercaseMode    
SpecialCharacterMode    
ModeCount    

Public Signals Documentation

signal modeChanged

void modeChanged(
    Mode 
)

signal keySelected

void keySelected(
    int keyCode
)

Public Functions Documentation

function QskVirtualKeyboard

QskVirtualKeyboard(
    QQuickItem * parent =nullptr
)

function ~QskVirtualKeyboard

~QskVirtualKeyboard() override

function setMode

void setMode(
    Mode mode
)

function mode

Mode mode() const

function updateLocale

void updateLocale(
    const QLocale & locale
)

function hasKey

bool hasKey(
    int keyCode
) const

Protected Functions Documentation

function updateLayout

void updateLayout() override

function layoutSizeHint

QSizeF layoutSizeHint(
    Qt::SizeHint which,
    const QSizeF & constraint
) const override

function substitutedSubcontrol

QskAspect::Subcontrol substitutedSubcontrol(
    QskAspect::Subcontrol subControl
) const override

Public Attributes Documentation

variable Panel

static const QskAspect::Subcontrol Panel;

variable ButtonPanel

static const QskAspect::Subcontrol ButtonPanel;

variable ButtonText

static const QskAspect::Subcontrol ButtonText;

Updated on 28 July 2023 at 14:02:27 CEST