添加管控软件和相机的通讯
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
#include <QImage>
|
||||
#include <QJsonObject>
|
||||
namespace Ui { class MainWindowClass; }
|
||||
class CameraManager;
|
||||
class QComboBox;
|
||||
@@ -19,6 +20,8 @@ public:
|
||||
bool rightConnected() const;
|
||||
bool leftPreviewing() const { return m_lPrev; }
|
||||
bool rightPreviewing() const { return m_rPrev; }
|
||||
QJsonObject initializeRemote();
|
||||
bool remoteInitialized() const;
|
||||
|
||||
signals:
|
||||
void logMessage(const QString& msg);
|
||||
@@ -38,10 +41,12 @@ private slots:
|
||||
|
||||
private:
|
||||
void updateStates();
|
||||
bool applyParameters(int cameraIndex);
|
||||
Ui::MainWindowClass& ui;
|
||||
CameraManager* m_mgr;
|
||||
QComboBox* m_comboCamTarget = nullptr;
|
||||
bool m_lPrev = false, m_rPrev = false;
|
||||
bool m_lFrozen = false, m_rFrozen = false;
|
||||
QImage m_lastLeft, m_lastRight;
|
||||
bool m_remoteInitialized[2] = {false,false};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user