locale updates fixed
This commit is contained in:
parent
959ebfd38a
commit
e2ca55819e
@ -238,7 +238,7 @@ void QskInputCompositionModel::sendPreeditTextEvent( const QString& text )
|
||||
|
||||
const QInputMethodEvent::Attribute attribute(
|
||||
QInputMethodEvent::TextFormat, 0, text.length(), format );
|
||||
|
||||
|
||||
QInputMethodEvent event( text, { attribute } );
|
||||
context()->sendEventToInputItem( &event );
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
QPointer< QQuickItem > inputItem;
|
||||
|
||||
// item, wher the user enters texts/keys
|
||||
QPointer< QQuickItem > inputPanel;
|
||||
QPointer< QQuickItem > inputPanel;
|
||||
|
||||
// popup or window embedding the inputPanel
|
||||
QskPopup* inputPopup = nullptr;
|
||||
@ -352,6 +352,7 @@ void QskInputContext::showInputPanel()
|
||||
inputPopup->setVisible( true );
|
||||
}
|
||||
|
||||
update( Qt::ImQueryAll );
|
||||
inputPanel->setVisible( true );
|
||||
|
||||
connect( inputPanel->window(), &QskWindow::visibleChanged,
|
||||
@ -631,7 +632,7 @@ bool QskInputContext::eventFilter( QObject* object, QEvent* event )
|
||||
}
|
||||
else
|
||||
{
|
||||
switch( static_cast<int>( event->type() ) )
|
||||
switch( static_cast< int >( event->type() ) )
|
||||
{
|
||||
case QskEvent::GeometryChange:
|
||||
{
|
||||
|
@ -288,7 +288,7 @@ qreal QskVirtualKeyboard::widthForHeight( qreal height ) const
|
||||
|
||||
qreal width = height / ratio;
|
||||
width += margins.left() + margins.right();
|
||||
|
||||
|
||||
return height;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user