Blame view

app/gui/oven_control/configlanguagedlg.cpp 716 Bytes
92fef6124   고영탁   환경 설정 - 설정 UI 완료
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  #include "config.h"
  #include "configlanguagedlg.h"
  #include "ui_configlanguagedlg.h"
  
  using namespace Define;
  
  ConfigLanguageDlg::ConfigLanguageDlg(QWidget *parent) :
      QDialog(parent),
      ui(new Ui::ConfigLanguageDlg)
  {
      ui->setupUi(this);
      this->setWindowFlags( Qt::FramelessWindowHint);
      this->setAttribute( Qt::WA_DeleteOnClose);
  
  
      ui->pushButton_1->setText(tr(language_menu[0]));
      ui->pushButton_2->setText(tr(language_menu[1]));
      ui->pushButton_3->setText(tr(language_menu[2]));
  
  }
  
  ConfigLanguageDlg::~ConfigLanguageDlg()
  {
      delete ui;
  }
  
  void ConfigLanguageDlg::on_ctrBtnOk_clicked()
  {
      this->accept();
  }
  
  void ConfigLanguageDlg::on_ctrBtnCancel_clicked()
  {
      this->reject();
  }