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++
/* This file is part of the KDE project
SPDX-FileCopyrightText: 2000 Simon Hausmann <[email protected]>
SPDX-FileCopyrightText: 2000 2006 Martin Pfeiffer <[email protected]>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KOPAGEWIDGETITEM_H
#define KOPAGEWIDGETITEM_H
#include "kritawidgets_export.h"
class QWidget;
class QString;
// This class can be implemented when we want to extend the
// dialog with new, specific pages.
class KRITAWIDGETS_EXPORT KoPageWidgetItem
{
public:
virtual ~KoPageWidgetItem() {}
virtual QWidget *widget() = 0;
virtual QString name() const = 0;
virtual QString iconName() const = 0;
virtual bool shouldDialogCloseBeVetoed() = 0;
virtual void apply() = 0;
};
#endif // KOPAGEWIDGETITEM_H