42 #ifndef QABSTRACTSCROLLAREA_H 43 #define QABSTRACTSCROLLAREA_H 45 #include <QtGui/qframe.h> 53 #ifndef QT_NO_SCROLLAREA 72 void setVerticalScrollBar(
QScrollBar *scrollbar);
77 void setHorizontalScrollBar(
QScrollBar *scrollbar);
82 void addScrollBarWidget(
QWidget *
widget, Qt::Alignment alignment);
83 QWidgetList scrollBarWidgets(Qt::Alignment alignment);
87 QSize maximumViewportSize()
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 *);
110 #ifndef QT_NO_WHEELEVENT 113 #ifndef QT_NO_CONTEXTMENU 116 #ifndef QT_NO_DRAGANDDROP 125 virtual void scrollContentsBy(
int dx,
int dy);
138 #endif // QT_NO_SCROLLAREA 144 #endif // QABSTRACTSCROLLAREA_H void paintEvent(QPaintEvent *)
This event handler can be reimplemented in a subclass to receive paint events passed in event...
The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
The QWheelEvent class contains parameters that describe a wheel event.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress...
Q_CORE_EXPORT QTextStream & right(QTextStream &s)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QResizeEvent class contains event parameters for resize events.
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leav...
The QMouseEvent class contains parameters that describe a mouse event.
The QDropEvent class provides an event which is sent when a drag and drop action is completed...
The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action ent...
bool event(QEvent *e)
Reimplemented Function
QSize sizeHint() const
em>Reimplemented Function
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QMargins class defines the four margins of a rectangle.
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFrame class is the base class of widgets that can have a frame.
Q_CORE_EXPORT QTextStream & left(QTextStream &s)
The QList class is a template class that provides lists.