libgitlevtbus基于Qt的Event Bus
libgitlevtbus 是基于Qt构建的事件总线库,利用了Qt中的signal和slot机制,具有易于使用的优点。
#include "gitlmodual.h" #include "gitleventbus.h" #include <QDebug> /*! * This is a test modual */ class TestModual : public GitlModual { public: /// re-implement this method to do anything you want... virtual bool detonate( GitlEvent& rcEvt) { qDebug() << "I got notified!"; return true; } }; int main(int argc, char *argv[]) { TestModual cModual; cModual.subscribeToEvtByName("I am a test event"); ///< subscribe to an event GitlEvent cEvent("I am a test event"); ///< create an event cEvent.dispatch(); ///< dispatch ///< output: "I got notified!" return 0; }
评论
Haruna基于 Qt 的视频播放器
HarunaVideoPlayer是一个基于Qt开发的视频播放器。主要特性:支持直接通过URL播放youtube视频支持播放列表,同时可轻松进行控制支持根据字幕内容的某些词汇自动跳过播放可控制回放速度
Haruna基于 Qt 的视频播放器
0
puNES基于 Qt 的任天堂模拟器
puNES是基于Qt的任天堂娱乐系统模拟器和NSF/NSFe音乐播放器。 配置要在可移植模式下运行它,请通过添加后缀来重命名可执行文件_p。例子:punes.exe->punes_p.exe或p
puNES基于 Qt 的任天堂模拟器
0
Qtitan基于 Qt 的 GUI 框架
Qtitan是一组基于Qt的GUI框架,主要用来开发高质量、具有丰富界面效果的桌面应用,包含的组件主要涉及多媒体和表格。
Qtitan基于 Qt 的 GUI 框架
0
qsint基于Qt的UI组件
一个开源的Qt小组件程序,提供了包括棒图、饼图、曲线等小组件ActionLabelAnactionbutton,similartoWindowsVista/7controlpanelitem.Acti
qsint基于Qt的UI组件
0