00001 00042 #ifndef AICONFIGGENERATOR_HPP 00043 #define AICONFIGGENERATOR_HPP 00044 00045 #include <QtGui> 00046 00047 namespace AiFractals 00048 { 00049 typedef QPainter::CompositionMode composition; 00050 00057 class AiConfigGenerator : public QWidget 00058 { 00059 Q_OBJECT 00060 00061 public: 00066 AiConfigGenerator( QWidget * parent = 0 ); 00067 00072 void setThreadsNumber( int n ); 00073 signals: 00074 00079 void currentThreads(int thread); 00080 00085 void firstCompositionMode( int val ); 00086 00091 void othersCompositionMode( int val ); 00092 00096 void runGenerator(); 00097 00101 void stopGenerator(); 00102 00103 }; 00104 } 00105 #endif // AICONFIGGENERATOR_HPP