+30
-30
@@ -1,30 +1,30 @@
|
||||
#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();
|
||||
}
|
||||
#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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user