void InputContext::setVisible(bool value)
{
    if (mVisible != value) {
	mVisible = value;
	emitInputPanelVisibleChanged();
	emit visibleChanged();
    }
}
void QQnxInputContext::keyboardVisibilityChanged(bool visible)
{
    qInputContextDebug() << Q_FUNC_INFO << "visible=" << visible;
    if (m_inputPanelVisible != visible) {
        m_inputPanelVisible = visible;
        emitInputPanelVisibleChanged();
    }
}
예제 #3
0
void QMaliitPlatformInputContext::showInputPanel()
{
    if (debug)
        qDebug() << "showInputPanel";

    if (!inputMethodAccepted())
        d->visibility = InputPanelShowRequested;
    else {
        d->server->showInputMethod();
        d->visibility = InputPanelShown;
        emitInputPanelVisibleChanged();
    }
}
예제 #4
0
void QMeeGoPlatformInputContext::showInputPanel()
{
    if (debug)
        qDebug() << "showInputPanel";

    QInputPanel *panel = qApp->inputPanel();
    if (!panel->inputItem() || !panel->inputWindow())
        d->visibility = InputPanelShowRequested;
    else {
        d->server->showInputMethod();
        d->visibility = InputPanelShown;
        emitInputPanelVisibleChanged();
    }
}
예제 #5
0
void QMeeGoPlatformInputContext::hideInputPanel()
{
    d->server->hideInputMethod();
    d->visibility = InputPanelHidden;
    emitInputPanelVisibleChanged();
}
예제 #6
0
void QMeeGoPlatformInputContext::imInitiatedHide()
{
    d->visibility = InputPanelHidden;
    emitInputPanelVisibleChanged();
    // ### clear focus
}