2026年6月22日 :大量更新
This commit is contained in:
+7
-5
@@ -27,10 +27,6 @@ QBarCode::QBarCode(QWidget *parent) :
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
if (sysPara == nullptr) {
|
||||
sysPara = SysPara::ins();
|
||||
}
|
||||
|
||||
bcOK=false;
|
||||
connect(ui->BarCodeGenerate,SIGNAL(pressed()),this,SLOT(ImgSave()));
|
||||
connect(ui->pushBarPreview,SIGNAL(pressed()),this,SLOT(onEnCodeBar()));
|
||||
@@ -401,7 +397,13 @@ void QBarCode::onXposChange(int n){
|
||||
}
|
||||
}
|
||||
|
||||
void QBarCode::SetOption(bcOption_t *bcOption){
|
||||
void QBarCode::bindSysPara(SysPara *sysPara)
|
||||
{
|
||||
this->sysPara = sysPara;
|
||||
}
|
||||
|
||||
void QBarCode::SetOption(bcOption_t *bcOption)
|
||||
{
|
||||
|
||||
AutoCount1=bcOption->var1En | bcOption->var2En;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user