Tue, 21 Sep 2021 16:00:15 +0300
Begin work with serialization
| 6 | 1 | #include <QFont> |
| 3 | 2 | #include "comment.h" |
| 3 | ||
|
35
98906a94732f
renamed the linetypes namespace to ldraw namespace and added more structures to it
Teemu Piippo <teemu@hecknology.net>
parents:
14
diff
changeset
|
4 | QFont ldraw::Comment::textRepresentationFont() const |
| 6 | 5 | { |
| 6 | QFont font; | |
| 7 | font.setItalic(true); | |
| 8 | return font; | |
| 9 | } | |
|
132
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
10 | |
|
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
11 | ldraw::Object::Type ldraw::Comment::typeIdentifier() const |
|
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
12 | { |
|
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
13 | return Type::Comment; |
|
488d0ba6070b
Begin work with serialization
Teemu Piippo <teemu@hecknology.net>
parents:
35
diff
changeset
|
14 | } |