修改文件换行符,修正轮班图元长度计算问题

This commit is contained in:
2026-08-19 11:55:10 +08:00
parent 176b53b654
commit a274b75705
116 changed files with 68711 additions and 68660 deletions
+40 -40
View File
@@ -1,40 +1,40 @@
#ifndef DLGBARCODEFORMAT_H
#define DLGBARCODEFORMAT_H
#include <QDialog>
#include "ViewModels.h"
namespace Ui {
class DlgBarcodeFormat;
}
struct DlgBarcodeFormatVM {
QString type = "BARCODE_128";
int height = 9;
int width = 1;
int scale = 1;
InkType inkType = INK_TYPE_BLACK;
bool txtVisible = false;
};
Q_DECLARE_METATYPE(DlgBarcodeFormatVM);
class DlgBarcodeFormat : public QDialog
{
Q_OBJECT
public:
explicit DlgBarcodeFormat(QWidget *parent = nullptr);
~DlgBarcodeFormat();
void setViewModel(DlgBarcodeFormatVM vm);
DlgBarcodeFormatVM viewModel();
private:
Ui::DlgBarcodeFormat *ui;
DlgBarcodeFormatVM m_vm;
};
#endif // DLGBARCODEFORMAT_H
#ifndef DLGBARCODEFORMAT_H
#define DLGBARCODEFORMAT_H
#include <QDialog>
#include "ViewModels.h"
namespace Ui {
class DlgBarcodeFormat;
}
struct DlgBarcodeFormatVM {
QString type = "BARCODE_128";
int height = 9;
int width = 1;
int scale = 1;
InkType inkType = INK_TYPE_BLACK;
bool txtVisible = false;
};
Q_DECLARE_METATYPE(DlgBarcodeFormatVM);
class DlgBarcodeFormat : public QDialog
{
Q_OBJECT
public:
explicit DlgBarcodeFormat(QWidget *parent = nullptr);
~DlgBarcodeFormat();
void setViewModel(DlgBarcodeFormatVM vm);
DlgBarcodeFormatVM viewModel();
private:
Ui::DlgBarcodeFormat *ui;
DlgBarcodeFormatVM m_vm;
};
#endif // DLGBARCODEFORMAT_H