// abstractformwindowmanager.sip generated by MetaSIP on Thu Sep 11 18:50:33 2014
//
// This file is part of the QtDesigner Python extension module.
//
// Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
// 
// This file is part of PyQt.
// 
// This file may be used under the terms of the GNU General Public
// License versions 2.0 or 3.0 as published by the Free Software
// Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
// included in the packaging of this file.  Alternatively you may (at
// your option) use any later version of the GNU General Public
// License if such license has been publicly approved by Riverbank
// Computing Limited (or its successors, if any) and the KDE Free Qt
// Foundation. In addition, as a special exception, Riverbank gives you
// certain additional rights. These rights are described in the Riverbank
// GPL Exception version 1.1, which can be found in the file
// GPL_EXCEPTION.txt in this package.
// 
// If you are unsure which license is appropriate for your use, please
// contact the sales department at sales@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
};
