metapicture/picture.h

45 lines
810 B
C
Raw Normal View History

2014-06-18 13:22:19 -04:00
#ifndef PICTURE_H
#define PICTURE_H
#include <QMainWindow>
#include <QDir>
#include <QFileDialog>
2014-06-18 19:15:35 -04:00
#include "ui_picture.h"
#include "ui_preview.h"
#include <syscall.h>
#include <string>
#include <iostream>
#include <stdio.h>
#include <QDebug>
#include <QImageReader>
#include <QDialog>
2014-06-18 21:32:10 -04:00
#include <QProcess>
2014-06-18 13:22:19 -04:00
namespace Ui {
2014-06-18 19:15:35 -04:00
class Picture;
class Preview;
2014-06-18 13:22:19 -04:00
}
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_erase_clicked();
2014-06-18 15:23:12 -04:00
void on_refresh_clicked();
void on_clearLog_clicked();
void on_erase_pressed();
2014-06-18 21:32:10 -04:00
void log();
2014-06-18 13:22:19 -04:00
private:
Ui::Picture *ui;
QDir directory;
2014-06-18 21:32:10 -04:00
QProcess commandProcess;
2014-06-18 13:22:19 -04:00
};
#endif // PICTURE_H