summaryrefslogtreecommitdiff
path: root/src/tikzit.h
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-01-11 13:39:59 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-01-11 13:39:59 +0100
commit7ba78eb787b925c99bfd5838543bb98e0d4743c8 (patch)
tree9801a5490de3a9c4988affd96f8700fe0e9e0285 /src/tikzit.h
parentc0bb77059e3c4afa47fe6bfebbf99e230a01992c (diff)
added more source code documentation
Diffstat (limited to 'src/tikzit.h')
-rw-r--r--src/tikzit.h29
1 files changed, 25 insertions, 4 deletions
diff --git a/src/tikzit.h b/src/tikzit.h
index deb683e..1846b15 100644
--- a/src/tikzit.h
+++ b/src/tikzit.h
@@ -1,7 +1,28 @@
-/**
- * Tikzit is the top-level class which maintains the global application state. For convenience,
- * it also inherits the main menu.
- */
+/*!
+ *
+ * \mainpage TikZiT Documentation
+ *
+ * This is the source code documentation for TikZiT. The global entry point
+ * for the TikZiT executable is in main.cpp, whereas the class Tikzit maintains
+ * the global application state.
+ *
+ * The TikZ parser is implemented in flex/bison in the files tikzlexer.l and tikzparser.y.
+ *
+ * Most of the interesting code for handling user input is in the class TikzScene. Anything
+ * that makes a change to the tikz file should be implemented as a QUndoCommand. Currently,
+ * these are all in undocommands.h.
+ *
+ */
+
+/*!
+ *
+ * \class Tikzit
+ *
+ * Tikzit is the top-level class which maintains the global application state. For convenience,
+ * it also holds an instance of the main menu for macOS (or Ubuntu unity) style GUIs which only
+ * have one, application-level menu.
+ *
+ */
#ifndef TIKZIT_H
#define TIKZIT_H