-
Notifications
You must be signed in to change notification settings - Fork 0
/
painel.h
51 lines (41 loc) · 1.11 KB
/
painel.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/****************************************************************************
**
**This file was generated by the author
**
**Marcelo Teixeira Silveira, E-FOTO 2005
****************************************************************************/
#ifndef PAINEL_H
#define PAINEL_H
#include <qapplication.h>
#include <q3scrollview.h>
#include "imagem.h"
class Painel:public Q3ScrollView
{
Q_OBJECT
public:
Painel(QWidget* parent = 0, const char* name = 0,Qt::WFlags fl = 0);
Imagem *original;
Imagem *retificada;
public slots:
void abrirImagem(QString nome);
void salvarImagem(QString nome);
void abrirModelo(QString nome);
void mudaOriginal();
void mudaRetificada();
void atualizaPontosOriginal(int pos, int x, int y);
void atualizaPontosRetificada(int pos, int x, int y);
int retornaPontos(int var, int pos);
void atualizaImagem();
void zeraPontos(int inicio);
void inverte();
void redimensiona(int x, int y);
void retificaImagem(int tipo, int intp, int totpts);
int pontosMedianas();
signals:
void clicked();
void moved();
void explain(const QString&);
protected:
private:
};
#endif // PAINEL_H