61 const QVariant parameter)
override;
96 void CreateWidgets2();
98 void TryDrawingMarker();
99 void UpdateMagnifiedImage(QImage
const& magnified_image);
102 const int LABELS_WIDTH = 120;
103 const int LINE_EDITS_WIDTH = 140;
104 const int SQUARE_MIN_SIZE = 10;
105 const int DEFAULT_MAGNIFIED_IMAGE_SIZE = 280;
106 const int NUMBER_FLIP_STATES = 2;
110 QHBoxLayout* layout_upper_half;
111 QVBoxLayout* layout_valueoutput;
112 QHBoxLayout* layout_image_x;
113 QHBoxLayout* layout_image_y;
114 QHBoxLayout* layout_pixel_value;
115 QHBoxLayout* layout_ra_value;
116 QHBoxLayout* layout_dec_value;
117 QHBoxLayout* layout_equinox_value;
118 QHBoxLayout* layout_fwhm_x_value;
119 QHBoxLayout* layout_fwhm_y_value;
120 QHBoxLayout* layout_angle_x_axis_value;
121 QHBoxLayout* layout_peak_above_bg_value;
122 QHBoxLayout* layout_background_value;
123 QHBoxLayout* layout_square_size_value;
124 QVBoxLayout* layout_magnification;
125 QHBoxLayout* layout_slider_label;
126 QHBoxLayout* layout_middle;
129 QLabel* label_image_x;
130 QLabel* label_image_y;
131 QLabel* label_pixel_value;
132 QLabel* label_ra_value;
133 QLabel* label_dec_value;
134 QLabel* label_equinox_value;
135 QLabel* label_fwhm_x_value;
136 QLabel* label_fwhm_y_value;
137 QLabel* label_angle_x_axis_value;
138 QLabel* label_peak_above_bg_value;
139 QLabel* label_background_value;
140 QLabel* label_square_size_value;
160 QLabel* label_square_size;
161 QLabel* label_slider_min;
162 QLabel* label_slider_max;
163 QSlider* slider_square_size;
164 QLabel* label_pickmode;
167 QRadioButton* radio_button_objectmode;
168 QRadioButton* radio_button_cursormode;
169 QCheckBox* check_box_show_marker;
172 QDialogButtonBox* push_buttons_box;
173 QPushButton* push_button_pick;
174 QPushButton* push_button_cancel_pick;
175 QPushButton* push_button_ok;
176 QPushButton* push_button_cancel;
184 QRect magnified_image_rect;
186 bool view_rotate_90_270;
187 double fwhm_x, fwhm_y;
192 bool overwrite_freeze;
193 bool vertical_flipped_image;
194 bool horizontal_flipped_image;
195 QImage last_image_while_freezing;
196 bool datastream_pick;
205 const QVariant parameter)
override;
211 void SliderValueChanged(
const int value);
216 void PickModeSelected();
221 void ShowMarkerChanged();
231 void CancelPickSelected();
236 void ConfirmSelected();
246 void SetMagnificationFactor(
const QString magnification_factor);
253 const QVariant parameter);