摘要: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...
阅读全文
摘要:http://doc.qt.nokia.com/qq/qq11-events.html
阅读全文
摘要: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 ...
阅读全文
摘要: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...
阅读全文
摘要:What Are Threads? GUI Thread and Worker Thread Simultaneous Access to Data Using Threads When to Use Alternatives to Threads Which Qt ...
阅读全文
摘要: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...
阅读全文
摘要:选项用:分割 export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts" export QWS_KEYBOARD="kblibhandler:/dev/xxx:disable-zap"
阅读全文
摘要:头文件: class ConnectionManager { public: static ConnectionManager *instance(); }; 实现文件: Q_GLOBAL_STATIC(ConnectionManager, connectionManager) ConnectionManager *ConnectionManager::inst...
阅读全文
摘要:转自:http://blog.csdn.net/high_high/article/details/7385585 这里要编译的工程包含一个库和一个可执行文件。可执行文件依赖于库,所以要先编译库,编译后库放在lib目录里面,可执行文件放在bin目录里面。 目录结构如下: [plain] view plaincopy . ├── app │ ├── app.pr...
阅读全文
摘要: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...
阅读全文
摘要:http://www.developer.nokia.com.cn/Develop/Qt/Getting_started/Step_5.html
阅读全文
摘要:2010-05-22 0:53 这个问题,其实 Qt 的 manual 中解释的已经比较清楚了。下面是我根据自己的理解和实验后写的东西,希望比Qt文档容易理解一点。 另外:你可能对 Qt 插件学习(一) 感兴趣。如果需要制作安装程序,请访问 NSIS学习笔记(以Qt4程序打包为例) 下面不涉及静态编译(静态编译可以看看这儿),只包含动态编译(也就是Qt默认的情况),主要又分 mingw...
阅读全文
摘要: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; ...
阅读全文
摘要:setWindowFlags(windowFlags()|Qt::FramelessWindowHint|Qt::WindowTitleHint);
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:http://developer.qt.nokia.com/wiki/Category:SimplifiedChinese::QtInternals
阅读全文
摘要:http://developer.qt.nokia.com/wiki/BasicsOfPlugins_SimplifiedChinese http://developer.qt.nokia.com/wiki/QtPlugins_SimplifiedChinese
阅读全文
摘要:Qt事件处理机制(上篇) http://www.61ic.com/Mobile/Symbian/201107/35587.html Qt事件处理机制(下篇) http://www.61ic.com/Mobile/Symbian/201107/35586.html
阅读全文
摘要:int QApplication::exec() { #ifndef QT_NO_ACCESSIBILITY QAccessible::setRootObject(qApp); #endif return QCoreApplication::exec(); } int QCoreApplication::exec() { ...
阅读全文