20#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_MAGNIFICATIONWIDGET_HPP
21#define DDT_DATAVISUALISATION_DDTWIDGETS_MAGNIFICATIONWIDGET_HPP
23#include <QtUiPlugin/QDesignerExportWidget>
38 Q_PROPERTY(QString default_magnification_factors READ
39 get_default_magnification_factors WRITE
40 set_default_magnification_factors)
41 Q_PROPERTY(
int region_size READ get_region_size WRITE set_region_size)
60 void set_default_magnification_factors(
const QString default_factors);
66 QString get_default_magnification_factors();
72 void set_region_size(
const int size);
78 int get_region_size();
83 void SetExpandingSize();
102 void DrawMarker(
const double x,
const double y,
double fwhm_x,
double fwhm_y,
103 const double angle_x_axis,
bool vertical_flip,
bool horizontal_flip)
const;
112 void DrawCenterRectangle(QPixmap*
const image)
const;
118 void ClearMagnifiedImage();
144 QLabel* label_zoomed_image;
145 QToolButton* button_zoom_in;
146 QToolButton* button_zoom_out;
147 QToolButton* button_zoom_one;
148 QLabel* label_current_zoom;
152 void ChangedMagnification(QString magnification_factor);
156 void ButtonZoomInPressed();
157 void ButtonZoomOutPressed();
158 void ButtonZoomOnePressed();
165 void MagnifiedImage(QImage magnified_image);
DDT Utils. Helper classes for DDT Datavisualisation. Utilities for the DDT Datavisualisation.
Image Handling class, offers access to image handling functions. This file is part of the DDT Image H...