Remove photocapture module
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include <QDockWidget>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include "photocapture.h"
|
||||
#include <QSettings>
|
||||
#include <QCoreApplication>
|
||||
|
||||
@@ -43,12 +42,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
m_imageGL = new ImageScrollAreaGL(this);
|
||||
setCentralWidget(m_imageGL);
|
||||
|
||||
PhotoCapture *photoCapture = new PhotoCapture(this);
|
||||
QDockWidget *captureDock = new QDockWidget(tr("Photo capture"), this);
|
||||
captureDock->setWidget(photoCapture);
|
||||
captureDock->setObjectName("captureDock");
|
||||
addDockWidget(Qt::BottomDockWidgetArea, captureDock);
|
||||
|
||||
StretchPanel *stretchPanel = new StretchPanel(this);
|
||||
connect(stretchPanel, SIGNAL(lowChanged(int)), m_imageGL->imageWidget(), SLOT(setLow(int)));
|
||||
connect(stretchPanel, SIGNAL(highChanged(int)), m_imageGL->imageWidget(), SLOT(setHigh(int)));
|
||||
@@ -123,7 +116,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
|
||||
QMenu *dockMenu = new QMenu(tr("Docks"), this);
|
||||
dockMenu->addAction(infoDock->toggleViewAction());
|
||||
dockMenu->addAction(captureDock->toggleViewAction());
|
||||
dockMenu->addAction(stretchDock->toggleViewAction());
|
||||
menuBar()->addMenu(dockMenu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user