
Value Browser
Source (link to git-repo or to original if based on someone elses unmodified work):
The main features are:
- Multi-page support
- Item hints
- State flags
- Hierarchical items layout
- Group items
- Special and Own values
- Value lists with auto-completion and auto-appending
- Storing and restoring of value sets
- Quick browser fill
- Binding with external (linked) values
- Import/Export with QSettings
- Highlighting of changes
- Input value validation (numeric, regex and own validators)
- Button editors
- Combo editors
- Extended values and editors (bool, numeric, color, etc.)
3.3.0
---------------------------------------------------------------------
- Added TPathValue class for picking file/folder items.
- Added itemIcon() and setItemIcon() helper methods.
- Added reversion buttons for each value, and appropriate methods to Value Browser
to change its icon.
- Fixed issue with clearing default value while reading from settings
with SP_LINKED policy.
- Fixed issue with comparing FontValues.
- Fixed issue with traversing disabled items.
- Fixed issue with color icons for TBaseGroup.
- Fixed issue with distance between icons and edit line for some styles.
- HintChanged() signals are emitted also when current page is changed.
- ValuePicked() signal is emitted only when item's value is changed to another one.
- Speedup of browsing items.
Ratings & Comments
10 Comments
Add images to help doc for widgets
Hi, Unfortunately VB does not support this feature...
Hi. I'm looking for a QT Widget, that allows editing of Properties, exposed by the QMetaObject properties. Much like the Properties-Editor found in QT Designer. Could such a feature be implemented using the Value Browser? I thought i ask, before i start digging in the docs and sources.
Hi. After promotion and build the QMainMenu and varius QToolTips r visualizated with the wrong dimensions and all the application fonts r shownd smaller then they r. Thanks 4 all. Bye. Using QT 4.4
Hi. After promotion and build the QMainMenu and varius QToolTips r visualizated with the wrong dimensions and all the application fonts r shownd smaller then they r. Thanks 4 all. Bye.
hi. How to use a vb like Designer widget?
Hi, there is no direct support of Designer, but you can put VB to the form using widget promotion.
I've got "Segmentation fault" when tried to run demos for value browser. My Environment - Fedora6 Linux, Qt-4.3.0-commercial. I'm not sure if it is troubles with my system but here is backtrace: Program terminated with signal 11, Segmentation fault. #0 0x00a8675c in QAbstractItemModel::staticMetaObject () from /usr/local/Trolltech/Qt-4.3.0/lib/libQtCore.so.4 (gdb) bt #0 0x00a8675c in QAbstractItemModel::staticMetaObject () from /usr/local/Trolltech/Qt-4.3.0/lib/libQtCore.so.4 #1 0x00e73009 in TValueBrowser::onItemChanged (this=0x95806c0, item=0x0, column=-1076139624) at ../src/core/iisValueBrowser.cpp:219 #2 0x00e73009 in TValueBrowser::onItemChanged (this=0x94ca110, item=0x95806c0, column=0) at ../src/core/iisValueBrowser.cpp:219 #3 0x00e78117 in TValueBrowser::qt_metacall (this=0x94ca110, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfdb6e68) at debug/moc_iisValueBrowser.cpp:106 #4 0x009e9fa4 in QMetaObject::activate (sender=0x94ca110, from_signal_index=94, to_signal_index=94, argv=<value optimized out>) at kernel/qobject.cpp:3064 #5 0x009eaab2 in QMetaObject::activate (sender=0x94ca110, m=0x8d58a8, local_signal_index=5, argv=0xbfdb6e68) at kernel/qobject.cpp:3123 #6 0x006cc1b9 in QTreeWidget::itemChanged (this=0x94ca110, _t1=0x95806c0, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:225 #7 0x006d5c42 in QTreeWidgetPrivate::_q_emitItemChanged (this=0x94d29f0, index=@0xbfdb741c) at itemviews/qtreewidget.cpp:2159 #8 0x006d6580 in QTreeWidget::qt_metacall (this=0x94ca110, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfdb73d8) at .moc/release-shared/moc_qtreewidget.cpp:145 #9 0x00e77e95 in TValueBrowser::qt_metacall (this=0x94ca110, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0xbfdb73d8) at debug/moc_iisValueBrowser.cpp:89 #10 0x009e9fa4 in QMetaObject::activate (sender=0x94d5a30, from_signal_index=4, to_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3064 #11 0x009eaab2 in QMetaObject::activate (sender=0x94d5a30, m=0xa86758, local_signal_index=0, argv=0xbfdb73d8) at kernel/qobject.cpp:3123 #12 0x00a092c9 in QAbstractItemModel::dataChanged (this=0x94d5a30, _t1=@0xbfdb741c, _t2=@0xbfdb740c) at .moc/release-shared/moc_qabstractitemmodel.cpp:123 #13 0x006ccb20 in QTreeModel::itemChanged (this=0x94d5a30, item=0x95806c0) at itemviews/qtreewidget.cpp:709 #14 0x006cd52b in QTreeWidgetItem::itemChanged (this=0x95806c0) at itemviews/qtreewidget.cpp:2053 #15 0x006cd5a0 in QTreeWidgetItemPrivate::propagateDisabled (this=0x95804f8, item=0x95806c0) at itemviews/qtreewidget.cpp:1580 #16 0x006cf974 in QTreeWidgetItem::insertChild (this=0x9580360, index=0, child=0x95806c0) at itemviews/qtreewidget.cpp:1845 #17 0x006cfe21 in QTreeWidgetItem::addChild (this=0x9580360, child=0x95806c0) at itemviews/qtreewidget.cpp:1804 #18 0x006d4062 in QTreeWidgetItem (this=0x95806c0, parent=0x9580360, strings=@0xbfdb758c, type=0) at itemviews/qtreewidget.cpp:1385 #19 0x00e6f3c2 in TBaseItem (this=0x95806c0, __vtt_parm=0xe89aac, parent=0x9580360, name=@0xbfdb7818, id=-1) at ../src/core/iisItems.cpp:52 #20 0x00e6f50c in TBaseValue (this=0x95806c0, parent=0x9580360, name=@0xbfdb7818, id=-1) at ../src/core/iisItems.cpp:368 #21 0x0804d918 in TForm (this=0xbfdb7a8c, parent=0x0) at main.cpp:69 #22 0x0804bb9b in main (argc=11021000, argv=0xa4c6a0) at main.cpp:276
Yes, 3.2.1 is not intended for use with Qt 4.3. This issue will be fixed in the next VB's build.
Hello All! We are going to gather some information about the projects in which you're using the Value Browser. We're really interested in this information, as well as in suggestions on improvements and bugreports. This will help to make VB's quality higher, and to fulfill all your needs. Please post your comments here, or mail to contact@ii-system.com. Thanks!