52 #ifndef QTAPPLICATION_HH 53 #define QTAPPLICATION_HH 60 #include <QApplication> 65 #include <QTimerEvent> 72 #include "../Config/ACGDefines.hh" 108 void saveFile(
const char* _filename);
111 void loadFile(
const char* _filename);
129 bool notify (QObject* _receiver, QEvent* _event);
139 std::string classname;
147 typedef std::vector<FootPrint> FootPrints;
148 typedef FootPrints::iterator FootPrintIter;
152 void recordEvent(QObject* _receiver, QEvent* _event);
157 void storeTopLevelSizes();
158 void restoreTopLevelSizes();
161 void saveTopLevelSizes(std::ostream & _os);
162 void loadTopLevelSizes(std::istream & _is);
168 void timerEvent(QTimerEvent* _e);
170 void cleanUpEventBuffer();
181 unsigned int eventnr_;
190 FootPrints events_, toplevels_;
193 QtMacroDialog* dialog_;
196 QWidget* mainWidget_;
199 QPoint mainWidgetDiff_;
202 QPoint oldMainWidgetPos_;
209 #endif // MACROAPPLICATION_HH defined Namespace providing different geometric functions concerning angles.