Files
vx4-GuiLin-Gear/.svn/pristine/c2/c2764dd0eab98f83154845f1914b3f4f2f5c8ba1.svn-base

31 lines
617 B
Plaintext

#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();
}