yuchuli b7f9f79771 change RemoteCtrl_Wide. 2 years ago
..
baidumapshow b7f9f79771 change RemoteCtrl_Wide. 2 years ago
common 23766b4dda change RemoteCtrl_Thread_plugin. 3 years ago
plugin_fourpicshow 23766b4dda change RemoteCtrl_Thread_plugin. 3 years ago
plugin_picshow 23766b4dda change RemoteCtrl_Thread_plugin. 3 years ago
plugin_threepicshow 23766b4dda change RemoteCtrl_Thread_plugin. 3 years ago
Readme 74cb29df8b add RemoteCtrl_Thread_plugin. and add some plugin program. 3 years ago

Readme

介绍:
plugin目录用来存放一些依赖项比较多,不好编译的模块。比如地图显示,图片显示。这些模块的界面会嵌入到其它程序界面中。

使用说明:
需要包含pluginapp类。
定义:
pluginapp * mpbaiduapp;
在构造函数内:
mpbaiduapp = new pluginapp(this->winId(),"baidu","baidumapshow","/home/yuchuli/qt/modularization/src/plugin/build-baidumapshow-Debug"); //目录可以不写,默认为当前目录
在析构函数内:
delete mpbaiduapp; //一定要执行这句,否则可能导致plugin程序不退出。
其它地方:
如果有调整窗口位置的需要,调用这句:
mpbaiduapp->SetGeometry(10,30,sizemain.width()/2,sizemain.height()*3/5);
如果由其它属性需要修改可以调用:
SetAttr(const char *strattr, const char *strvalue, const int nvaluelen)