adjust BirthdayCreater eng position.
This commit is contained in:
parent
91ca0f21a9
commit
599480df0f
@ -204,8 +204,8 @@ void BirthdayCreater::generaImageFromCSV(Name_Type_e type, const QString& filena
|
||||
for(int i = 0; i < 2; i++){
|
||||
qreal dir = (i == 0) ? -1.0:1.0;
|
||||
qreal x_offset = (i == 0) ? 290.0 : 170.0;
|
||||
qreal y_offset = (i == 0) ? 780.0 : 1580.0;
|
||||
int sp_y_offset = (i == 0)? 1.0*chrismas_y_offset+40:-1.0*chrismas_y_offset-30.0;
|
||||
qreal y_offset = (i == 0) ? 820.0 : 1550.0;
|
||||
int sp_y_offset = (i == 0)? 1.0*chrismas_y_offset:-1.0*chrismas_y_offset;
|
||||
//add English world
|
||||
QGraphicsTextItem* eng_word_item = new QGraphicsTextItem(name_info.name_eng);
|
||||
eng_word_item->setFont(_new_font);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!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>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#ifndef DEF_H
|
||||
#define DEF_H
|
||||
|
||||
#define VERSION "v2.4.5"
|
||||
#define VERSION "v2.4.6"
|
||||
|
||||
#endif // DEF_H
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user