mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
report upgrade 0
This commit is contained in:
29
LibInstructorsAndTrainees/tasks/devicewidget.h
Normal file
29
LibInstructorsAndTrainees/tasks/devicewidget.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef DEVICEWIDGET_H
|
||||
#define DEVICEWIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "tasksAmmFim.h"
|
||||
|
||||
namespace Ui {
|
||||
class DeviceWidget;
|
||||
}
|
||||
|
||||
class DeviceWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DeviceWidget(QWidget *parent = nullptr);
|
||||
~DeviceWidget();
|
||||
|
||||
void setItem(FIMReportWarehouseItem whItem);
|
||||
|
||||
private:
|
||||
QString getStatusStr(int status);
|
||||
void setStyleStatusLabel(int status);
|
||||
|
||||
private:
|
||||
Ui::DeviceWidget *ui;
|
||||
};
|
||||
|
||||
#endif // DEVICEWIDGET_H
|
||||
Reference in New Issue
Block a user