widget求助

傲慢的上校
博客专家认证
2011-11-11 05:14:29
我想得到所有系统widget 图标,该如何实现呢?高分重谢!!!
...全文
121 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
A一剑飞鸿 2011-11-15
  • 打赏
  • 举报
回复
http://www.haogongju.net/art/787122
傲慢的上校 2011-11-15
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 gsg8709 的回复:]

http://www.haogongju.net/art/787122
[/Quote]http://wpf814533631.iteye.com/blog/1252309 原文引自这篇文章,想要看的话,看这个吧。上面那个太乱了。

当然推荐下自己的博客:http://blog.csdn.net/aomandeshangxiao/article/details/6966642我解决这个问题的心得。
傲慢的上校 2011-11-14
  • 打赏
  • 举报
回复
http://blog.csdn.net/aomandeshangxiao/article/details/6966642
傲慢的上校 2011-11-14
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 nkliming 的回复:]

http://since2006.com/android/1.6-drawables.php,这个网页里有不少android自带的图标,不知是不是你想要的?建议楼主看一下。
[/Quote]我是想在程序中获取系统中的widget信息。想用代码得到那些图标。
ucasliming 2011-11-14
  • 打赏
  • 举报
回复
http://since2006.com/android/1.6-drawables.php,这个网页里有不少android自带的图标,不知是不是你想要的?建议楼主看一下。
傲慢的上校 2011-11-11
  • 打赏
  • 举报
回复
自己顶一下吧
中国象棋的C++代码 #include "chess_zn.h" QTcpSocket * Chess_ZN::client = new QTcpSocket; QUndoStack * Chess_ZN::undoStack = new QUndoStack(); int Chess_ZN::second = 120; bool Chess_ZN::isTurn = false; Chess_ZN::Chess_ZN(QWidget *parent) : QWidget(parent) { init(); initElse(); } void Chess_ZN::initElse(){ treeitem = 1; timer=new QTimer; portmap=0; isConn = true; start = false; isTimer = false; isSearch = false; connect(timer,SIGNAL(timeout()),this,SLOT(stopWatch())); connect(wigettree[1],SIGNAL(itemClicked(QTreeWidgetItem*,int)),this,SLOT(getInfo(QTreeWidgetItem*))); connect(wigettree[0],SIGNAL(itemClicked(QTreeWidgetItem*,int)),this,SLOT(connectToHost_PK(QTreeWidgetItem*))); connect(client,SIGNAL(connected()),this,SLOT(connected())); //连接一旦断开 connect(client,SIGNAL(error(QAbstractSocket::SocketError)),this,SLOT(error(QAbstractSocket::SocketError ))); connect(client,SIGNAL(readyRead()),this,SLOT(readyRead())); peer = new PeerManager(this); peer->setServerPort(10001); items=wigettree[1]->currentItem(); item_pk=wigettree[0]->currentItem(); item_pk_info=wigettree[0]->currentItem(); connect(undoStack, SIGNAL(canUndoChanged(bool)),action2[8], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),action2[9], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),action2[10], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),action2[11], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),button[0], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),button[1], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),button[2], SLOT(setEnabled(bool))); connect(undoStack, SIGNAL(canUndoChanged(bool)),button[3], SLOT(setEnabled(bool))); timer->start(1000); createUndoView(); isChoose = true; tableeditor=new TableEditor("users"); } void Chess_ZN::createUndoView() { undoVie

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧