|
|
#ifndef PYTHONQTWRAPPER_QDOCKWIDGET_H
|
|
|
#define PYTHONQTWRAPPER_QDOCKWIDGET_H
|
|
|
|
|
|
#include <qdockwidget.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qaction.h>
|
|
|
#include <qbitmap.h>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qdockwidget.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qicon.h>
|
|
|
#include <qinputcontext.h>
|
|
|
#include <qkeysequence.h>
|
|
|
#include <qlayout.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qlocale.h>
|
|
|
#include <qobject.h>
|
|
|
#include <qpaintdevice.h>
|
|
|
#include <qpaintengine.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpalette.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qsizepolicy.h>
|
|
|
#include <qstyle.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
class PythonQtWrapper_QDockWidget : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(DockWidgetFeature )
|
|
|
enum DockWidgetFeature{
|
|
|
DockWidgetClosable = QDockWidget::DockWidgetClosable, DockWidgetMovable = QDockWidget::DockWidgetMovable, DockWidgetFloatable = QDockWidget::DockWidgetFloatable, DockWidgetVerticalTitleBar = QDockWidget::DockWidgetVerticalTitleBar, DockWidgetFeatureMask = QDockWidget::DockWidgetFeatureMask, AllDockWidgetFeatures = QDockWidget::AllDockWidgetFeatures, NoDockWidgetFeatures = QDockWidget::NoDockWidgetFeatures, Reserved = QDockWidget::Reserved};
|
|
|
public slots:
|
|
|
QDockWidget* new_QDockWidget(QWidget* parent = 0, Qt::WindowFlags flags = 0);
|
|
|
QDockWidget* new_QDockWidget(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0);
|
|
|
void delete_QDockWidget(QDockWidget* obj) { delete obj; }
|
|
|
Qt::DockWidgetAreas allowedAreas(QDockWidget* theWrappedObject) const;
|
|
|
QDockWidget::DockWidgetFeatures features(QDockWidget* theWrappedObject) const;
|
|
|
bool isAreaAllowed(QDockWidget* theWrappedObject, Qt::DockWidgetArea area) const;
|
|
|
bool isFloating(QDockWidget* theWrappedObject) const;
|
|
|
void setAllowedAreas(QDockWidget* theWrappedObject, Qt::DockWidgetAreas areas);
|
|
|
void setFeatures(QDockWidget* theWrappedObject, QDockWidget::DockWidgetFeatures features);
|
|
|
void setFloating(QDockWidget* theWrappedObject, bool floating);
|
|
|
void setTitleBarWidget(QDockWidget* theWrappedObject, QWidget* widget);
|
|
|
void setWidget(QDockWidget* theWrappedObject, QWidget* widget);
|
|
|
QWidget* titleBarWidget(QDockWidget* theWrappedObject) const;
|
|
|
QAction* toggleViewAction(QDockWidget* theWrappedObject) const;
|
|
|
QWidget* widget(QDockWidget* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QDOCKWIDGET_H
|
|
|
|