The user can now specify his own name/value pairs at three levels:

* user configuration level (qelectrotech.conf): default configuration for new projects
  * project level (.qet file): default configuration for new diagrams
  * diagram level (title block properties): names and values may be used by the title block template


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1142 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2011-01-09 15:16:51 +00:00
parent 3b07252a9a
commit 134b3ba83e
9 changed files with 277 additions and 98 deletions

View File

@@ -32,6 +32,9 @@ class DiagramContext {
const QVariant operator[](const QString &) const;
bool addValue(const QString &, const QVariant &);
bool operator==(const DiagramContext &) const;
bool operator!=(const DiagramContext &) const;
private:
bool keyIsAcceptable(const QString &) const;
/// Diagram context data (key/value pairs)