免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4232 | 回复: 1
打印 上一主题 下一主题

请问Qt里QHBoxLayout和QHBox有何区别? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-15 05:24 |只看该作者 |倒序浏览
在里面不是都可以放东西么?

论坛徽章:
0
2 [报告]
发表于 2006-06-16 11:00 |只看该作者
看了半天还是不明白.
不过觉得是QHBox的部件色彩浓了点; QHBoxLayout可能纯粹做对齐用.

另外还有个问题, 为什么Qt类库里会有个LCD时间的类?
这东西很重要么?

也许有用, 这里居然没人说话

  1. Yarco Hello? I have 2 questions about qt...someone here?
  2. * amrit|wrk 改名为 amrit|afk
  3. Yarco 1. What's the difference between QHBox and QHBoxLayout?
  4. Yarco 2. Why Qt need a LCDTIME class? Is it important using?
  5. * Yarco was puzzled
  6. * Yarco look around
  7. Wintre You mean the LCD number?
  8. * meteors 已退出 (Read error: 110 (Connection timed out))
  9. Yarco Wintre: yes
  10. Yarco Wintre: Is it very important? Why Qt create such a class?
  11. Wintre It's mostly histoical
  12. Wintre No, it's not important
  13. Wintre A QHBox is a widget; a QHBoxLayout is a layout
  14. Wintre QHBox is just a widget with a QHBoxLayout
  15. Yarco Wintre: what the difference when using?
  16. Wintre Yarco: Well, you have to set a layout on a widget
  17. Wintre QHBox is just a convenience class for using a QHBoxLayout
复制代码

[ 本帖最后由 yarco2 于 2006-6-16 11:21 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP