src/Webcam.h

Mon, 23 Jan 2023 17:23:10 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 23 Jan 2023 17:23:10 +0100
changeset 472
db8ad1c2112b
parent 391
42936c86cbac
permissions
-rw-r--r--

If a new image for a product is loaded, check if the path is available. If not, use the home directory.

#ifndef _WEBCAM_H
#define _WEBCAM_H

#include "MainWindow.h"

#include <QDialog>
#include <QDialogButtonBox>
#include <QWebEngineView>


namespace Ui {
class Webcam;
}

class Webcam : public QDialog
{
    Q_OBJECT

public:
    explicit Webcam(QString url, QWidget *parent = 0);
    ~Webcam();

private:
    QDialog* dialog;
    void windowClose();
};

#endif

mercurial