Subversion Repositories OpenInventory

Rev

Rev 201 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#ifndef FILEFORM_H
#define FILEFORM_H

#include <QWidget>

namespace Ui {
    class FileForm;
}

class FileForm : public QWidget {
    Q_OBJECT
public:
    FileForm(QWidget *parent = 0);
    ~FileForm();
    void setData(QByteArray new_data);
    QByteArray data(){return Data;}
    bool dataIsChanged(){return fdataIsChanged;}

protected:
    void changeEvent(QEvent *e);

private:
    Ui::FileForm *ui;
    QByteArray Data;
    bool fdataIsChanged;

private slots:
    void on_pushButton_clicked();           // îáðàáîò÷èê íàæàòèÿ êíîïêè "Ïîìåíÿòü ôàéë"
    void on_pushButton_2_clicked();           // îáðàáîò÷èê íàæàòèÿ êíîïêè "Óäàëèòü ôàéë"
    void on_pushButton_3_clicked();           // îáðàáîò÷èê íàæàòèÿ êíîïêè "Ñîõðàíèòü ôàéë"

};

#endif // FILEFORM_H