metapicture/picture.h

48 lines
1012 B
C++

#ifndef PICTURE_H
#define PICTURE_H
#include <QMainWindow>
#include <QDir>
#include <QFileDialog>
#include "ui_picture.h"
#include <syscall.h>
#include <string>
#include <iostream>
#include <stdio.h>
#include <QDebug>
#include <QImageReader>
#include <QDialog>
#include <QProcess>
#include <exiv2/exiv2.hpp>
#include <cassert>
#include <QDrag>
#include <QDragEnterEvent>
#include <QMimeData>
#include <QRegExp>
#include <QMessageBox>
namespace Ui {
class Picture;
class Preview;
}
class Picture : public QMainWindow {
Q_OBJECT
public:
explicit Picture(QWidget *parent = 0);
~Picture();
private slots:
void changeDirectory();
void fillList();
void on_cd_clicked();
void on_refresh_clicked();
void on_clearLog_clicked();
void on_processButton_clicked();
void on_processButton_pressed();
private:
Ui::Picture *ui;
QDir directory;
protected:
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
};
#endif // PICTURE_H