29 #ifndef SIMPLELISTVIEW_H
30 #define SIMPLELISTVIEW_H
70 const QSizeF & constraint)
const;
QGraphicsObject * parent
the parent of the item
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framewor...
The QSizeF class defines the size of a two-dimensional object using floating point precision.
void insertItem(int index, QGraphicsWidget *item)
QGraphicsWidget * itemAt(int row)
void setListItemCaching(bool enabled)
void addItem(QGraphicsWidget *item)
bool listItemCaching() const
void updateListContents()
virtual void scrollContentsBy(qreal dx, qreal dy)
SimpleListView(QGraphicsWidget *parent=nullptr)
virtual ~SimpleListView()
void resizeEvent(QGraphicsSceneResizeEvent *event)
QGraphicsWidget * takeItem(int row)
void setTwoColumns(const bool twoColumns)
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLenum GLenum GLsizei void * row