mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-20 05:39:59 +01:00
added set function
This commit is contained in:
@@ -4,3 +4,7 @@
|
|||||||
GotoWindow::GotoWindow(QWidget *parent) : QDialog(parent) {
|
GotoWindow::GotoWindow(QWidget *parent) : QDialog(parent) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GotoWindow::setVideo(cv::VideoCapture *cap) {
|
||||||
|
capture = cap;
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ class GotoWindow : public QDialog {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
GotoWindow(QWidget *parent);
|
GotoWindow(QWidget *parent);
|
||||||
|
void setVideo(cv::VideoCapture *cap);
|
||||||
|
private:
|
||||||
|
cv::VideoCapture *capture;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user