QskInputPanelBox

Inherits from QskBox

Public Types

  Name
enum PanelHint { InputProxy = 1 « 0, Prediction = 1 « 1}

Public Slots

  Name
void setInputPrompt(const QString & text)
void setPrediction(const QStringList & prediction)

Public Signals

  Name
void panelHintsChanged()
void inputPromptChanged(const QString & )
void keySelected(int keyCode)
void predictiveTextSelected(int )

Public Functions

  Name
  QskInputPanelBox(QQuickItem * parent =nullptr)
  ~QskInputPanelBox() override
void attachInputItem(QQuickItem * item)
QQuickItem * attachedInputItem() const
void setPanelHint(PanelHint hint, bool on)
void setPanelHints(PanelHints hints)
PanelHints panelHints() const
QQuickItem * inputProxy() const
QString inputPrompt() const

Protected Functions

  Name
void keyPressEvent(QKeyEvent * event) override
QskAspect::Subcontrol substitutedSubcontrol(QskAspect::Subcontrol subControl) const override

Public Properties

  Name
PanelHints panelHints
QString inputPrompt

Public Attributes

  Name
const QskAspect::Subcontrol Panel
const QskAspect::Subcontrol ProxyPanel
const QskAspect::Subcontrol ProxyText

Public Types Documentation

enum PanelHint

Enumerator Value Description
InputProxy 1 « 0  
Prediction 1 « 1  

Public Slots Documentation

slot setInputPrompt

void setInputPrompt(
    const QString & text
)

slot setPrediction

void setPrediction(
    const QStringList & prediction
)

Public Signals Documentation

signal panelHintsChanged

void panelHintsChanged()

signal inputPromptChanged

void inputPromptChanged(
    const QString & 
)

signal keySelected

void keySelected(
    int keyCode
)

signal predictiveTextSelected

void predictiveTextSelected(
    int 
)

Public Functions Documentation

function QskInputPanelBox

QskInputPanelBox(
    QQuickItem * parent =nullptr
)

function ~QskInputPanelBox

~QskInputPanelBox() override

function attachInputItem

void attachInputItem(
    QQuickItem * item
)

function attachedInputItem

QQuickItem * attachedInputItem() const

function setPanelHint

void setPanelHint(
    PanelHint hint,
    bool on
)

function setPanelHints

void setPanelHints(
    PanelHints hints
)

function panelHints

PanelHints panelHints() const

function inputProxy

QQuickItem * inputProxy() const

function inputPrompt

QString inputPrompt() const

Protected Functions Documentation

function keyPressEvent

void keyPressEvent(
    QKeyEvent * event
) override

function substitutedSubcontrol

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

Public Property Documentation

property panelHints

PanelHints panelHints;

property inputPrompt

QString inputPrompt;

Public Attributes Documentation

variable Panel

static const QskAspect::Subcontrol Panel;

variable ProxyPanel

static const QskAspect::Subcontrol ProxyPanel;

variable ProxyText

static const QskAspect::Subcontrol ProxyText;

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