20 #ifndef DDT_DATAVISUALISATION_DDTDIALOGS_PICKOBJECTDIALOG_HPP
21 #define DDT_DATAVISUALISATION_DDTDIALOGS_PICKOBJECTDIALOG_HPP
61 const QVariant parameter)
override;
92 void CreateWidgets2();
93 void ConnectElements()
const;
95 void UpdateMagnifiedImage(QImage
const& magnified_image);
98 QHBoxLayout* layout_upper_half;
99 QVBoxLayout* layout_valueoutput;
100 QHBoxLayout* layout_image_x;
101 QHBoxLayout* layout_image_y;
102 QHBoxLayout* layout_pixelvalue;
103 QHBoxLayout* layout_ra_value;
104 QHBoxLayout* layout_dec_value;
105 QHBoxLayout* layout_equinox_value;
106 QHBoxLayout* layout_fwhm_x_value;
107 QHBoxLayout* layout_fwhm_y_value;
108 QHBoxLayout* layout_angle_x_axis_value;
109 QHBoxLayout* layout_peak_above_bg_value;
110 QHBoxLayout* layout_background_value;
111 QHBoxLayout* layout_pixels_x_y_value;
112 QVBoxLayout* layout_magnification;
113 QHBoxLayout* layout_slider_label;
114 QHBoxLayout* layout_middle;
116 QLabel* label_image_x;
117 QLabel* label_image_y;
118 QLabel* label_pixelvalue;
119 QLabel* label_ra_value;
120 QLabel* label_dec_value;
121 QLabel* label_equinox_value;
122 QLabel* label_fwhm_x_value;
123 QLabel* label_fwhm_y_value;
124 QLabel* label_angle_x_axis_value;
125 QLabel* label_peak_above_bg_value;
126 QLabel* label_background_value;
127 QLabel* label_pixels_x_y_value;
147 QLabel* label_no_pixels;
148 QLabel* label_slider_min;
149 QLabel* label_slider_max;
150 QSlider* slider_pixel_window_size;
151 QLabel* label_pickmode;
154 QRadioButton* radio_button_objectmode;
155 QRadioButton* radio_button_cursormode;
156 std::unique_ptr<QLineEdit> line_edit_no_samples;
157 QCheckBox* check_box_show_marker;
160 QDialogButtonBox* push_buttons_box;
161 QPushButton* push_button_pick;
162 QPushButton* push_button_cancel_pick;
163 QPushButton* push_button_ok;
164 QPushButton* push_button_cancel;
169 int pixel_window_size_max;
175 bool overwrite_freeze;
176 bool vertical_flipped_image;
177 bool horizontal_flipped_image;
178 QImage last_image_while_freezing;
179 bool datastream_pick;
188 const QVariant parameter)
override;
194 void SliderValueChanged(
const int value);
199 void PickModeSelected();
204 void NumberOfSamplesChanged(
const QString text);
209 void ShowMarkerChanged();
219 void CancelPickSelected();
224 void ConfirmSelected();
234 void SetMagnificationFactor(
const QString magnification_factor);
241 const QVariant parameter);
Definition: ddtDialog.hpp:27
Definition: ddtPickObjectDialog.hpp:34
virtual void CreateDialog() override
Definition: ddtPickObjectDialog.cpp:51
void UpdateStatisticsValues(const QString all_values_string)
Definition: ddtPickObjectDialog.cpp:579
void SetChangedParameter(const QString param_id, const QVariant parameter) override
Definition: ddtPickObjectDialog.cpp:500
void SetInitialParameter(const QString parameter_id, const QVariant parameter) override
Definition: ddtPickObjectDialog.cpp:353
void UpdatePixelWindowSizeMax(const QString magnification_factor)
Definition: ddtPickObjectDialog.cpp:489
QString GetDialogName() override
Definition: ddtPickObjectDialog.cpp:33
void closeEvent(QCloseEvent *event) override
Definition: ddtPickObjectDialog.cpp:641
DdtPickObjectDialog(QWidget *parent=nullptr)
Definition: ddtPickObjectDialog.cpp:26
virtual ~DdtPickObjectDialog()=default
void ParameterChanged(const QString dialog_id, const QString param_id, const QVariant parameter)
void Initialize()
Definition: ddtPickObjectDialog.cpp:37
Definition: ddtDatavisualisationUtils.hpp:27
DDT Utils. Definitions for the data visualisation. Utilities for the DDT Datavisualisation.
PickMode
Definition: ddtDatavisualisationDefines.hpp:25
DDT Utils. Helper classes for DDT Datavisualisation. Utilities for the DDT Datavisualisation.
DDT Dialog IDs. ID values for all used dialogs. IDs for the used dialogs.
DDT Dialogs. Base class for the DDT dialogs. Base class for the DDT dialogs.