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++
/*
* SPDX-FileCopyrightText: 2019 Tusooa Zhu <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_SNAPSHOT_VIEW_H_
#define KIS_SNAPSHOT_VIEW_H_
#include <QListView>
class KisSnapshotView : public QListView
{
public:
KisSnapshotView();
~KisSnapshotView() override;
void setModel(QAbstractItemModel *model) override;
public Q_SLOTS:
void slotSwitchToSelectedSnapshot();
void slotRemoveSelectedSnapshot();
private:
struct Private;
QScopedPointer<Private> m_d;
};
#endif