Qt Solutions Component: Property Browser
A property browser framework enabling the user to edit a set of
properties.
The framework provides a browser widget that displays the given
properties with labels and corresponding editing widgets (e.g.
line edits or comboboxes). The various types of editing widgets
are provided by the framework's editor factories: For each
property type, the framework provides a property manager (e.g.
QtIntPropertyManager and QtStringPropertyManager) which can be
associated with the preferred editor factory (e.g.
QtSpinBoxFactory and QtLineEditFactory). The framework also
provides a variant based property type with corresponding variant
manager and factory. Finally, the framework provides three
ready-made implementations of the browser widget:
QtTreePropertyBrowser, QtButtonPropertyBrowser and
QtGroupBoxPropertyBrowser.
Version history:
2.1: - QtTreePropertyBrowser - tooltip of property applied to
first column, while second column shows the value text of property
in its tooltip
- QtAbstractPropertyManager - initializeProperty() and
uninitializeProperty() without const modifier now
- QtTreePropertyBrowser and QtGroupBoxPropertyBrowser - internal
margin set to 0
- QtProperty - setEnabled() and isEnabled() methods added
- QtTreePropertyBrowser - "rootIsDecorated", "indentation" and
"headerVisible" properties added
- QtProperty - hasValue() method added, useful for group
properties
2.2: - FocusOut event now filtered out in case of
Qt::ActiveWindowFocusReason reason. In that case editor is not
closed when its sub dialog is executed
- Removed bug in color icon generation
- Decimals attribute added to "double" property type
- PointF, SizeF and RectF types supported
- Proper translation calls for tree property browser
- QtProperty - ensure inserted subproperty is different from
"this" property
- QtBrowserItem class introduced, useful for identifying browser's
gui elements
- Possibility to control expanded state of QtTreePropertyBrowser's
items from code
- QtTreePropertyBrowser - "resizeMode" and "splitterPosition"
properties added
- QtGroupBoxPropertyBrowser - fixed crash in case of deleting the
editor factory and then deleting the manager
- "Decoration" example added - it shows how to add new
responsibilities to the existing managers and editor factories
2.3: - Various bugfixes and improvements
- QtProperty - setModified() and isModified() methods added
- QtTreePropertyBrowser - disabling an item closes its editor
- KeySequence, Char, Locale and Cursor types supported
- Support for icons in enum type added
- Kerning subproperty exposed in Font type
- New property browser class added - QtButtonPropertyBrowser with
drop down button as a grouping element
2.4: - Fixed memory leak of QtProperty
- QtTreePropertyBrowser - group items are rendered better
- QtTreePropertyBrowser - propertiesWithoutValueMarked and
alternatingRowColors features added
- QtTreePropertyBrowser - possibility of coloring properties added
- QtTreePropertyBrowser - keyboard navigation improved
- New factories providing popup dialogs added:
QtColorEditorFactory and QtFontEditorFactory
- Single step attribute added to: QtIntPropertyManager and
QtDoublePropertyManager
2.5: - "Object Controller" example added. It implements a similar
widget to the property editor in QDesigner
- Compile with QT_NO_CURSOR
- Expand root item with single click on the '+' icon
- QtRectPropertyManager and QtRectFPropertyManager - by default
constraint is null rect meaning no constraint is applied
2.6: - QtGroupPropertyBrowser - don't force the layout to show the
whole labels' contents for read only properties, show tooltips for
them in addition.
- QtTreePropertyBrowser - fixed painting of the editor for color
property type when style sheet is used (QTSOLBUG-64).
- Make it possible to change the style of the checkboxes with a
stylesheet (QTSOLBUG-61).
- Change the minimum size of a combobox so that it can show at
least one character and an icon.
- Make it possible to properly style custom embedded editors (e.g.
the color editor provided with the solution).
没有合适的资源?快使用搜索试试~ 我知道了~
QT矢量图形绘制完美例程可直接运行
共1528个文件
idx:1053个
html:108个
png:80个
需积分: 3 0 下载量 197 浏览量
2024-04-21
10:50:13
上传
评论 1
收藏 20.15MB ZIP 举报
温馨提示
QT绘制各种矢量图形,包括矩形,旋转矩形,圆形,椭圆,多线段,样条曲线,贝塞尔曲线,多边形等,可进行缩放,旋转,拖拽等矢量图形操作,可拆成模块使用,非常方便。代码通俗易懂,非常适合二次开发。
资源推荐
资源详情
资源评论
收起资源包目录
QT矢量图形绘制完美例程可直接运行 (1528个子文件)
configure.bat 3KB
configure 689B
qrc_app.cpp 219KB
qrc_app.cpp 219KB
qtpropertymanager.cpp 211KB
qtcanvas.cpp 161KB
qtcanvas.cpp 161KB
moc_qtpropertymanager.cpp 135KB
moc_qtpropertymanager.cpp 135KB
qtvariantproperty.cpp 101KB
qteditorfactory.cpp 83KB
qtpropertybrowser.cpp 63KB
moc_qteditorfactory.cpp 61KB
moc_qteditorfactory.cpp 61KB
drawobj.cpp 41KB
qttreepropertybrowser.cpp 35KB
mainwindow.cpp 32KB
qrc_qtpropertybrowser.cpp 26KB
qrc_qtpropertybrowser.cpp 26KB
moc_qtvariantproperty.cpp 21KB
moc_qtvariantproperty.cpp 21KB
qtbuttonpropertybrowser.cpp 20KB
mainwindow.cpp 18KB
qtgroupboxpropertybrowser.cpp 17KB
customproperty.cpp 17KB
moc_qtpropertybrowser.cpp 17KB
moc_qtpropertybrowser.cpp 17KB
drawtool.cpp 16KB
moc_drawobj.cpp 16KB
moc_drawobj.cpp 16KB
qtpropertybrowserutils.cpp 15KB
moc_customproperty.cpp 15KB
moc_customproperty.cpp 15KB
mainwindow.cpp 15KB
objectcontroller.cpp 14KB
objectcontroller.cpp 14KB
moc_mainwindow.cpp 12KB
moc_mainwindow.cpp 12KB
drawscene.cpp 11KB
main.cpp 11KB
moc_qttreepropertybrowser.cpp 10KB
moc_qttreepropertybrowser.cpp 10KB
commands.cpp 10KB
moc_drawscene.cpp 10KB
moc_drawscene.cpp 10KB
main.cpp 10KB
main.cpp 9KB
drawview.cpp 9KB
rulebar.cpp 9KB
moc_qtpropertybrowserutils_p.cpp 8KB
moc_qtpropertybrowserutils_p.cpp 8KB
main.cpp 8KB
moc_qtbuttonpropertybrowser.cpp 6KB
moc_qtbuttonpropertybrowser.cpp 6KB
main.cpp 6KB
moc_rulebar.cpp 5KB
moc_rulebar.cpp 5KB
moc_drawview.cpp 4KB
moc_drawview.cpp 4KB
moc_qtgroupboxpropertybrowser.cpp 4KB
moc_qtgroupboxpropertybrowser.cpp 4KB
moc_objectcontroller.cpp 4KB
moc_objectcontroller.cpp 4KB
main.cpp 2KB
main.cpp 2KB
sizehandle.cpp 2KB
main.cpp 620B
document.cpp 50B
classic.css 4KB
qtpropertybrowser.dcf 46KB
Makefile.Debug 595KB
Makefile.Debug 550KB
.DS_Store 6KB
qdraw.exe 2.54MB
qdraw.exe 798KB
.gitignore 242B
qtpropertymanager.h 27KB
qtcanvas.h 19KB
qtcanvas.h 19KB
qteditorfactory.h 16KB
drawobj.h 12KB
qtpropertybrowser.h 11KB
qtvariantproperty.h 9KB
qtpropertybrowserutils_p.h 5KB
qttreepropertybrowser.h 5KB
mainwindow.h 4KB
mainwindow.h 4KB
mainwindow.h 4KB
commands.h 4KB
qtbuttonpropertybrowser.h 3KB
customproperty.h 3KB
drawtool.h 3KB
qtgroupboxpropertybrowser.h 3KB
objectcontroller.h 2KB
objectcontroller.h 2KB
drawscene.h 2KB
drawview.h 1KB
sizehandle.h 1KB
rulebar.h 937B
moc_predefs.h 276B
共 1528 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
qq_34037389
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功