34 lines
448 B
C
34 lines
448 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();
|
||
|
|
||
|
private:
|
||
|
Ui::Picture *ui;
|
||
|
QDir directory;
|
||
|
};
|
||
|
|
||
|
#endif // PICTURE_H
|