52 #ifndef QTAPPLICATION_HH 53 #define QTAPPLICATION_HH 60 #include <QApplication> 63 #include <QElapsedTimer> 64 #include <QTimerEvent> 71 #include "../Config/ACGDefines.hh" 107 void saveFile(
const char* _filename);
110 void loadFile(
const char* _filename);
128 bool notify (QObject* _receiver, QEvent* _event);
138 std::string classname;
146 typedef std::vector<FootPrint> FootPrints;
147 typedef FootPrints::iterator FootPrintIter;
151 void recordEvent(QObject* _receiver, QEvent* _event);
156 void storeTopLevelSizes();
157 void restoreTopLevelSizes();
160 void saveTopLevelSizes(std::ostream & _os);
161 void loadTopLevelSizes(std::istream & _is);
167 void timerEvent(QTimerEvent* _e);
169 void cleanUpEventBuffer();
180 unsigned int eventnr_;
189 FootPrints events_, toplevels_;
192 QtMacroDialog* dialog_;
195 QWidget* mainWidget_;
198 QPoint mainWidgetDiff_;
201 QPoint oldMainWidgetPos_;
208 #endif // MACROAPPLICATION_HH defined Namespace providing different geometric functions concerning angles.