author | mickeyl <mickeyl> | 2003-10-02 15:53:52 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-02 15:53:52 (UTC) |
commit | 4c9bda8027049b7ea423471a213eca2068490b08 (patch) (unidiff) | |
tree | a2400c2a77847764cd09e4c882caf521e503a423 /core/launcher/inputmethods.h | |
parent | 4dd842eacb6c04303932e4cbebedff14db7cbc87 (diff) | |
download | opie-4c9bda8027049b7ea423471a213eca2068490b08.zip opie-4c9bda8027049b7ea423471a213eca2068490b08.tar.gz opie-4c9bda8027049b7ea423471a213eca2068490b08.tar.bz2 |
Start with some customization bits for inputmethods as part of the
BigScreen initiative. You can now choose to have free floating and
resizable inputmethods.
Two outstanding things: 1.) Hiding the inputmethod via the [x] button
confuses the show/hide toggle button. 2.) The new size and position of
a moved/resized inputmethod should be remembered.
Diffstat (limited to 'core/launcher/inputmethods.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/inputmethods.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/inputmethods.h b/core/launcher/inputmethods.h index 93b69de..246661a 100644 --- a/core/launcher/inputmethods.h +++ b/core/launcher/inputmethods.h | |||
@@ -82,29 +82,31 @@ private slots: | |||
82 | void chooseIm(); | 82 | void chooseIm(); |
83 | void showKbd( bool ); | 83 | void showKbd( bool ); |
84 | void resetStates(); | 84 | void resetStates(); |
85 | void sendKey( ushort unicode, ushort scancode, ushort modifiers, bool, bool ); | 85 | void sendKey( ushort unicode, ushort scancode, ushort modifiers, bool, bool ); |
86 | void qcopReceive( const QCString &msg, const QByteArray &data ); | 86 | void qcopReceive( const QCString &msg, const QByteArray &data ); |
87 | 87 | ||
88 | private: | 88 | private: |
89 | void setPreferedHandlers(); | 89 | void setPreferedHandlers(); |
90 | /*static */QStringList plugins()const; | 90 | /*static */QStringList plugins()const; |
91 | /*static */void installTranslator( const QString& ); | 91 | /*static */void installTranslator( const QString& ); |
92 | void unloadMethod( QValueList<InputMethod>& ); | 92 | void unloadMethod( QValueList<InputMethod>& ); |
93 | void chooseMethod(InputMethod* im); | 93 | void chooseMethod(InputMethod* im); |
94 | void chooseKeyboard(InputMethod* im); | 94 | void chooseKeyboard(InputMethod* im); |
95 | void updateKeyboards(InputMethod *im); | 95 | void updateKeyboards(InputMethod *im); |
96 | 96 | ||
97 | private: | 97 | private: |
98 | QToolButton *kbdButton; | 98 | QToolButton *kbdButton; |
99 | QToolButton *kbdChoice; | 99 | QToolButton *kbdChoice; |
100 | QWidgetStack *imButton; // later will be widget stack | 100 | QWidgetStack *imButton; // later will be widget stack |
101 | QToolButton *imChoice; | 101 | QToolButton *imChoice; |
102 | InputMethod *mkeyboard; | 102 | InputMethod *mkeyboard; |
103 | InputMethod *imethod; | 103 | InputMethod *imethod; |
104 | QValueList<InputMethod> inputMethodList; | 104 | QValueList<InputMethod> inputMethodList; |
105 | QValueList<InputMethod> inputModifierList; | 105 | QValueList<InputMethod> inputModifierList; |
106 | int inputWidgetStyle; | ||
107 | int inputWidgetWidth; | ||
106 | }; | 108 | }; |
107 | 109 | ||
108 | 110 | ||
109 | #endif // __INPUT_METHODS_H__ | 111 | #endif // __INPUT_METHODS_H__ |
110 | 112 | ||