注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

Nihui's Blog

nihui的私人空间和日志

 
 
 

日志

 
 

半透明的工具提示 Translucent Tooltippin'  

2007-09-08 10:25:11|  分类: planet KDE |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |


这就是我上次提到过的基于 QGraphicsItem 的工具栏提示。这个创意是,它会显示已经在 KFileItem 中的基本数据信息以及启动 KIO job 来从后端获取剩余的信息。Dunno 很疑惑这个创意的实现的时间只有 0 秒钟──那仅仅就使用了 KFileItem::timeString() 函数。让我们看看吧~  ;-)
Here is that QGraphicsItem-based tooltip I mentioned earlier. The idea is it will show the basic metadata already in KFileItem to start then launch a KIO job to get the rest in the background. Dunno why the creation time is 0 - that is just using KFileItem::timeString(). Have to look at that ;-)

它使用一个中心起点和当前的弹出动画,它可以在 X 轴坐标上 180 度至 360 度旋转,然后重置。这意味着它会以边缘面对这你平面显现,接着“打滚”。
It uses a center origin and currently has a popup animation that rotates on the X axis starting at 180 degrees, going to 360, then resetting. This means it starts out flat with the edge facing you then "flips" around.

感谢所有在视频中提出建议的人们!我仍然不确定我还需要实现什么──今晚我 google 搜索了很多──但还有很多其他建议,那些建议也非常令人欣赏。
As to all the suggestions on video cards people have made, thanks! Still not sure what I am going to get - lots of googling to do tonight - but any other suggestions people have would certainly be appreciated.

(nihui 注:一下是作者的一段显卡使用的文字。)
Edit: Found a Radeon 9250 AGP w/ 256Mb for $60USD right down the street. It's old enough to where I should still be able to use the free drivers, but newer than what I got now. Does anyone have any experience with this card using the Xorg drivers? I'm not looking for anything too fancy - just something stable that I can hack on QGLWidget without occasional freezing. I'm not much of a gamer so don't need top of the line performance, (otherwise I'd get a better card and use proprietary drivers), but being able to use a composition manager and Pete's OpenGL plugin with epsxe would be cool, too >:)
  评论这张
 
阅读(392)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017