Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
620 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2018 Jouni Pentikäinen <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef KISCANVASWINDOW_H
#define KISCANVASWINDOW_H

#include <QWidget>

class KisMainWindow;

/**
 * Window for the canvas (mdi) area. Used when detached canvas mode is enabled.
 */
class KisCanvasWindow : public QWidget
{
public:
    explicit KisCanvasWindow(KisMainWindow *mainWindow);
    ~KisCanvasWindow() override;

    QWidget * swapMainWidget(QWidget *widget);

    void closeEvent(QCloseEvent *event) override;
private:
    struct Private;
    QScopedPointer<Private> d;
};

#endif