随笔分类 -  Qt

上一页 1 2 3 4 5 下一页

QTimer
摘要:QTimer Class Reference In multithreaded applications, you can use QTimer in any thread that has an event loop. To start an event loop from a non-GUI thread, use QThread::exec(). Qt uses the timer's t... 阅读全文

posted @ 2012-06-26 13:49 katago 阅读(328) 评论(0) 推荐(0) 编辑

Another Look at Events
摘要:http://doc.qt.nokia.com/qq/qq11-events.html 阅读全文

posted @ 2012-06-26 13:46 katago 阅读(157) 评论(0) 推荐(0) 编辑

QEvent Class Reference
摘要:Detailed Description The QEvent class is the base class of all event classes. Event objects contain event parameters. Qt's main event loop (QCoreApplication::exec()) fetches ... 阅读全文

posted @ 2012-06-26 11:45 katago 阅读(204) 评论(0) 推荐(0) 编辑

Threads_Events_QObjects
摘要:http://qt-project.org/wiki/Threads_Events_QObjects Threads, Events and QObjects Warning: Beta Version The article is almost done, but it needs a bit of polishing and some good examples. Any rev... 阅读全文

posted @ 2012-06-25 18:24 katago 阅读(1006) 评论(0) 推荐(0) 编辑

threading basics
摘要:What Are Threads? GUI Thread and Worker Thread Simultaneous Access to Data Using Threads When to Use Alternatives to Threads Which Qt ... 阅读全文

posted @ 2012-06-25 17:37 katago 阅读(461) 评论(0) 推荐(0) 编辑

QObject 之 Thread Affinity
摘要:http://blog.csdn.net/dbzhang800/article/details/6557272 QObject Reentrancy The child of a QObject must always be created in the thread where the parent was created. This implies, among other thin... 阅读全文

posted @ 2012-06-25 15:52 katago 阅读(1675) 评论(0) 推荐(0) 编辑

qt embeded 环境变量
摘要:选项用:分割 export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts" export QWS_KEYBOARD="kblibhandler:/dev/xxx:disable-zap" 阅读全文

posted @ 2012-06-08 16:09 katago 阅读(247) 评论(0) 推荐(0) 编辑

qt 实现单例
摘要:头文件: class ConnectionManager { public: static ConnectionManager *instance(); }; 实现文件: Q_GLOBAL_STATIC(ConnectionManager, connectionManager) ConnectionManager *ConnectionManager::inst... 阅读全文

posted @ 2012-05-14 11:16 katago 阅读(959) 评论(0) 推荐(0) 编辑

qt下的跨目录多工程编译
摘要:转自:http://blog.csdn.net/high_high/article/details/7385585 这里要编译的工程包含一个库和一个可执行文件。可执行文件依赖于库,所以要先编译库,编译后库放在lib目录里面,可执行文件放在bin目录里面。 目录结构如下: [plain] view plaincopy . ├── app │ ├── app.pr... 阅读全文

posted @ 2012-04-25 19:04 katago 阅读(452) 评论(0) 推荐(0) 编辑

Implicit vs Explicit Sharing
摘要:Implicit vs Explicit Sharing Implicit sharing might not be right for the Employee class. Consider a simple example that creates two instances of the implicitly sharedEmployee class. #include "emplo... 阅读全文

posted @ 2012-03-28 19:29 katago 阅读(251) 评论(0) 推荐(0) 编辑

qt 手机开发
摘要:http://www.developer.nokia.com.cn/Develop/Qt/Getting_started/Step_5.html 阅读全文

posted @ 2012-03-27 19:02 katago 阅读(260) 评论(0) 推荐(0) 编辑

Qt 程序在 windows 下的发布
摘要:2010-05-22 0:53 这个问题,其实 Qt 的 manual 中解释的已经比较清楚了。下面是我根据自己的理解和实验后写的东西,希望比Qt文档容易理解一点。 另外:你可能对 Qt 插件学习(一) 感兴趣。如果需要制作安装程序,请访问 NSIS学习笔记(以Qt4程序打包为例) 下面不涉及静态编译(静态编译可以看看这儿),只包含动态编译(也就是Qt默认的情况),主要又分 mingw... 阅读全文

posted @ 2012-02-27 15:32 katago 阅读(7804) 评论(0) 推荐(0) 编辑

qprocess wildcard
摘要:http://developer.qt.nokia.com/forums/viewthread/9042 QProcess is the right class :) you just need to invoke a shell to perform that wildcard expansion. Something like QStringList options; ... 阅读全文

posted @ 2011-11-16 18:29 katago 阅读(376) 评论(0) 推荐(0) 编辑

qt中去掉最大,最小窗口,关闭按钮。
摘要:setWindowFlags(windowFlags()|Qt::FramelessWindowHint|Qt::WindowTitleHint); 阅读全文

posted @ 2011-11-09 14:49 katago 阅读(9935) 评论(0) 推荐(1) 编辑

Private implementation slots
摘要:Private implementation slots Disclaimer: this article descrbes techiques that are not part of the public Qt API, using them may result in non-portable or version specific code. The example below was t... 阅读全文

posted @ 2011-11-04 16:44 katago 阅读(673) 评论(0) 推荐(0) 编辑

QObject::sender() in a Q_PRIVATE_SLOT
摘要:http://www.qtcentre.org/threads/31700-QObject-sender()-in-a-Q_PRIVATE_SLOT class MyClassPrivate { public: ... void _q_mySlot() { Q_Q(MyClass); qDebug() << q->sender(); // should... 阅读全文

posted @ 2011-11-04 15:12 katago 阅读(1739) 评论(0) 推荐(0) 编辑

qt 内部
摘要:http://developer.qt.nokia.com/wiki/Category:SimplifiedChinese::QtInternals 阅读全文

posted @ 2011-11-03 18:57 katago 阅读(201) 评论(0) 推荐(0) 编辑

qt插件
摘要:http://developer.qt.nokia.com/wiki/BasicsOfPlugins_SimplifiedChinese http://developer.qt.nokia.com/wiki/QtPlugins_SimplifiedChinese 阅读全文

posted @ 2011-11-03 18:47 katago 阅读(258) 评论(0) 推荐(0) 编辑

Qt事件处理机制
摘要:Qt事件处理机制(上篇) http://www.61ic.com/Mobile/Symbian/201107/35587.html Qt事件处理机制(下篇) http://www.61ic.com/Mobile/Symbian/201107/35586.html 阅读全文

posted @ 2011-11-01 18:33 katago 阅读(296) 评论(0) 推荐(0) 编辑

qt exec
摘要:int QApplication::exec() { #ifndef QT_NO_ACCESSIBILITY QAccessible::setRootObject(qApp); #endif return QCoreApplication::exec(); } int QCoreApplication::exec() { ... 阅读全文

posted @ 2011-11-01 11:50 katago 阅读(1541) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 下一页