/* vokoscreenNG - A desktop recorder
 * Copyright (C) 2017-2022 Volker Kohaupt
 *
 * Author:
 *      Volker Kohaupt <vkohaupt@volkoh.de>
 *
 * This file is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 * --End_License--
 */

#ifndef QVKSNAPSHOT_H
#define QVKSNAPSHOT_H

#include <QWidget>
#include <QScreen>

#include "ui_formMainWindow.h"  // contains the GUI
#include "mainwindow.h"         // contains the class QvkMainWindow
#include "QvkWinInfo.h"

class QvkSnapshot : public QWidget
{
    Q_OBJECT

public:
    explicit QvkSnapshot( QvkMainWindow *myParent );
    ~QvkSnapshot();
    void init();


private:
    QvkMainWindow *vkMainWindow;
    Ui_formMainWindow *ui;
    QList<QScreen *> myScreen;
    void supportedImageFormats();
    bool is_imageFolderExists_and_haveWritePermission();
    QvkWinInfo *vkWinInfo;
    QString filename;


public slots:


private slots:
    void slot_newImage();
    void slot_snapshotWindow( bool );
    void slot_imagePath();
    void slot_Folder();


protected:


signals:


};

#endif
