42 #ifndef QCOLUMNVIEW_P_H 43 #define QCOLUMNVIEW_P_H 58 #ifndef QT_NO_QCOLUMNVIEW 60 #include <private/qabstractitemview_p.h> 62 #include <QtCore/qabstractitemmodel.h> 63 #include <QtCore/qpropertyanimation.h> 64 #include <QtGui/qabstractitemdelegate.h> 65 #include <QtGui/qabstractitemview.h> 66 #include <QtGui/qitemdelegate.h> 147 void updateScrollbars();
154 void _q_gripMoved(
int offset);
155 void _q_changeCurrentColumn();
157 void _q_columnsInserted(
const QModelIndex &parent,
int start,
int end);
163 #ifndef QT_NO_ANIMATION 184 #endif // QT_NO_QCOLUMNVIEW 188 #endif //QCOLUMNVIEW_P_H The QPainter class performs low-level painting on widgets and other paint devices.
The QPropertyAnimation class animates Qt properties.
bool isIndexHidden(const QModelIndex &) const
Returns true if the item referred to by the given index is hidden in the view, otherwise returns fals...
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
void setSelection(const QRect &, QItemSelectionModel::SelectionFlags)
Applies the selection flags to the items in or touched by the rectangle, rect.
QRect visualRect(const QModelIndex &) const
Returns the rectangle on the viewport occupied by the item at index.
The QObject class is the base class of all Qt objects.
void setPreviewWidget(QWidget *widget)
Q_DECL_CONSTEXPR const T & qMax(const T &a, const T &b)
void setRange(int min, int max)
Sets the slider's minimum to min and its maximum to max.
int width() const
Returns the width.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QAbstractItemView * previewColumn
The QResizeEvent class contains event parameters for resize events.
The QRegion class specifies a clip region for a painter.
This is a delegate that will paint the triangle.
QRegion visualRegionForSelection(const QItemSelection &) const
Returns the region from the viewport of the items in the given selection.
QColumnViewPreviewColumn(QWidget *parent)
The QAbstractItemView class provides the basic functionality for item view classes.
#define Q_DECLARE_PUBLIC(Class)
The QItemSelection class manages information about selected items in a model.
int horizontalOffset() const
Returns the horizontal offset of the view.
The QItemDelegate class provides display and editing facilities for data items from a model...
QObject * parent() const
Returns a pointer to the parent object.
QModelIndex indexAt(const QPoint &) const
Returns the model index of the item at the viewport coordinates point.
The QPoint class defines a point in the plane using integer precision.
The QModelIndex class is used to locate data in a data model.
int height() const
Returns the height.
The QRect class defines a rectangle in the plane using integer precision.
#define Q_AUTOTEST_EXPORT
The QColumnView class provides a model/view implementation of a column view.
QModelIndex moveCursor(CursorAction, Qt::KeyboardModifiers)
Returns a QModelIndex object pointing to the next object in the view, based on the given cursorAction...
QPropertyAnimation currentAnimation
The QSize class defines the size of a two-dimensional object using integer point precision.
CursorAction
This enum describes the different ways to navigate between items,.
The QStyleOptionViewItem class is used to describe the parameters used to draw an item in a view widg...
static const KeyPair *const end
bool event(QEvent *event)
Reimplemented Function
int verticalOffset() const
Returns the vertical offset of the view.
void resizeEvent(QResizeEvent *event)
This function is called with the given event when a resize event is sent to the widget.
QColumnViewDelegate(QObject *parent=0)
QVector< int > columnSizes
void scrollTo(const QModelIndex &, ScrollHint)
Scrolls the view if necessary to ensure that the item at index is visible.
The QList class is a template class that provides lists.
QList< QAbstractItemView * > columns