Fraktale 1.0
Qt-Programm zur interaktiven Erforschung von Fraktalen.
|
00001 #ifndef _MAINWINDOWIMPL_HPP_ 00002 #define _MAINWINDOWIMPL_HPP_ 00003 00004 #include <QObject> 00005 #include <QMessageBox> 00006 #include <QFileDialog> 00007 00008 #include "mainwindow.hpp" 00009 #include "controlwindow.hpp" 00010 #include "controlwindowimpl.hpp" 00011 #include "complexfractal.hpp" 00012 00018 class MainWindowImpl : public QObject 00019 { 00020 Q_OBJECT 00021 public: 00029 MainWindowImpl(MainWindow* mw, ControlWindow* cw, ControlWindowImpl* cwi); 00030 public slots: 00032 void saveAsLow(); 00034 void saveAsMedium(); 00036 void saveAsHigh(); 00038 void mandelbrot(); 00040 void mandelbar(); 00042 void multibrot(); 00044 void julia(); 00046 void about(); 00047 private: 00048 QString getFileName(); 00049 ComplexFractal* getCurrentFractal(); 00050 00051 MainWindow* mw; 00052 ControlWindow* cw; 00053 ControlWindowImpl *cwi; 00054 00055 QString fileName; 00056 QImage fractalImage; 00057 ComplexFractal* fractal; 00058 }; 00059 00060 #endif // _MAINWINDOWIMPL_HPP_