Tianchi(天池)Qt共享代码库 v0.0.2-build20130701发布

XChinux 2013-07-02 09:06:35
加精
天池共享源码库(以下简称Tianchi),是一套采用 C++ 语言,并且基于 Qt framework 的扩展库。
创建该库的目的是为了进一步简化使用 Qt 开发过程中的复杂性。
Tianchi 将考虑涉及各功能模块的类库、控件、插件等。
Tianchi 采用全部源代码提供方式进行共享和参与。
各位Qter们,有微博的强力扩散啊:
http://t.qq.com/qtcnorg
http://weibo.com/qtcnorg

Tianchi v0.0.2 Repo:
https://github.com/qtcn/tianchi/tree/v0.0.2-build20130701

Tianchi v0.0.2下载:
https://github.com/qtcn/tianchi/archive/v0.0.2-build20130701.zip
https://github.com/qtcn/tianchi/archive/v0.0.2-build20130701.tar.gz

Tianchi v0.0.2 API手册:
http://www.qtcn.org/tianchi/docs/0.0.2/tianchi-0.0.2.chm

Tianchi v0.0.2 API在线手册:
http://www.qtcn.org/tianchi/docs/0.0.2

官方论坛:
http://www.qtcn.org/bbs/thread-htm-fid-105.html
发布位置:
https://github.com/qtcn/tianchi
如何参与项目及贡献代码:
http://www.qtcn.org/bbs/read-htm-tid-53628.html
===============================================
Tianchi 0.0.2 is the second public release. supported in x86/x64's win32/linux
Qt desktop edition, compilers tested in msvc2010/2012 and mingw(with Qt5)/gcc

Tianchi Repository: https://github.com/qtcn/tianchi
Tianchi Forum & Bug Report: http://www.qtcn.org/bbs/thread-htm-fid-105.html
Tianchi Docs: http://www.qtcn.org/tianchi/docs/0.0.2

****************************************************************************
* Library *
****************************************************************************

Chinese
-------
- TcChinese
class TcChinese:
1. 取得多个汉字的首字母
2. 取得多个汉字的全部拼音
3. 混合字符时转换中不过滤英数符号等

Core
----
- TcClasses
class TcPlayer: 玩家信息类,常用在C/S中的客户端用户信息保存
class TcInvoke: 映射执行对象类
class TcDBFields: 数据格式转换类,用于key=value格式数据读取

- TcCommon
function initQS: 全局字符集对象
function QS: 汉字字符集转换
function max/min: 最大最小判断
function iif: 分支逻辑判断
function MsgBox: 显示简易文本信息对话框
function debug_out: 输出debug日志信息(到控制台或文件)

- TcString
class TcString: 字符串功能增强与扩展
class TcStringList: 字符串列表功能增强与扩展

- TcUtils
class TcUtils: 常用小功能综合函数集

- TcTuple
class TcTuple: 简单的Tuple(元组)模板类,提供2~10个类型参数的模板

- TcSingleton
class TcSingleton: 用指针实现的单例模式的模版类

- TcVariantMapTableModel
class TcVariantMapTableModel: 以QVariantMap作为数据行的model

- TcFunctionalSortFilterProxyModel
class TcFunctionalSortFilterProxyModel
依所设过滤参数(QVariantMap)来使用已设滤函数进行过滤的模型
File
----
- TcDir
class TcDir: 可以复制目录树的类,也可以查找目录内所有的文件

- TcFile
class TcFile: 文件操作常用处理类

- TcJson
class TcJSONObject: 兼容Qt4.x的JSON文件生成和解析类

- TcLog
class TcLog: 简单的文本文件输出日志类

- TcMSExcel
class TcMSExcel: 通过OLE方式操作Microsoft Excel

- TcFileIO
class TcFileIO: 一些文件复制和提取功能的类

- TcExcelReader
class TcExcelReader: 通过OLE方式读取Excel(要求已安装Excel或WPSOffice)

Gui
---
- TcClickLabel
class TcClickLabel: 可发出clicked()信号的Label部件

- TcDateEdit
class TcDateEdit: 允许为空的日期选择部件

- TcFlowLayout
class TcFlowLayout: 流式布局类

- TcGlowEffect
class TcGlowEffect: 发光效果的QGraphicsEffect

- TcGuiUtils:
class TcCursorWait: 等待光标的设置和自动恢复处理类
class TcCursorBusy: 退出块时使光标自动恢复为原先光标形状

- TcLineEdit
class TcLineEdit: 增强型LineEdit部件,可发出doubleClicked()信号,并且可使编辑
和非编辑状态时显示不同的字符

- TcMarqueeLabel
class TcMarqueeLabel: 跑马灯效果的Label,可左右或上下滚动,可设置速度

- TcHeaderSetupDialog
class TcHeaderSetupDialog: 设置QTreeWidget标题的对话框

- TcSortPaginationTableView
class TcSortPaginationTableView: 可排序和分页的TableView

Network
-------
- TcDownloadHttp
class TcDownload: HTTP文件多线程下载器
class TcDownloadList: 用于管理HTTP文件多线程下载的容器

- TcSingleInstance
class TcSingleInstance: 应用程序单例实现类

- TcUdp
class TcUdp: UDP 协议的通讯器

OS
--
- TcOS
class TcOS: 操作系统相关的操作类

Sql
-----
- TcMSSQL
static class function availableODBCDrivers: 读取可用MSSQL ODBC驱动和版本信息
static class function ODBCDSN: 构造ODBC连接字符串

- TcOracle
static class function availableODBCDrivers: 读取可用Oracle ODBC驱动和版本信息
static class function ODBCDSN: 构造ODBC连接字符串

- TcDataAccess
class TcDataAccessStatement: 用于构造SQL语句的数据访问语句类
class TcDataAccess: 用于访问数据库的数据访问类

- TcDatabase
class TcDatabase: 数据库操作类

Widget
------
- TcTreeEx
class TcTreeEx: QTreeWidget的扩展,可直接导出到 Excel 中



在此感谢该版本贡献人员:
cnhemiya
jonix(圣域天子)
roywillow
XChinux
tsuibin
...全文
3539 40 打赏 收藏 转发到动态 举报
写回复
用AI写文章
40 条回复
切换为时间正序
请发表友善的回复…
发表回复
XChinux 2013-10-15
  • 打赏
  • 举报
回复
2013.09.25 TcUtils类增加getLocationFromIP()方法。即从获取IP地址所在地区。 2013.10.11 cnhemiya增加TcRecentUse模板类 2013.10.11 XChinux增加TcScreenCutDialog类 2013.10.15 younghz增加TcArrowButton类
XChinux 2013-07-17
  • 打赏
  • 举报
回复
2013.07.17 TcExcelReader类增加cell(string columnName, int rowIndex)和cell(string cellName)两个函数以方便读取单元格数据。
来日醉卧绝顶 2013-07-15
  • 打赏
  • 举报
回复
很有实用价值哦
ccc99992 2013-07-13
  • 打赏
  • 举报
回复
大放送滴答滴答滴答滴答
afigiafasdf 2013-07-13
  • 打赏
  • 举报
回复
支持力顶
  • 打赏
  • 举报
回复
nm2014 2013-07-10
  • 打赏
  • 举报
回复
不错啊~~~~~~
starcraft8899 2013-07-10
  • 打赏
  • 举报
回复
好东西。楼主大方。
XChinux 2013-07-10
  • 打赏
  • 举报
回复
关于tianchi中需求列表 http://www.qtcn.org/bbs/read-htm-tid-53757.html 新增加了下面两项需求: 11. 增加QAbstractItemView内容输出成各种电子表格格式文件功能(csv、xls(包括html、xml格式)、xlsx、ods等) 12. 增加将Word、PPT文档读取后显示功能 大家想要什么功能,可以在回帖中说明。有要参加tianchi开发的,看下面链接: http://www.qtcn.org/bbs/read-htm-tid-52866.html
haidianlxw 2013-07-10
  • 打赏
  • 举报
回复
感谢!!!!!!!!!!!!!
pengderun 2013-07-09
  • 打赏
  • 举报
回复
非常感谢!!!
lang14 2013-07-08
  • 打赏
  • 举报
回复
china_jeffery 2013-07-08
  • 打赏
  • 举报
回复
nice Mark
alexmayer 2013-07-07
  • 打赏
  • 举报
回复
果然是自古英雄出少年啊。
Xiao灬阿狸 2013-07-07
  • 打赏
  • 举报
回复
sexworm 2013-07-06
  • 打赏
  • 举报
回复
正是我需要的,谢谢了
line_us 2013-07-05
  • 打赏
  • 举报
回复
全部源代码提供方式进行共享和参与。
nettman 2013-07-05
  • 打赏
  • 举报
回复
zjq2008xx 2013-07-05
  • 打赏
  • 举报
回复
不错,很好的代码
hugh_z 2013-07-05
  • 打赏
  • 举报
回复
learning.
加载更多回复(14)

16,203

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧