modify BirthdayCreater eng position.

This commit is contained in:
shouchih_chen 2024-03-14 15:03:27 +08:00
parent d1e80ad04c
commit 2b51d7ddee
3 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ void BirthdayCreater::generaImageFromCSV(Name_Type_e type, const QString& filena
qreal dir = (i == 0) ? -1.0:1.0; qreal dir = (i == 0) ? -1.0:1.0;
qreal x_offset = (i == 0) ? 290.0 : 170.0; qreal x_offset = (i == 0) ? 290.0 : 170.0;
qreal y_offset = (i == 0) ? 780.0 : 1580.0; qreal y_offset = (i == 0) ? 780.0 : 1580.0;
int sp_y_offset = chrismas_y_offset;//(i == 0)? 1.0*chrismas_y_offset:-1.0*chrismas_y_offset-30.0; int sp_y_offset = (i == 0)? 1.0*chrismas_y_offset+40:-1.0*chrismas_y_offset-30.0;
//add English world //add English world
QGraphicsTextItem* eng_word_item = new QGraphicsTextItem(name_info.name_eng); QGraphicsTextItem* eng_word_item = new QGraphicsTextItem(name_info.name_eng);
eng_word_item->setFont(_new_font); eng_word_item->setFont(_new_font);

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 7.0.2, 2024-03-12T11:17:32. --> <!-- Written by QtCreator 7.0.2, 2024-03-14T15:02:41. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>

View File

@ -1,6 +1,6 @@
#ifndef DEF_H #ifndef DEF_H
#define DEF_H #define DEF_H
#define VERSION "v2.4.2" #define VERSION "v2.4.3"
#endif // DEF_H #endif // DEF_H