06-19-2014, 06:29 PM
i created a panel like this:
void FacelessDesign:lugin::postStartup()
{
const double marginWidth = 6.0;
const double marginHeight = 6.0;
this->__docPanel = hdi::core:anel(
"二维码",
hdi::core::Size(hdi::core:anel::typicalWidth, 140.0),
false,
false);
this->__docPanelGeneratButton = hdi::core::Button(
hdi::core:oint(marginWidth, 2),
"生成",
hdi::core:anelWindowType);
this->__docPanelGeneratButton.setEnabled(false);
this->__docPanelGeneratButton.setClickCallback(HDI_CORE_CALLBACK(FacelessDesign:lugin, this, __GeneratQRcodeCB));
this->__docPanel.addWidget(this->__docPanelGeneratButton);
}
and characters in the illustrator's panel is Garbage characters.
how to use it properly?
void FacelessDesign:lugin::postStartup()
{
const double marginWidth = 6.0;
const double marginHeight = 6.0;
this->__docPanel = hdi::core:anel(
"二维码",
hdi::core::Size(hdi::core:anel::typicalWidth, 140.0),
false,
false);
this->__docPanelGeneratButton = hdi::core::Button(
hdi::core:oint(marginWidth, 2),
"生成",
hdi::core:anelWindowType);
this->__docPanelGeneratButton.setEnabled(false);
this->__docPanelGeneratButton.setClickCallback(HDI_CORE_CALLBACK(FacelessDesign:lugin, this, __GeneratQRcodeCB));
this->__docPanel.addWidget(this->__docPanelGeneratButton);
}
and characters in the illustrator's panel is Garbage characters.
how to use it properly?