3
* Copyright (c) 2007 Cyrille Berger (cberger@cberger.net)
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License as published by
7
* the Free Software Foundation; version 2 of the License.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#include <kparts/plugin.h>
24
#include <kis_types.h>
25
#include <kis_image_alignment.h>
28
class Ui_WdgPanoramaCreation;
31
* Template of view plugin
33
class PanoramaPlugin : public KParts::Plugin
37
PanoramaPlugin(QObject *parent, const QStringList &);
38
virtual ~PanoramaPlugin();
43
void slotRemoveImage();
46
void slotCreatePanoramaLayer();
47
void addImage(const QString& filename);
51
void createPanorama(QList<KisImageAlignment::ImageInfo>& images, KisPaintDeviceSP dstdevice, QRect& area);
54
Ui_WdgPanoramaCreation* m_wdgPanoramaCreation;
56
#endif // PanoramaPlugin_H