Plot Windows Move Realtime

This commit is contained in:
mwalker33
2020-04-12 20:24:56 +10:00
parent 5df9d3d8f7
commit 7fa8587dd2
7 changed files with 26 additions and 45 deletions

View File

@@ -128,7 +128,10 @@ ProxGuiQT::~ProxGuiQT(void) {
plotapp = NULL;
}
}
void ProxGuiQT::SetWindowsPosition (void)
{
plotwidget->SetWindowsPosition ();
}
//--------------------
void ProxWidget::applyOperation() {
//printf("ApplyOperation()");
@@ -258,6 +261,13 @@ void ProxWidget::showEvent(QShowEvent *event) {
controlWidget->show();
plot->show();
}
void ProxWidget::SetWindowsPosition(void) {
printf ("Settings windows Pos\n");
if (session.preferences_loaded) {
setGeometry (session.window_plot_xpos,session.window_plot_ypos,session.window_plot_wsize,session.window_plot_hsize);
controlWidget->setGeometry (session.window_overlay_xpos,session.window_overlay_ypos,session.window_overlay_wsize,session.window_overlay_hsize);
}
}
//----------- Plotting