36 lines
480 B
C++
36 lines
480 B
C++
#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();
|
|
|
|
void on_refresh_clicked();
|
|
|
|
private:
|
|
Ui::Picture *ui;
|
|
QDir directory;
|
|
};
|
|
|
|
#endif // PICTURE_H
|