author | hash <hash> | 2002-08-15 11:19:45 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-15 11:19:45 (UTC) |
commit | 04a632ea5dd5e5f5a696e53b9c7870247ccaa83c (patch) (side-by-side diff) | |
tree | b17fab3cebe6316ef08240fb93670a9ab73d2185 /inputmethods/multikey/keyboard.cpp | |
parent | e7e645b74096ec754db314d2bfc04a1bbb8e1d00 (diff) | |
download | opie-04a632ea5dd5e5f5a696e53b9c7870247ccaa83c.zip opie-04a632ea5dd5e5f5a696e53b9c7870247ccaa83c.tar.gz opie-04a632ea5dd5e5f5a696e53b9c7870247ccaa83c.tar.bz2 |
made the keysize a little larger
Diffstat (limited to 'inputmethods/multikey/keyboard.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 1d91b82..b793391 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp @@ -434,49 +434,49 @@ void Keyboard::repeat() repeatTimer->start( 200 ); emit key( unicode, 0, modifiers, true, true ); } void Keyboard::clearHighlight() { if ( pressedKeyRow >= 0 && pressedKeyCol >= 0) { int tmpRow = pressedKeyRow; int tmpCol = pressedKeyCol; pressedKeyRow = -1; pressedKeyCol = -1; QPainter p(this); drawKeyboard(p, tmpRow, tmpCol); } } /* Keyboard::sizeHint {{{1 */ QSize Keyboard::sizeHint() const { QFontMetrics fm=fontMetrics(); - int keyHeight = fm.lineSpacing(); + int keyHeight = fm.lineSpacing() + 2; return QSize( 240, keyHeight * 5 + (usePicks ? picks->sizeHint().height() : 0) + 1); } void Keyboard::resetState() { schar = mchar = echar = 0; picks->resetState(); } /* Keyboard::togglePickboard {{{1 */ void Keyboard::togglePickboard(bool on_off) { usePicks = on_off; if (usePicks) { picks->show(); //move(x(), y() - picks->height()); // not required anymore because QCopChannel::send //adjustSize(); QObject::connect( picks, SIGNAL(key(ushort,ushort,ushort,bool,bool) ), this, SIGNAL(key(ushort,ushort,ushort,bool,bool)) ); } else { picks->hide(); |