diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-08-21 16:49:59 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-08-21 16:49:59 +0200 |
commit | ea4fffa590b1bf7cb936cf6e5ab4e8090dc38910 (patch) | |
tree | b6969c0496b0d463396817739e568bcccd45c3c7 /src/data/style.cpp | |
parent | 20e06dd885819f7b16711ac5359fcdcfb8d26c86 (diff) |
style categories
Diffstat (limited to 'src/data/style.cpp')
-rw-r--r-- | src/data/style.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/style.cpp b/src/data/style.cpp index 0128d36..63747ec 100644 --- a/src/data/style.cpp +++ b/src/data/style.cpp @@ -77,6 +77,11 @@ QString Style::propertyWithDefault(QString prop, QString def, bool tikzitOverrid return val;
}
+QString Style::tikz() const
+{
+ return "\\tikzstyle{" + _name + "}=" + _data->tikz();
+}
+
void Style::setName(const QString &name)
{
_name = name;
|