摘要:
1、QAction::QAction ( const QString & text, QObject * parent ) QAction类的构造函数之一,利用text,parent创建QAction对象。QAction对象一般为菜单中的菜单项,比如 "文件"菜单中"新建"选项就是一个QAction对象,上述构造函数中text成员变量即为菜单项所表示的内容。 用法:QAction *newAction = new QAction(tr("&New"),this);2、void QAction::setIcon ( co 阅读全文
posted @ 2014-03-15 06:54
江召伟
阅读(2507)
评论(0)
推荐(0)