博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

Creatory

Y(^_^)Y I hope someday we can meet on the road =^_^=
   creatory.cublog.cn
关于作者  
姓名:creatory
职业:Embedded-Linux
年龄:22
格言:努力就有可能成功
院校:SDUST
联系我:creatory@mail.com
creatory@163.com

我的分类  




Others
1.
The QActionGroup class groups actions together by the way of exclusive.
For example:
QActionGroup alignmentGroup=new QActionGroup(this);
alignmentGroup->addAction(leftAlign);
alignmentGroup->addAction(rightAlign);
alignmentGroup->addAction(centerAlign);
leftAlign->setChecked(true);

2.
Use QAction::setStatusTip() to set the status tip about current operation.

3.A problem that sounds stupid

I don't know what causes I lost my shutdown and reboot button.I shutdown my computer only by the way of command 'shutdown' or 'reboot'.First,I thought that Gnome Panel init failed,so I reboot my computer but there was also no buttons.There was only log out,lock screen,switch user,hiberinate,suspend buttons.
I searched it on Internet.Finally I found the solution.
Go to System/Administration/Login Window and make sure that on the local tab,Menu bar "show actions Menu" is checked.

 发表于: 2008-05-07,修改于: 2008-05-07 12:41 已浏览41次,有评论0条 推荐 投诉

  网友评论

  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:0.16714

京ICP证041476号