QtGui/qabstractscrollarea.h Source File
Go to the documentation of this file.
42 #ifndef QABSTRACTSCROLLAREA_H
43 #define QABSTRACTSCROLLAREA_H
53 #ifndef QT_NO_SCROLLAREA
57 class QAbstractScrollAreaPrivate;
72 void setVerticalScrollBar(
QScrollBar *scrollbar);
74 Qt::ScrollBarPolicy horizontalScrollBarPolicy() const;
75 void setHorizontalScrollBarPolicy(
Qt::ScrollBarPolicy);
77 void setHorizontalScrollBar(
QScrollBar *scrollbar);
80 void setCornerWidget(
QWidget *widget);
82 void addScrollBarWidget(
QWidget *widget,
Qt::Alignment alignment);
86 void setViewport(
QWidget *widget);
87 QSize maximumViewportSize() const;
89 QSize minimumSizeHint() const;
91 QSize sizeHint() const;
94 void setupViewport(
QWidget *viewport);
98 void setViewportMargins(
int left,
int top,
int right,
int bottom);
99 void setViewportMargins(const
QMargins &margins);
102 virtual
bool viewportEvent(QEvent *);
107 void mouseReleaseEvent(QMouseEvent *);
108 void mouseDoubleClickEvent(QMouseEvent *);
109 void mouseMoveEvent(QMouseEvent *);
110 #ifndef QT_NO_WHEELEVENT
113 #ifndef QT_NO_CONTEXTMENU
116 #ifndef QT_NO_DRAGANDDROP
125 virtual void scrollContentsBy(
int dx,
int dy);
134 friend class QStyleSheetStyle;
135 friend class QWidgetPrivate;
138 #endif // QT_NO_SCROLLAREA
144 #endif // QABSTRACTSCROLLAREA_H
#define Q_PRIVATE_SLOT(d, signature)
Q_CORE_EXPORT QTextStream & right(QTextStream &s)
#define QT_BEGIN_NAMESPACE
Q_CORE_EXPORT QTextStream & left(QTextStream &s)