adjust BirthdayCreater eng position.

This commit is contained in:
shouchih_chen 2024-05-14 15:10:25 +08:00
parent 91ca0f21a9
commit 599480df0f
3 changed files with 4 additions and 4 deletions

View File

@ -204,8 +204,8 @@ void BirthdayCreater::generaImageFromCSV(Name_Type_e type, const QString& filena
for(int i = 0; i < 2; i++){ for(int i = 0; i < 2; i++){
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) ? 820.0 : 1550.0;
int sp_y_offset = (i == 0)? 1.0*chrismas_y_offset+40:-1.0*chrismas_y_offset-30.0; int sp_y_offset = (i == 0)? 1.0*chrismas_y_offset:-1.0*chrismas_y_offset;
//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-15T14:08:56. --> <!-- Written by QtCreator 7.0.2, 2024-03-27T15:04:12. -->
<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.5" #define VERSION "v2.4.6"
#endif // DEF_H #endif // DEF_H