BiblioteQ
Source
biblioteq_photograph_view.h
1
#ifndef _BIBLIOTEQ_PHOTOGRAPH_VIEW_H_
2
#define _BIBLIOTEQ_PHOTOGRAPH_VIEW_H_
3
4
#include <QGraphicsView>
5
6
class
biblioteq_photograph_view
:
public
QGraphicsView
7
{
8
Q_OBJECT
9
10
public
:
11
biblioteq_photograph_view
(QWidget *parent);
12
void
setBestFit(
const
bool
bestFit);
13
void
setImage(
const
QImage &image);
14
15
private
:
16
QImage m_image;
17
bool
m_bestFit;
18
void
resizeEvent(QResizeEvent *event);
19
};
20
21
#endif
biblioteq_photograph_view
Definition:
biblioteq_photograph_view.h:6
Generated by
1.8.13