volcamcore  2019 march
Biblioteca volcamcore
volcamlabel.h
Ir a la documentación de este archivo.
1 
8 #ifndef VOLCAMLABEL_H
9 #define VOLCAMLABEL_H
10 
11 #include <QObject>
12 #include <QtWidgets>
13 #include "imagenes_wc.h"
14 
15 class VolcamLabel : public QLabel
16 {
17  Q_OBJECT
18 public:
19  explicit VolcamLabel(QWidget *parent = 0);
20  ~VolcamLabel();
21 
22  QPixmap pix;
23  QPixmap pix_scaled;
24  QSize pix_size;
26 
27 
28  void mouseMoveEvent(QMouseEvent *evento);
29  void mousePressEvent(QMouseEvent *evento);
30  void mouseReleaseEvent(QMouseEvent *evento);
31 
32  void setMyPixmap(QPixmap pix_, QSize size_);
33 
34  bool getInMeasuring() const;
35  void setInMeasuring(bool value);
36 
37  QPoint mousePos2realPos(QPoint mousePos);
38 
39  Config getConfig() const;
40  void setConfig(const Config &value);
41 
42  ImgsWC getImgwc() const;
43  void setImgwc(const ImgsWC &value);
44 
45  ImgPro_operations getImgpro2apply_general() const;
46  void setImgpro2apply_general(const ImgPro_operations &value);
47 
48  ImgPro_operations getImgpro2apply_selection() const;
49  void setImgpro2apply_selection(const ImgPro_operations &value);
50 
51  ImgsWC_params getImgwcp() const;
52  void setImgwcp(const ImgsWC_params &value);
53 
54 signals:
55  void mouseMoveEventSignal(QPoint real_mousePos);
56  void mousePressEventSignal(QPoint real_mousePos);
57  void mouseReleaseEventSignal(QPoint real_mousePos);
58 
59  void imgwc_info_changed(QString imgwc_info_);
60 
61 private:
62  Config config;
63  ImgsWC_params imgwcp;
64  ImgsWC imgwc;
65  bool inMeasuring;
66 
67  ImgPro_operations imgpro2apply_general;
68  ImgPro_operations imgpro2apply_selection;
69 
70 public slots:
71 };
72 
73 #endif // VOLCAMLABEL_H
void mousePressEventSignal(QPoint real_mousePos)
ImgPro_operations getImgpro2apply_general() const
Definition: volcamlabel.cpp:171
ImgsWC getImgwc() const
Definition: volcamlabel.cpp:104
void mouseReleaseEventSignal(QPoint real_mousePos)
ImgPro_operations getImgpro2apply_selection() const
Definition: volcamlabel.cpp:180
void setInMeasuring(bool value)
Definition: volcamlabel.cpp:58
QSize pix_size
Definition: volcamlabel.h:24
void setImgpro2apply_selection(const ImgPro_operations &value)
Definition: volcamlabel.cpp:185
void mouseReleaseEvent(QMouseEvent *evento)
Definition: volcamlabel.cpp:32
Definition: imagenes_wc.h:80
void setImgwcp(const ImgsWC_params &value)
Definition: volcamlabel.cpp:194
void mouseMoveEvent(QMouseEvent *evento)
Definition: volcamlabel.cpp:15
Clase para el manejo de los registros/archivos de imágenes y de sus parámetros en un periodo de tiemp...
~VolcamLabel()
Definition: volcamlabel.cpp:10
Definition: volcamlabel.h:15
VolcamLabel(QWidget *parent=0)
Definition: volcamlabel.cpp:3
ImgsWC_params getImgwcp() const
Definition: volcamlabel.cpp:189
Config getConfig() const
Definition: volcamlabel.cpp:95
void mousePressEvent(QMouseEvent *evento)
Definition: volcamlabel.cpp:23
bool getInMeasuring() const
Definition: volcamlabel.cpp:53
void setMyPixmap(QPixmap pix_, QSize size_)
Definition: volcamlabel.cpp:42
void imgwc_info_changed(QString imgwc_info_)
QPixmap pix_scaled
Definition: volcamlabel.h:23
void setImgpro2apply_general(const ImgPro_operations &value)
Definition: volcamlabel.cpp:176
void setImgwc(const ImgsWC &value)
Definition: volcamlabel.cpp:109
void setConfig(const Config &value)
Definition: volcamlabel.cpp:100
QPoint mousePos2realPos(QPoint mousePos)
Definition: volcamlabel.cpp:64
QSize pix_scaled_size
Definition: volcamlabel.h:25
QPixmap pix
Definition: volcamlabel.h:22
void mouseMoveEventSignal(QPoint real_mousePos)