42 #ifndef QDOCKAREALAYOUT_P_H 43 #define QDOCKAREALAYOUT_P_H 56 #include "QtCore/qrect.h" 57 #include "QtCore/qpair.h" 58 #include "QtCore/qlist.h" 59 #include "QtCore/qvector.h" 60 #include "QtGui/qlayout.h" 62 #ifndef QT_NO_DOCKWIDGET 142 enum TabMode { NoTabs, AllowTabs, ForceTabs };
146 void unnest(
int index);
154 SequenceMarker = 0xfc,
163 int changeSize(
int index,
int size,
bool below);
164 QRect itemRect(
int index)
const;
166 QRect separatorRect(
int index)
const;
173 int next(
int idx)
const;
174 int prev(
int idx)
const;
179 void apply(
bool animate);
182 const QPoint &mouse)
const;
183 QRegion separatorRegion()
const;
184 int separatorMove(
int index,
int delta);
188 void deleteAllLayoutItems();
200 void updateSeparatorWidgets()
const;
202 #endif //QT_NO_TABBAR 206 void setCurrentTab(
QWidget *widget);
208 QRect tabContentRect()
const;
213 bool updateTabBar()
const;
214 void setTabBarShape(
int shape);
215 QSize tabBarMinimumSize()
const;
216 QSize tabBarSizeHint()
const;
219 #endif // QT_NO_TABBAR 225 enum { EmptyDropAreaSize = 80 };
238 bool isValid()
const;
240 enum { DockWidgetStateMarker = 0xfd };
275 void apply(
bool animate);
278 const QPoint &mouse)
const;
279 QRegion separatorRegion()
const;
282 void updateSeparatorWidgets()
const;
283 #endif //QT_NO_TABBAR 287 void deleteAllLayoutItems();
300 #endif //QT_NO_TABBAR 301 void styleChangedEvent();
306 #endif // QT_NO_QDOCKWIDGET 308 #endif // QDOCKAREALAYOUT_P_H The QPainter class performs low-level painting on widgets and other paint devices.
QList< QDockAreaLayoutItem > item_list
QIntegerForSizeof< void * >::Unsigned quintptr
static mach_timebase_info_data_t info
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QVector< QWidget * > separatorWidgets
static void clear(QVariant::Private *d)
The QTabBar class provides a tab bar, e.g.
QPlaceHolderItem * placeHolderItem
The QString class provides a Unicode character string.
The QVector class is a template class that provides a dynamic array.
bool expansive(Qt::Orientation o) const
QLayoutItem * centralWidgetItem
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QLayoutItem class provides an abstract item that a QLayout manipulates.
static bool isEmpty(const char *str)
static void split(QT_FT_Vector *b)
The QRegion class specifies a clip region for a painter.
QSize maximumSize() const
QVector< QWidget * > separatorWidgets
QDockAreaLayoutItem(QLayoutItem *_widgetItem=0)
bool hasFixedSize(Qt::Orientation o) const
The QPoint class defines a point in the plane using integer precision.
QDockAreaLayoutInfo * subinfo
The QMainWindow class provides a main application window.
The QRect class defines a rectangle in the plane using integer precision.
#define Q_AUTOTEST_EXPORT
QDockAreaLayoutItem & operator=(const QDockAreaLayoutItem &other)
The QSize class defines the size of a two-dimensional object using integer point precision.
The QDataStream class provides serialization of binary data to a QIODevice.
QInternal::DockPosition dockPos
QSize minimumSize() const