![]() |
Home · Modules · Classes · Namespaces · Functions |
The QxtItemDelegate class is an extended QItemDelegate More...
#include <QxtItemDelegate>
Inherits QItemDelegate.
The QxtItemDelegate class is an extended QItemDelegate
QxtItemDelegate provides signals for starting and finishing of editing and an optional decoration of top level items in a QTreeView.
QxtItemDelegate can also draw a progress bar for items providing appropriate progress data. Just like QProgressBar, QxtItemDelegate can show a busy indicator. If minimum and maximum both are set to 0, a busy indicator is shown instead of a percentage of steps.
This enum defines custom roles used by QxtItemDelegate.
Constant | Value | Description |
---|---|---|
QxtItemDelegate::ProgressValueRole | Qt::UserRole + 328 | The progress value. |
QxtItemDelegate::ProgressMinimumRole | ? | The minimum progress value. The default value 0 is used if no value is provided for ProgressMinimumRole. |
QxtItemDelegate::ProgressMaximumRole | ? | The maximum progress value. The default value 100 is used if no value is provided for ProgressMaximumRole. |
Constructs a new QxtItemDelegate with parent.
Destructs the item delegate.
See also setDecorationStyle().
This signal is emitted after the editing of index has been finished.
See also editingStarted().
This signal is emitted after the editing of index has been started.
See also editingFinished().
See also setElideMode().
See also setProgressTextFormat().
See also decorationStyle().
See also elideMode().
See also progressTextFormat().
See also isProgressTextVisible().
Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |