• 4502阅读
  • 1回复

为何QCheckListItem不可用? [复制链接]

上一主题 下一主题
离线ppdog
 
只看楼主 倒序阅读 楼主  发表于: 2008-03-14
— 本帖被 XChinux 执行加亮操作(2008-03-14) —
为何QCheckListItem不可用?
我定义如下:
QCheckListItem *f1 = new QCheckListItem(listview,tr("节点1"),QCheckListItem::CheckBox);

然后在 listview->insertItem(f1);

编译时出错提示1、没有QCheckListItem这个类型
              2、 listview没有insertItem()这个函数

可是文档上都有的啊,很奇怪!
离线zncggaofei
只看该作者 1楼 发表于: 2008-03-14
你写了头文件了?

#include <Qt3supprot>???
There is someone that is coming or passing away in your life around the clock, so you may lose sight of those seen, and forget those remembered. There is gain and loss in your life, so you may catch sight of those unseen, and remember those forgotten. Nevertheless, doesn’t the unseen exist for sure? Will the remembered remain forever?
快速回复
限100 字节
 
上一个 下一个