diff --git a/openglcanvas.cpp b/openglcanvas.cpp
index b05e16605d5fd7cad1d43181be3d1f5f8af60f68..6fa0b0bfdeeec173170bf7fd9992d5016c41abb1 100644
--- a/openglcanvas.cpp
+++ b/openglcanvas.cpp
@@ -218,6 +218,8 @@ void OpenGLCanvas::read_config_file(){
}
fclose(rcfile);
}
+ emit fov_changed((int)fov);
+ emit max_fov_changed((int)fov_max);
}
void OpenGLCanvas::load_image(const char *new_image){
@@ -732,8 +734,8 @@ void OpenGLCanvas::paintGL(){
time_fps = time_frames/dt;
time_frames = 0;
time_time.reset();
- //emit fps(QString("%1 fps").arg((int)(time_fps+0.5)));
- printf("fps = %d ", (int)(time_fps+0.5));
+ emit fps(QString("%1 fps").arg((int)(time_fps+0.5)));
+ //printf("fps = %d ", (int)(time_fps+0.5));
// }
// }
diff --git a/panowindow1.ui b/panowindow1.ui
index 9f8ba6ea5adbe588011bdc74e7a4bb068a06d94f..fabd3c6149184dbd93347efc48802095ae41327b 100644
--- a/panowindow1.ui
+++ b/panowindow1.ui
@@ -14,10 +14,47 @@
PanoWindow1
+ -
+
+
+ Visualization
+
+
+
-
-
+
- Close
+ Re-center
+
+
+
+ -
+
+
+ FOV-Scale Relation
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
+ FOV max
@@ -61,19 +98,25 @@
- -
-
-
-
- 0
- 0
-
+
-
+
+
+ 1
-
-
- 0
- 0
-
+
+ 359
+
+
+ 60
+
+
+ Qt::Vertical
+
+
+ QSlider::NoTicks
+
+
+ 10
@@ -96,49 +139,31 @@
- -
+
-
Input Image
- -
-
-
- Visualization
+
-
+
+
+ QFrame::NoFrame
-
-
- -
-
-
- FOV-Scale Relation
+
+ 3
- -
-
-
- Re-center
-
-
-
- -
-
-
- FOV max
-
-
-
- -
-
+
-
+
- FOV
+ Close
- -
+
-
1
@@ -154,25 +179,20 @@
- -
-
-
- 1
+
-
+
+
+ QFrame::NoFrame
-
- 359
+
+ 3
-
- 60
-
-
- Qt::Vertical
-
-
- QSlider::NoTicks
-
-
- 10
+
+
+ -
+
+
+ FOV
@@ -347,5 +367,69 @@
+
+ changefov
+ valueChanged(int)
+ fovled
+ display(int)
+
+
+ 606
+ 245
+
+
+ 606
+ 380
+
+
+
+
+ changefovmax
+ valueChanged(int)
+ fovmaxled
+ display(int)
+
+
+ 532
+ 248
+
+
+ 532
+ 380
+
+
+
+
+ GLCanvas
+ fov_changed(int)
+ fovled
+ display(int)
+
+
+ 250
+ 249
+
+
+ 606
+ 197
+
+
+
+
+ GLCanvas
+ max_fov_changed(int)
+ fovmaxled
+ display(int)
+
+
+ 250
+ 249
+
+
+ 532
+ 197
+
+
+