Commit 79daa72096eeaecc690826f6a3a2ccc2be78ca2e

Authored by 고영탁
1 parent 22285913ff
Exists in master and in 2 other branches fhd, fhd-demo

비밀번호 8자 변경

 - 엔지니어 모드 비밀번호 8자리 변경
app/gui/oven_control/lang_en.qm
No preview for this file type
app/gui/oven_control/servicepassinputdlg.cpp
... ... @@ -17,7 +17,7 @@ ServicePassInputDlg::ServicePassInputDlg(QWidget *parent) :
17 17 this->setResult(QDialog::Accepted);
18 18 foreach (QPushButton *button, findChildren<QPushButton *>())
19 19 connect(button, &QPushButton::pressed, SoundPlayer::playClick);
20   - ui->ctrProgressBar->setMaxProgress(0,4);
  20 + ui->ctrProgressBar->setMaxProgress(0,MAX_PASSWORD);
21 21 m_nCurInputCount = 0;
22 22 this->setFocus();
23 23 memset(m_strInputPass, 0x00, MAX_PASSWORD+1);
... ...
app/gui/oven_control/servicepassinputdlg.h
... ... @@ -5,8 +5,8 @@
5 5 #include <QKeyEvent>
6 6  
7 7  
8   -#define PASS_WORD "0000"
9   -#define MAX_PASSWORD 4
  8 +#define PASS_WORD "00000000"
  9 +#define MAX_PASSWORD 8
10 10  
11 11 namespace Ui {
12 12 class ServicePassInputDlg;
... ...
app/gui/oven_control/servicepassinputdlg.ui
... ... @@ -153,7 +153,7 @@ QPushButton::pressed, QPushButton::focus{
153 153 </property>
154 154 <property name="maximumSize">
155 155 <size>
156   - <width>400</width>
  156 + <width>600</width>
157 157 <height>150</height>
158 158 </size>
159 159 </property>
... ...