~ubuntu-branches/ubuntu/wily/kid3/wily-proposed

« back to all changes in this revision

Viewing changes to kid3/imageviewer.h

  • Committer: Package Import Robot
  • Author(s): Ana Beatriz Guerrero Lopez, Patrick Matthäi, Ana Beatriz Guerrero Lopez
  • Date: 2011-11-13 16:34:13 UTC
  • mfrom: (1.1.13) (2.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20111113163413-5y0anlc4dqf511uh
Tags: 2.0.1-1
* New upstream release.

[ Patrick Matthäi ]
* Adjust build system.
* Add build dependency xsltproc.

[ Ana Beatriz Guerrero Lopez ]
* Some more adjustments to the build system taken from upstream's deb/
* directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * \file imageviewer.h
3
 
 * Window to view image.
4
 
 *
5
 
 * \b Project: Kid3
6
 
 * \author Urs Fleisch
7
 
 * \date 10 Jun 2009
8
 
 *
9
 
 * Copyright (C) 2003-2007  Urs Fleisch
10
 
 *
11
 
 * This file is part of Kid3.
12
 
 *
13
 
 * Kid3 is free software; you can redistribute it and/or modify
14
 
 * it under the terms of the GNU General Public License as published by
15
 
 * the Free Software Foundation; either version 2 of the License, or
16
 
 * (at your option) any later version.
17
 
 *
18
 
 * Kid3 is distributed in the hope that it will be useful,
19
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 
 * GNU General Public License for more details.
22
 
 *
23
 
 * You should have received a copy of the GNU General Public License
24
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
25
 
 */
26
 
 
27
 
#ifndef IMAGEVIEWER_H
28
 
#define IMAGEVIEWER_H
29
 
 
30
 
#include <qdialog.h>
31
 
 
32
 
class QImage;
33
 
class QLabel;
34
 
 
35
 
/** Window to view image */
36
 
class ImageViewer : public QDialog {
37
 
Q_OBJECT
38
 
public:
39
 
        /**
40
 
         * Constructor.
41
 
         *
42
 
         * @param parent parent widget
43
 
         * @param img    image to display in window
44
 
         */
45
 
        ImageViewer(QWidget* parent, const QImage& img);
46
 
 
47
 
        /**
48
 
         * Destructor.
49
 
         */
50
 
        virtual ~ImageViewer() {}
51
 
 
52
 
private:
53
 
        /** image to view */
54
 
        QLabel* m_image; 
55
 
};
56
 
 
57
 
#endif // IMAGEVIEWER_H