2026年5月25日15:57:50
This commit is contained in:
+4
-1
@@ -58,6 +58,8 @@ struct TextItemModel {
|
||||
int boldMultiple = 1;
|
||||
int letterSpace = 0;
|
||||
bool colorReversal = false;
|
||||
QString fontFamily = "Dinkie9";
|
||||
int fontSize = 9;
|
||||
|
||||
std::function<QImage()> imageGenerator; // 图片生成函数
|
||||
|
||||
@@ -72,8 +74,9 @@ struct TextItemModel {
|
||||
letterSpace != other.letterSpace ||
|
||||
colorReversal != other.colorReversal;
|
||||
}
|
||||
};
|
||||
|
||||
static QString toString(const TextItemModel& model);
|
||||
};
|
||||
|
||||
class PicTextItem : public QGraphicsTextItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user