Mon, 23 Jan 2023 17:23:10 +0100
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