Responsible for rendering an entry into a SceneTree widget.
More...
#include <SceneTreeModelDelegate.h>
|
void | drawDecoration (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QPixmap &pixmap) const override |
|
bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override |
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
QWidget * | popupButton () |
|
| SceneTreeModelDelegate (ProxyModelViewFilter *manager, SceneTree *parent) |
|
UUID | selected () const |
|
fltp08 | selectedSize () const |
|
int | selectionBoxHeight () const |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
|
void | setSelectedSize (fltp08 o) |
|
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
Responsible for rendering an entry into a SceneTree widget.
◆ SceneTreeModelDelegate()
◆ AddWidgetCallback()
◆ defaultWidgets()
Buffer< QWidget * > defaultWidgets |
( |
| ) |
|
|
protected |
◆ drawDecoration()
void drawDecoration |
( |
QPainter * | painter, |
|
|
const QStyleOptionViewItem & | option, |
|
|
const QRect & | rect, |
|
|
const QPixmap & | pixmap ) const |
|
override |
◆ editorEvent()
bool editorEvent |
( |
QEvent * | event, |
|
|
QAbstractItemModel * | model, |
|
|
const QStyleOptionViewItem & | option, |
|
|
const QModelIndex & | index ) |
|
override |
◆ indexSelected
void indexSelected |
( |
const QModelIndex & | index | ) |
|
|
slot |
◆ paint()
void paint |
( |
QPainter * | painter, |
|
|
const QStyleOptionViewItem & | option, |
|
|
const QModelIndex & | index ) const |
|
override |
◆ popupButton()
QWidget * popupButton |
( |
| ) |
|
◆ RemoveWidgetCallback()
static void RemoveWidgetCallback |
( |
const UUID & | id | ) |
|
|
static |
◆ selected()
◆ selectedSize()
◆ selectionBoxHeight()
int selectionBoxHeight |
( |
| ) |
const |
◆ setEditorData()
void setEditorData |
( |
QWidget * | editor, |
|
|
const QModelIndex & | index ) const |
|
override |
◆ setSelectedSize()
void setSelectedSize |
( |
fltp08 | o | ) |
|
◆ sizeHint()
QSize sizeHint |
( |
const QStyleOptionViewItem & | option, |
|
|
const QModelIndex & | index ) const |
|
override |
◆ updateEditorGeometry()
void updateEditorGeometry |
( |
QWidget * | editor, |
|
|
const QStyleOptionViewItem & | option, |
|
|
const QModelIndex & | index ) const |
|
override |
◆ m_button_popup
◆ m_context_menu
Button* m_context_menu = nullptr |
|
protected |
◆ m_current_selected
◆ m_grow_animation
QPropertyAnimation* m_grow_animation |
|
protected |
◆ m_grow_size
◆ m_last_widgets
Buffer<QWidget*> m_last_widgets |
|
protected |
◆ m_old_selected
◆ m_parent
◆ m_properties
Button* m_properties = nullptr |
|
protected |
◆ m_save_button
Button* m_save_button = nullptr |
|
protected |
◆ m_selected
◆ m_shrink_animation
QPropertyAnimation* m_shrink_animation |
|
protected |
◆ m_view
◆ m_visible
◆ m_zoom_to
◆ s_custom_widget_callbacks
◆ selected_size
The documentation for this class was generated from the following file: