namecreater/NameCreater/customlogo2.h
shouchih_chen 1405d54f33 Merge branch 'master-webassembly' of https://gitlab.com/portfolio91/namecreater into master-webassembly
# Conflicts:
#	NameCreater/NameCreater.pro.user
#	NameCreater/customlogo2.cpp
2024-09-20 12:54:50 +08:00

38 lines
641 B
C++

#ifndef CUSTOMLOGO2_H
#define CUSTOMLOGO2_H
#include <QDialog>
#include "INameCreater.h"
#include "QFont"
namespace Ui {
class customlogo2;
}
class customlogo2 : public QDialog
{
Q_OBJECT
public:
explicit customlogo2(QFont *font , QDialog*parent = nullptr);
~customlogo2();
private:
Ui::customlogo2 *ui;
QFont *zhFont,enFont;
void loadListFromFile();
void gerneraImageFromList(const QList<NameInfo_t>& nameList, Name_Type_e type);
protected:
QList<NameInfo_t> getNameByFileContent(Name_Type_e type, const QByteArray& conetent);
private Q_SLOTS:
void OnClickedBtn();
};
#endif // CUSTOMLOGO2_H