2014-06-18 13:22:19 -04:00
|
|
|
#ifndef PICTURE_H
|
|
|
|
#define PICTURE_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QDir>
|
|
|
|
#include <QFileDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class Picture;
|
|
|
|
}
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
2014-06-18 13:22:19 -04:00
|
|
|
private:
|
|
|
|
Ui::Picture *ui;
|
|
|
|
QDir directory;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PICTURE_H
|