上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 40 下一页
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 本文将介绍3个控件: slider,progress和circleprogress.具体的用法,请参考源码提供的函数。 本文演示结果:滑动滑块,进度条和环形进度条随着slider的值变化而变化。 样式 xml文 阅读全文
posted @ 2020-12-11 14:56 mohist 阅读(1202) 评论(0) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 RichEdit的更多用法,请参考源码中RichEdit.h提供的函数,RichEdit控件,可以定制为多种多样的形式,其公开的函数很多,本文仅演示密码和只读。 xml文件添加代码 基于上一篇, 继续向basi 阅读全文
posted @ 2020-12-11 13:34 mohist 阅读(1470) 评论(0) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 combo的更多用法,请参考源码中combo.h提供的函数,文末添加其提供的公有函数 xml文件添加代码 基于上一篇, 继续向basic.xml中添加下面关于combo的代码。 xml完整源码在文末。 <!-- 阅读全文
posted @ 2020-12-11 13:07 mohist 阅读(1630) 评论(2) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 xml文件添加代码 基于上一篇, 继续向basic.xml中添加下面关于TreeView的代码。 xml完整源码在文末。 <!-- TreeView --> <TreeView class="list" nam 阅读全文
posted @ 2020-12-10 23:48 mohist 阅读(918) 评论(0) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 本文将演示listbox的添加,删除,删除选中项,添加到指定位置等常用功能。 xml文件添加代码 基于上一篇, 继续向basic.xml中添加下面关于ListBox的代码。 xml完整源码在文末。 <HBox> 阅读全文
posted @ 2020-12-10 23:24 mohist 阅读(1223) 评论(0) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 xml文件添加代码 基于上一篇, 继续向basic.xml中添加下面关于Option的代码。 xml完整源码在文末。 <!-- option--> <VBox> <Option class="circle_op 阅读全文
posted @ 2020-12-10 21:46 mohist 阅读(1497) 评论(0) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 xml文件添加代码 基于上一篇, 继续向basic.xml中添加下面关于CheckBox的代码。 xml完整源码在文末。 <!--checkbox--> <VBox> <CheckBox class="chec 阅读全文
posted @ 2020-12-10 21:24 mohist 阅读(1337) 评论(2) 推荐(0)
摘要: introduction 更多控件用法,请参考 here 和 源码。 本文的代码基于这里 lets go xml文件添加代码 下面的xml文件内容,删除label控件的相关代码,增加了3个按钮。 其中,代码如下: <?xml version="1.0" encoding="UTF-8"?> <Win 阅读全文
posted @ 2020-12-10 18:05 mohist 阅读(1448) 评论(0) 推荐(0)
摘要: introduction 本文将总结我对nim_duilib的xml配置。 更多控件和控件属性的具体说明, 请参考 here before starting ### 1 You should clone the program named NIM_Duilib_Framework 2 open th 阅读全文
posted @ 2020-12-10 17:35 mohist 阅读(888) 评论(0) 推荐(0)
摘要: before starting clone nim_duilib: https://github.com/netease-im/NIM_Duilib_Framework 迁出github的源码即可。 方法有两种: A: 使用 Github Desktop 迁出; B: 使用命令 git clone 阅读全文
posted @ 2020-12-09 23:33 mohist 阅读(2054) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 40 下一页