52 const QVariant parameter)
override;
87 void CreateWidgets2();
89 void TryDrawingMarker();
90 void UpdateMagnifiedImage(QImage
const& magnified_image);
93 const int LABELS_WIDTH = 120;
94 const int LINE_EDITS_WIDTH = 140;
95 const int SQUARE_MIN_SIZE = 10;
96 const int DEFAULT_MAGNIFIED_IMAGE_SIZE = 280;
97 const int NUMBER_FLIP_STATES = 2;
101 QHBoxLayout* layout_upper_half;
102 QVBoxLayout* layout_valueoutput;
103 QHBoxLayout* layout_image_x;
104 QHBoxLayout* layout_image_y;
105 QHBoxLayout* layout_pixel_value;
106 QHBoxLayout* layout_ra_value;
107 QHBoxLayout* layout_dec_value;
108 QHBoxLayout* layout_equinox_value;
109 QHBoxLayout* layout_fwhm_x_value;
110 QHBoxLayout* layout_fwhm_y_value;
111 QHBoxLayout* layout_angle_x_axis_value;
112 QHBoxLayout* layout_peak_above_bg_value;
113 QHBoxLayout* layout_background_value;
114 QHBoxLayout* layout_square_size_value;
115 QVBoxLayout* layout_magnification;
116 QHBoxLayout* layout_slider_label;
117 QHBoxLayout* layout_middle;
120 QLabel* label_image_x;
121 QLabel* label_image_y;
122 QLabel* label_pixel_value;
123 QLabel* label_ra_value;
124 QLabel* label_dec_value;
125 QLabel* label_equinox_value;
126 QLabel* label_fwhm_x_value;
127 QLabel* label_fwhm_y_value;
128 QLabel* label_angle_x_axis_value;
129 QLabel* label_peak_above_bg_value;
130 QLabel* label_background_value;
131 QLabel* label_square_size_value;
151 QLabel* label_square_size;
152 QLabel* label_slider_min;
153 QLabel* label_slider_max;
154 QSlider* slider_square_size;
155 QLabel* label_pickmode;
158 QRadioButton* radio_button_objectmode;
159 QRadioButton* radio_button_cursormode;
160 QCheckBox* check_box_show_marker;
163 QDialogButtonBox* push_buttons_box;
164 QPushButton* push_button_pick;
165 QPushButton* push_button_cancel_pick;
166 QPushButton* push_button_ok;
167 QPushButton* push_button_cancel;
175 QRect magnified_image_rect;
177 bool view_rotate_90_270;
178 double fwhm_x, fwhm_y;
183 bool overwrite_freeze;
184 bool vertical_flipped_image;
185 bool horizontal_flipped_image;
186 QImage last_image_while_freezing;
187 bool datastream_pick;
196 const QVariant parameter)
override;
202 void SliderValueChanged(
const int value);
207 void PickModeSelected();
212 void ShowMarkerChanged();
222 void CancelPickSelected();
227 void ConfirmSelected();
237 void SetMagnificationFactor(
const QString magnification_factor);
244 const QVariant parameter);