// abstractformwindowmanager.sip generated by MetaSIP
//
// This file is part of the QtDesigner Python extension module.
//
// Copyright (c) 2016 Riverbank Computing Limited <info@riverbankcomputing.com>
// 
// This file is part of PyQt4.
// 
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appearing in
// the file LICENSE included in the packaging of this file.  Please review the
// following information to ensure the GNU General Public License version 3.0
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
// 
// If you do not wish to use this file under the terms of the GPL version 3.0
// then you may purchase a commercial license.  For more information contact
// info@riverbankcomputing.com.
// 
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


class QDesignerFormWindowManagerInterface : QObject /Abstract/
{
%TypeHeaderCode
#include <abstractformwindowmanager.h>
%End

public:
%If (Qt_5_0_0 -)
    explicit QDesignerFormWindowManagerInterface(QObject *parent /TransferThis/ = 0);
%End
%If (- Qt_5_0_0)
    QDesignerFormWindowManagerInterface(QObject *parent /TransferThis/ = 0);
%End
    virtual ~QDesignerFormWindowManagerInterface();
%If (- Qt_5_0_0)
    virtual QAction *actionCut() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionCopy() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionPaste() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionDelete() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionSelectAll() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionLower() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionRaise() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionUndo() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionRedo() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionHorizontalLayout() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionVerticalLayout() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionSplitHorizontal() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionSplitVertical() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionGridLayout() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionBreakLayout() const /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QAction *actionAdjustSize() const /Transfer/;
%End
%If (Qt_4_4_0 -)
    QAction *actionFormLayout() const /Transfer/;
%End
%If (Qt_4_4_0 -)
    QAction *actionSimplifyLayout() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    virtual QDesignerFormWindowInterface *activeFormWindow() const = 0;
%End
%If (- Qt_5_0_0)
    virtual QDesignerFormWindowInterface *activeFormWindow() const;
%End
%If (Qt_5_0_0 -)
    virtual int formWindowCount() const = 0;
%End
%If (- Qt_5_0_0)
    virtual int formWindowCount() const;
%End
%If (Qt_5_0_0 -)
    virtual QDesignerFormWindowInterface *formWindow(int index) const = 0 /Transfer/;
%End
%If (- Qt_5_0_0)
    virtual QDesignerFormWindowInterface *formWindow(int index) const /Transfer/;
%End
%If (Qt_5_0_0 -)
    virtual QDesignerFormWindowInterface *createFormWindow(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0) = 0;
%End
%If (- Qt_5_0_0)
    virtual QDesignerFormWindowInterface *createFormWindow(QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = 0) /Factory/;
%End
%If (Qt_5_0_0 -)
    virtual QDesignerFormEditorInterface *core() const = 0;
%End
%If (- Qt_5_0_0)
    virtual QDesignerFormEditorInterface *core() const;
%End

signals:
    void formWindowAdded(QDesignerFormWindowInterface *formWindow);
    void formWindowRemoved(QDesignerFormWindowInterface *formWindow);
    void activeFormWindowChanged(QDesignerFormWindowInterface *formWindow);
%If (Qt_5_0_0 -)
    void formWindowSettingsChanged(QDesignerFormWindowInterface *fw);
%End

public slots:
%If (Qt_5_0_0 -)
    virtual void addFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
%End
%If (- Qt_5_0_0)
    virtual void addFormWindow(QDesignerFormWindowInterface *formWindow);
%End
%If (Qt_5_0_0 -)
    virtual void removeFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
%End
%If (- Qt_5_0_0)
    virtual void removeFormWindow(QDesignerFormWindowInterface *formWindow);
%End
%If (Qt_5_0_0 -)
    virtual void setActiveFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
%End
%If (- Qt_5_0_0)
    virtual void setActiveFormWindow(QDesignerFormWindowInterface *formWindow);
%End

private:
%If (Qt_4_4_0 - Qt_5_0_0)
    QDesignerFormWindowManagerInterface(const QDesignerFormWindowManagerInterface &other);
%End

public:
%If (Qt_5_0_0 -)

    enum Action
    {
        CutAction,
        CopyAction,
        PasteAction,
        DeleteAction,
        SelectAllAction,
        LowerAction,
        RaiseAction,
        UndoAction,
        RedoAction,
        HorizontalLayoutAction,
        VerticalLayoutAction,
        SplitHorizontalAction,
        SplitVerticalAction,
        GridLayoutAction,
        FormLayoutAction,
        BreakLayoutAction,
        AdjustSizeAction,
        SimplifyLayoutAction,
        DefaultPreviewAction,
        FormWindowSettingsDialogAction,
    };

%End
%If (Qt_5_0_0 -)

    enum ActionGroup
    {
        StyledPreviewActionGroup,
    };

%End
%If (Qt_5_0_0 -)
    virtual QAction *action(QDesignerFormWindowManagerInterface::Action action) const = 0 /Transfer/;
%End
%If (Qt_5_0_0 -)
    virtual QActionGroup *actionGroup(QDesignerFormWindowManagerInterface::ActionGroup actionGroup) const = 0 /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionCut() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionCopy() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionPaste() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionDelete() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionSelectAll() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionLower() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionRaise() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionUndo() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionRedo() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionHorizontalLayout() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionVerticalLayout() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionSplitHorizontal() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionSplitVertical() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionGridLayout() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionBreakLayout() const /Transfer/;
%End
%If (Qt_5_0_0 -)
    QAction *actionAdjustSize() const /Transfer/;
%End

public slots:
%If (Qt_5_0_0 -)
    virtual void showPreview() = 0;
%End
%If (Qt_5_0_0 -)
    virtual void closeAllPreviews() = 0;
%End
%If (Qt_5_0_0 -)
    virtual void showPluginDialog() = 0;
%End
};
