Hi
I followed your steps. But I am not getting my UI there. Just I over written
the show () and hide () method in MKeyboardHost.cpp file.
Sample stubs
MWidget myUI(sceneWindow);
void MKeyboardHost::show()
{
myUI.show();
}
Void MKeyboardHost::hide()
{
myUI.hide();
}
Thanks
Yuvaraj R
-----Original Message-----
From: Yoon, Youngsik [mailto:[email protected]]
Sent: Friday, February 25, 2011 9:44 AM
To: Ragupathi Yuvaraj
Cc: [email protected]
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Did you implement plugin class something like MKeyboardPlugin?
Or you are just using MKeyboardPlugin class as is from
meegotouch-inputmethodkeyboard package?
If the former, you need to set exactly the same value in gconf as what you set
in MInputMethodPlugin::name().
If the latter, you can just replace
/usr/lib/meego-in-plugin/libmeego-keyboard.so with your libxxx.so. And test it.
(it means that you just use the same plugin name as default named
"MeegoKeyboard". don't need to set plugin name in gconf.)
Thanks,
Yoon
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, February 25, 2011 12:30 PM
To: Yoon, Youngsik
Cc: [email protected]
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi Youngsik
To override default virtual keyboard, followed below steps
1) Created my own plugin (as library)
Sample code:
class MKeyboardHost: public MAbstractInputMethod
{
Q_OBJECT
private:
QWidget wid;
public:
MKeyboardHost(MAbstractInputMethodHost *imHost, QObject *parent =
0):MAbstractInputMethod(imHost, parent)
{
scene =new MSceneWindow;
scene->setManagedManually(true);
MPlainWindow::instance()->sceneManager()->appearSceneWindow(scene);
}
virtual ~MKeyboardHost()
{
//Destructor
}
void show()
{
wid.show();
}
void hide()
{
wid.hide();
}
};
Step2:
Copied plugin to /usr/lib/meego-in-plugins
Step3:
Restarted meego-im-uiserver
Please correct, if I am doing anything wrong here
Thanks
Yuvaraj R
-----Original Message-----
From: Yoon, Youngsik [mailto:[email protected]]
Sent: Friday, February 25, 2011 5:18 AM
To: Ragupathi Yuvaraj; [email protected]
Cc: [email protected]
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
I think it should not be library name like xxx.so.
It should be your plugin name setting in MInputMethodPlugin::name().
Thanks,
Yoon
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Thursday, February 24, 2011 8:53 PM
To: [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard
Hi
I executed gconftool-2 --direct --config-source
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set
/meegotouch/inputmethods/plugins/onscreen libmylibrary.so.
But no changes happened. How can I verify whether meego-im-uiserver is running
or not?
Thanks
Yuvaraj R
-----Original Message-----
From: Ragupathi Yuvaraj
Sent: Wednesday, February 23, 2011 9:18 AM
To: 'Michael Hasselmann'
Cc: [email protected]
Subject: RE: [MeeGo-dev] can't overrride virtual keyboard
Hi
Thanks for your reply. I will try and let you know
Thanks
Yuvaraj R
-----Original Message-----
From: Michael Hasselmann [mailto:[email protected]]
Sent: Tuesday, February 22, 2011 6:04 PM
To: Ragupathi Yuvaraj
Cc: [email protected]
Subject: Re: [MeeGo-dev] can't overrride virtual keyboard
On Tue, 2011-02-22 at 11:47 +0200, [email protected] wrote:
> Hi
>
> I have developed one small widget to override the default virtual
> keyboard and kept my lib @ /usr/lib/meego-im-plugins location. I
> didn’t see any updates on virtual keyboard.
Current VKB plugin is determined through GConf. Youngsik Yoon found out
how to change those "read-only" values:
# gconftool-2 --direct --config-source
xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set
/meegotouch/inputmethods/plugins/onscreen "xxxxx"
where xxxxx is the name of your plugin. If the meego-im-uiserver is
running while changing this value, it should switch the plugin
immediately.
regards,
Michael
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines