Files
2026-10-19 17:48:03 +08:00

31 lines
617 B
C++

#include "logo_form.h"
#include "ui_logo_form.h"
#include "InkJetPrinter.h"
logo_Form::logo_Form(QWidget *parent) :
QWidget(parent),
ui(new Ui::logo_Form)
{
ui->setupUi(this);
#ifdef TURKEY_LOGO
ui->logo_label->setPixmap(QPixmap(QString::fromUtf8(":/image/Turkey_logo.png")));
show_timer = new QTimer(this);
connect(show_timer, SIGNAL(timeout()), this, SLOT(logo_timer_fun()));
show_timer->start(5000);
#endif
}
logo_Form::~logo_Form()
{
delete ui;
}
extern InkJetPrinter *pInkJectPrinter;
void logo_Form::logo_timer_fun()
{
show_timer->stop();
pInkJectPrinter->show();
}