Qt学习之路—–使用QObject来创建线程

August 6th, 2013 by JasonLe's Tech 1,658 views

QT首先为我们提供了信号和槽的机制,且该机制原生支持跨线程。 » Read more: Qt学习之路—–使用QObject来创建线程

Qt学习之路—–SIGNAL & SLOT

August 6th, 2013 by JasonLe's Tech 1,044 views

今天学习了QtGUI与QThread结合的例子,写了一个发射信号量的记时程序。

» Read more: Qt学习之路—–SIGNAL & SLOT

Qt学习之路—–QThread QMutex

August 6th, 2013 by JasonLe's Tech 1,277 views

今天学习Qt的Thread库与信号量。

在qt中,开启线程,只需开启 » Read more: Qt学习之路—–QThread QMutex

Qt学习之路—–QTimer

August 5th, 2013 by JasonLe's Tech 1,181 views

QTimer是个定时类,可以通过SIGNAL 与 SLOT 触发某个时间,需要继承QTimer类。然后在构造函数中创建该对象,然后设置触发时间间隔。
在connect()函数中设置SLOT执行函数。 » Read more: Qt学习之路—–QTimer

Qt学习之路 —QStatusBar

August 5th, 2013 by JasonLe's Tech 1,250 views

QStatusBar 与 QToolBar 很类似

» Read more: Qt学习之路 —QStatusBar