StupidBeauty
Read times:292Posted at:Wed Jul 6 19:03:01 2011
- no title specified

Wt3.1.9文档翻译:Wt::WCircleArea类参考,Wt::WCircleArea Class Reference

详细描述

在一个部件中由一个圆指定的交互区域

这个区域可以添加到一个WImageWPaintedWidget,以在图片的一个圆形区域中提供交互功能 。这个 圆是以像素坐标来指定的

使用示例:

Wt::WImage *image = new Wt::WImage("images/events.png", this);

Wt::WCircleArea *area = new Wt::WCircleArea(20, 30, 15);

image->addArea(area);

area->clicked().connect(this, &MyWidget::areaClicked);

参考

WImage::addArea() WPaintedWidget::addArea()

WRectArea WPolygonArea

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4