#ifndef PYTHONQTWRAPPER_QWORKSPACE_H #define PYTHONQTWRAPPER_QWORKSPACE_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QWorkspace : public QObject { Q_OBJECT public: Q_ENUMS(WindowOrder ) enum WindowOrder{ CreationOrder = QWorkspace::CreationOrder, StackingOrder = QWorkspace::StackingOrder}; public slots: QWorkspace* new_QWorkspace(QWidget* parent = 0); void delete_QWorkspace(QWorkspace* obj) { delete obj; } QWidget* activeWindow(QWorkspace* theWrappedObject) const; QWidget* addWindow(QWorkspace* theWrappedObject, QWidget* w, Qt::WindowFlags flags = 0); QBrush background(QWorkspace* theWrappedObject) const; bool scrollBarsEnabled(QWorkspace* theWrappedObject) const; void setBackground(QWorkspace* theWrappedObject, const QBrush& background); void setScrollBarsEnabled(QWorkspace* theWrappedObject, bool enable); QSize sizeHint(QWorkspace* theWrappedObject) const; QList windowList(QWorkspace* theWrappedObject, QWorkspace::WindowOrder order = QWorkspace::CreationOrder) const; }; #endif // PYTHONQTWRAPPER_QWORKSPACE_H