上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 136 下一页
摘要: http://blog.csdn.net/oowgsoo/article/details/1529411 Qt的信号和槽机制是Qt的一大特点,实际上这是和MFC中的消息映射机制相似的东西,要完成的事情也差不多,就是发送一个消息然后让其它窗口响应,当然,这里的消息是广义的 说法,简单点说就是如何在一个类的一个函数中触发另一个类的另一个函数调用,而且还要把相关的参数传递过去.好像这和回调函数也有点关... 阅读全文
posted @ 2011-07-15 15:52 katago 阅读(3457) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/oowgsoo/article/details/1529424 QPointer是一个指针封装类,其作用类似于智能指针,但是它最大的特点应该是在指针的控制上,它希望一个Qt的指针(当然是从QObject派生的)可以同时被多个类拥有,这在 界面编程中当然是很常见的事情了,但是当这个指针被删除时,我们不希望再找到那两个界面类然后通知它们,相反我们希望这两个界面... 阅读全文
posted @ 2011-07-15 15:51 katago 阅读(763) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/oowgsoo/article/details/1529284 Qt的QObject 1.试验代码: #include <QApplication> #include <QtCore> #include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); int ... 阅读全文
posted @ 2011-07-15 15:43 katago 阅读(285) 评论(0) 推荐(0)
摘要: 一个全局的,一个应用的 int main(int argc, char *argv[]) { QApplication app(argc, argv); QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::Tran... 阅读全文
posted @ 2011-07-14 17:47 katago 阅读(1557) 评论(0) 推荐(0)
摘要: splitter->setStretchFactor(0, 3); // widget gets 3 out of 4 width/height unitssplitter->setStretchFactor(1, 1); // widget gets 1 out of 4 width/height units 阅读全文
posted @ 2011-07-14 17:10 katago 阅读(4571) 评论(0) 推荐(0)
摘要: http://www.murga-linux.com/puppy/viewtopic.php?t=42571 阅读全文
posted @ 2011-07-12 19:40 katago 阅读(127) 评论(0) 推荐(0)
摘要: http://msdn.microsoft.com/en-us/library/ms810467.aspx http://hi.baidu.com/beisika/blog/item/b204d58f6c3bece9513d9297.html 阅读全文
posted @ 2011-07-12 19:09 katago 阅读(199) 评论(0) 推荐(0)
摘要: http://www.denx.de/wiki/DULG/LinuxNfsRoot root=/dev/nfs rw: the root filesystem will be mounted using NFS, and it will be writable. nfsroot=192.168.1.1:/opt/eldk-4.2/ppc_4xx: the NFS server has the IP... 阅读全文
posted @ 2011-07-11 16:36 katago 阅读(235) 评论(0) 推荐(0)
摘要: 参考 file:///Z:/qt-everywhere/marvell/download/udev-142/docs/writing_udev_rules/index.html 和man http://www.ibm.com/developerworks/cn/linux/l-cn-udev/index.html http://www.linuxsky.org/doc/admin/200710/... 阅读全文
posted @ 2011-07-07 21:59 katago 阅读(515) 评论(0) 推荐(0)
摘要: http://singleboy.blog.163.com/blog/#m=0 阅读全文
posted @ 2011-07-07 21:44 katago 阅读(132) 评论(0) 推荐(0)
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 136 下一页