summaryrefslogtreecommitdiffstats
path: root/scribus/charzoom.h
blob: 7632eab4a04d2fff5b34c33d6621137dda21891a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef CHARZOOM_H
#define CHARZOOM_H

#include <QDialog>

#include "scribusapi.h"

class ScFace;
class QPixmap;
class QPaintEvent;


/*! \brief "A magnifying glass" dialog for CharTableView cell.
*/
class SCRIBUS_API CharZoom : public QDialog
{
	Q_OBJECT

	public:
		CharZoom(QWidget* parent, uint currentChar, ScFace face);
		~CharZoom() {};
	private:
		void paintEvent(QPaintEvent *);
		//! \brief Pixmap generated in constructor
		QPixmap pixm;
		//! \brief A hex value as string
		QString valu;
};

#endif