会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
warindy
博客园
首页
新随笔
联系
订阅
管理
2023年2月10日
std::list实现数据向前移动
摘要: 可以使用std::list的成员方法splice来实现数据的移动。其声明的一种形式为 void splice( const_iterator pos, list&& other, const_iterator it ); 表示将other中位于it内容切片(取出并插入到)*this的pos之前。(有
阅读全文
posted @ 2023-02-10 16:22 warindy
阅读(146)
评论(0)
推荐(0)
2022年10月13日
QML上层MouseArea对下层的MouseArea接收positionChange信号的遮挡
摘要: 我们知道,QML中更上层的MouseArea会阻挡下层的MouseArea接收鼠标信号,我们可以通过设置鼠标穿透来规避这种遮挡。 click事件的遮挡 如果将上层的MouseArea的enable属性设置为false,则不再阻挡鼠标的click事件。 Rectangle { anchors.fill
阅读全文
posted @ 2022-10-13 15:22 warindy
阅读(474)
评论(0)
推荐(0)
公告