src/Webcam.h

Wed, 25 Jan 2023 13:11:51 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 25 Jan 2023 13:11:51 +0100
changeset 475
895c5ae1dab1
parent 391
42936c86cbac
permissions
-rw-r--r--

Some extra debug info en some removed for the product images. Clear picmap area if no pixmaps are left. Block pictype_changed and piccomment_changed if there are no pictures, prevents segfault.

#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