Documents > BPS V2 C++ API
BpsListView Class Reference

This class adds some convenience to QListView. More...

#include <bpslistview.h>

List of all members.

Signals

void contextMenuRequested (const QPoint &aPosition, const QModelIndex &aIndex)
 This signal is emitted when a context menu is requested on a cell.
void focusInOutEvent (bool aFocusIn)
 This signal is emitted when the widget gets or loses the focus.

Public Member Functions

 BpsListView (QWidget *aParent=0)
 Constructs a BpsListView.
void setSizeHint (const QSize &aSize)
 Define the size hint.
virtual QSize sizeHint () const

Detailed Description

This class adds some convenience to QListView.


Constructor & Destructor Documentation

BpsListView::BpsListView ( QWidget *  aParent = 0)

Constructs a BpsListView.

Parameters:
[in]aParentThe parent widget.

Member Function Documentation

void BpsListView::contextMenuRequested ( const QPoint &  aPosition,
const QModelIndex &  aIndex 
) [signal]

This signal is emitted when a context menu is requested on a cell.

Parameters:
[in]aPositionThe context menu position.
[in]aIndexThe model index of the cell, or an invalid index when not on a cell.
void BpsListView::focusInOutEvent ( bool  aFocusIn) [signal]

This signal is emitted when the widget gets or loses the focus.

Parameters:
[in]aFocusInTrue when getting focus, false when losing focus.
void BpsListView::setSizeHint ( const QSize &  aSize)

Define the size hint.

Parameters:
[in]aSizeThe size to use as size hint.
virtual QSize BpsListView::sizeHint ( ) const [virtual]
Returns:
A QSize as size hint.

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