56 #include "private/qframe_p.h" 86 childrenCollapsible(true), compatMode(false), handleWidth(0), blockChildAdd(false) {}
109 void recalc(
bool update =
false);
112 void getRange(
int index,
int *,
int *,
int *,
int *)
const;
113 void addContribution(
int,
int *,
int *,
bool)
const;
114 int adjustPos(
int,
int,
int *,
int *,
int *,
int *)
const;
117 {
return (index < 0 || index >= list.
size()) ?
true :
collapsible(list.
at(index)); }
119 void insertWidget_helper(
int index,
QWidget *
widget,
bool show);
121 void doMove(
bool backwards,
int pos,
int index,
int delta,
122 bool mayCollapse,
int *
positions,
int *widths);
124 int findWidgetJustBeforeOrJustAfter(
int index,
int delta,
int &collapsibleSize)
const;
125 void updateHandles();
126 void setSizes_helper(
const QList<int> &sizes,
bool clampNegativeSize =
false);
#define QT_END_NAMESPACE
This macro expands to.
int pick(const QPoint &pos) const
int getWidgetSize(Qt::Orientation orient)
int pick(const QSize &size, Qt::Orientation orient)
int pick(const QSize &s) const
int trans(const QSize &s) const
int getHandleSize(Qt::Orientation orient)
The QSplitterHandle class provides handle functionality of the splitter.
static const uint Default
int width() const
Returns the width.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool collapsible(int index) const
static const QCssKnownValue positions[NumKnownPositionModes - 1]
const T & at(int i) const
Returns the item at index position i in the list.
QList< QSplitterLayoutStruct * > list
#define Q_DECLARE_PUBLIC(Class)
The QPoint class defines a point in the plane using integer precision.
int size() const
Returns the number of items in the list.
int height() const
Returns the height.
The QRect class defines a rectangle in the plane using integer precision.
QPointer< QRubberBand > rubberBand
int y() const
Returns the y coordinate of this point.
The QSize class defines the size of a two-dimensional object using integer point precision.
int x() const
Returns the x coordinate of this point.
The QSplitter class implements a splitter widget.
int trans(const QPoint &pos) const
The QList class is a template class that provides lists.
int pick(const QPoint &pos) const