QtGui/qscrollarea.h Source File
Go to the documentation of this file.
53 #ifndef QT_NO_SCROLLAREA
55 class QScrollAreaPrivate;
60 Q_PROPERTY(
bool widgetResizable READ widgetResizable WRITE setWidgetResizable)
61 Q_PROPERTY(
Qt::Alignment alignment READ alignment WRITE setAlignment)
68 void setWidget(
QWidget *widget);
71 bool widgetResizable() const;
72 void setWidgetResizable(
bool resizable);
74 QSize sizeHint() const;
75 bool focusNextPrevChild(
bool next);
77 Qt::Alignment alignment() const;
78 void setAlignment(
Qt::Alignment);
80 void ensureVisible(
int x,
int y,
int xmargin = 50,
int ymargin = 50);
81 void ensureWidgetVisible(
QWidget *childWidget,
int xmargin = 50,
int ymargin = 50);
86 bool eventFilter(
QObject *, QEvent *);
88 void scrollContentsBy(
int dx,
int dy);
95 #endif // QT_NO_SCROLLAREA
101 #endif // QSCROLLAREA_H
#define QT_BEGIN_NAMESPACE