##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QDockWidget.h
60 lines | 2.4 KiB | text/x-c | CLexer
#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