mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-29 06:35:40 +03:00
feat: choosing complete
This commit is contained in:
36
Widgets/updatefileslot.h
Normal file
36
Widgets/updatefileslot.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef UPDATEFILESLOT_H
|
||||
#define UPDATEFILESLOT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include <Data/FileData.h>
|
||||
|
||||
namespace Ui {
|
||||
class UpdateFileSlot;
|
||||
}
|
||||
|
||||
class UpdateFileSlot : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit UpdateFileSlot(QWidget *parent = nullptr);
|
||||
void fill(QString itemName, FileData serverData, FileData localData);
|
||||
|
||||
bool getNeedUpdate() const;
|
||||
void setNeedUpdate(bool value);
|
||||
FileData getLocal() const;
|
||||
|
||||
~UpdateFileSlot();
|
||||
|
||||
|
||||
private slots:
|
||||
void on_UpdateCheckBox_stateChanged(int arg1);
|
||||
|
||||
private:
|
||||
Ui::UpdateFileSlot *ui;
|
||||
FileData local;
|
||||
bool needUpdate;
|
||||
};
|
||||
|
||||
#endif // UPDATEFILESLOT_H
|
||||
Reference in New Issue
Block a user