mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
30 lines
611 B
C
30 lines
611 B
C
|
#ifndef CIRCLE_EDITOR_H
|
||
|
#define CIRCLE_EDITOR_H
|
||
|
#include <QtGui>
|
||
|
class PartCircle;
|
||
|
/**
|
||
|
Cette classe represente un editeur de cercle.
|
||
|
Elle permet d'editer a travers une interface graphique les
|
||
|
proprietes d'une cercle composant le dessin d'un element.
|
||
|
*/
|
||
|
class CircleEditor : public QWidget {
|
||
|
Q_OBJECT
|
||
|
// Constructeurs, destructeur
|
||
|
public:
|
||
|
CircleEditor(PartCircle *, QWidget * = 0);
|
||
|
virtual ~CircleEditor();
|
||
|
private:
|
||
|
CircleEditor(const CircleEditor &);
|
||
|
|
||
|
// attributs
|
||
|
private:
|
||
|
PartCircle *part;
|
||
|
QLineEdit *x, *y, *r;
|
||
|
|
||
|
// methodes
|
||
|
public slots:
|
||
|
void updateCircle();
|
||
|
void updateForm();
|
||
|
};
|
||
|
#endif
|