00001 00042 #ifndef AICONFIGZONE_HPP 00043 #define AICONFIGZONE_HPP 00044 00045 #include <QtGui> 00046 00047 namespace AiFractals 00048 { 00055 class AiConfigZone : public QWidget 00056 { 00057 Q_OBJECT 00058 00059 public: 00063 AiConfigZone( QWidget * parent = 0 ); 00064 00068 ~AiConfigZone(); 00069 00074 const double getZoneWidth() const; 00075 00080 void setZoneWidth( double w ); 00081 00086 const double getZoneHeight() const; 00087 00092 void setZoneHeight( double h ); 00093 00098 const double getZoneMinX() const; 00099 00104 void setZoneMinX( double x ); 00105 00110 const double getZoneMinY() const; 00111 00116 void setZoneMinY( double y ); 00117 00122 const int getImageWidth() const; 00123 00128 void setImageWidth( int w ); 00129 00134 const int getImageHeight() const; 00135 00140 void setImageHeight( int h ); 00141 00146 const int getIterations() const; 00147 00152 void setIterations( int i ); 00153 00154 private: 00158 QDoubleSpinBox * m_zoneWidth; 00159 00163 QDoubleSpinBox * m_zoneHeight; 00164 00168 QDoubleSpinBox * m_zoneMinX; 00169 00173 QDoubleSpinBox * m_zoneMinY; 00174 00178 QSpinBox * m_imageWidth; 00179 00183 QSpinBox * m_imageHeight; 00184 00188 QSpinBox * m_iterations; 00189 }; 00190 } 00191 #endif // AICONFIGZONE_HPP