working on goto window

This commit is contained in:
lostjared
2018-08-30 04:05:58 -07:00
parent 72bd7d2473
commit 5ff297fc8f
3 changed files with 66 additions and 4 deletions

View File

@@ -75,8 +75,11 @@ AC_MainWindow::AC_MainWindow(QWidget *parent) : QMainWindow(parent) {
goto_window = new GotoWindow(this);
disp = new DisplayWindow(this);
playback = new Playback();
//goto_window->show();
goto_window->showWindow(0, 100);
goto_window->setParent(this);
goto_window->setDisplayWindow(disp);
QObject::connect(playback, SIGNAL(procImage(QImage)), this, SLOT(updateFrame(QImage)));
QObject::connect(playback, SIGNAL(stopRecording()), this, SLOT(stopRecording()));
QObject::connect(playback, SIGNAL(frameIncrement()), this, SLOT(frameInc()));