Vuo  0.4.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
VuoNodeClassListItemDelegate Class Reference

Description

Displays a given node class name within the node library.

Public Member Functions

 VuoNodeClassListItemDelegate (QObject *parent=0)
 Creates a Node Library class list rendering delegate.
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 Display a given node class name within the node library.
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 Returns the size needed to display the node name specified by index.
 
bool getHumanReadable () const
 Returns a boolean indicating whether node class names are currently displayed in "human-readable" mode (i.e., using default node display names rather than class names).
 
void setHumanReadable (bool humanReadable)
 Sets the boolean indicating whether node class names are currently displayed in "human-readable" mode (i.e., using default node display names rather than class names).
 
void setFilterText (QString filterText)
 Sets the filter text used to search for node classes within the library.
 

Static Public Attributes

static const int humanReadableNameIndex = Qt::UserRole
 The node's display name.
 
static const int classNameIndex = Qt::UserRole+1
 The node's class name.
 
static const int humanReadableNameIsAmbiguousIndex = Qt::UserRole+2
 
static const int nodeClassPointerIndex = Qt::UserRole+3
 A VuoCompilerNodeClass instance.
 

Member Data Documentation

const int VuoNodeClassListItemDelegate::humanReadableNameIsAmbiguousIndex = Qt::UserRole+2
static

The documentation for this class was generated from the following files: