mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
limit qt-immodule fixes (bug 1830) to qt/x11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9995 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a53f4592a7
commit
19ec3439cb
@ -1,3 +1,8 @@
|
||||
2005-06-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* QContentPane.[Ch]: Limit the QIM*Events to X11. They are not
|
||||
needed (yet) on other OSes (and confuse qt/mac).
|
||||
|
||||
2005-05-28 José Matos <jamatos@lyx.org>
|
||||
|
||||
* QContentPane.[Ch]: implement QIM*Events. This brings the dead
|
||||
|
@ -96,7 +96,7 @@ QContentPane::QContentPane(QWorkArea * parent)
|
||||
setFocusPolicy(QWidget::WheelFocus);
|
||||
setFocus();
|
||||
setCursor(ibeamCursor);
|
||||
#if QT_VERSION >= 0x030200
|
||||
#if USE_INPUT_METHODS
|
||||
// to make qt-immodule work
|
||||
setInputMethodEnabled(true);
|
||||
#endif
|
||||
@ -108,7 +108,7 @@ QContentPane::QContentPane(QWorkArea * parent)
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION >= 0x030200
|
||||
#if USE_INPUT_METHODS
|
||||
// to make qt-immodule work
|
||||
void QContentPane::imStartEvent(QIMEvent *e)
|
||||
{
|
||||
|
@ -25,6 +25,10 @@
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
#if (defined(Q_WS_X11) && QT_VERSION >= 0x030200)
|
||||
#define USE_INPUT_METHODS 1
|
||||
#endif
|
||||
|
||||
class QWorkArea;
|
||||
|
||||
/// for emulating triple click
|
||||
@ -97,7 +101,7 @@ protected:
|
||||
void wheelEvent(QWheelEvent * e);
|
||||
/// key press
|
||||
void keyPressEvent(QKeyEvent * e);
|
||||
#if QT_VERSION >= 0x030200
|
||||
#if USE_INPUT_METHODS
|
||||
/// IM events
|
||||
void imStartEvent(QIMEvent *);
|
||||
void imComposeEvent(QIMEvent *);
|
||||
|
@ -121,7 +121,7 @@ What's new
|
||||
- Fix crash when using math-mutate with invalid argument.
|
||||
|
||||
- Implement support for qt-immodule. This fixes the dead key problems
|
||||
with some newer qt versions [bug 1830].
|
||||
with some newer qt/x11 versions [bug 1830].
|
||||
|
||||
- Fix math fonts display in LyX/Mac.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user