属性表格组件 wxPropertyGrid

码农软件 · 软件分类 · GUI开发框架 · 2019-08-10 14:11:29

软件介绍

wxPropertyGrid 是一个属性编辑器的UI组件,支持字符串、数字、标志、字体、颜色等属性类型设置。

示例代码

// Add int property
pg->Append( new wxIntProperty(wxT("IntProperty"), wxPG_LABEL, 12345678) );

// Add float property (value type is actually double)
pg->Append( new wxFloatProperty(wxT("FloatProperty"), wxPG_LABEL, 12345.678) );

// Add a bool property
pg->Append( new wxBoolProperty(wxT("BoolProperty"), wxPG_LABEL, false) );

// A string property that can be edited in a separate editor dialog.
pg->Append( new wxLongStringProperty(wxT("LongStringProperty"),
wxPG_LABEL,
wxT("This is much longer string than the ")
wxT("first one. Edit it by clicking the button.")));

// String editor with dir selector button.
pg->Append( new wxDirProperty(wxT("DirProperty"), wxPG_LABEL, ::wxGetUserHome()) );

// wxArrayStringProperty embeds a wxArrayString.
pg->Append( new wxArrayStringProperty(wxT("Label of ArrayStringProperty"),
wxT("NameOfArrayStringProp")));

// A file selector property.
pg->Append( new wxFileProperty(wxT("FileProperty"), wxPG_LABEL, wxEmptyString) );

// Extra: set wildcard for file property (format same as in wxFileDialog).
pg->SetPropertyAttribute( wxT("FileProperty"),
wxPG_FILE_WILDCARD,
wxT("All files (*.*)|*.*") );

本文地址:https://codercto.com/soft/d/12061.html

Spark SQL内核剖析

Spark SQL内核剖析

朱锋、张韶全、黄明 / 电子工业出版社 / 2018-8 / 69.00元

Spark SQL 是 Spark 技术体系中较有影响力的应用(Killer application),也是 SQL-on-Hadoop 解决方案 中举足轻重的产品。《Spark SQL内核剖析》由 11 章构成,从源码层面深入介绍 Spark SQL 内部实现机制,以及在实际业务场 景中的开发实践,其中包括 SQL 编译实现、逻辑计划的生成与优化、物理计划的生成与优化、Aggregation 算......一起来看看 《Spark SQL内核剖析》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具