mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 19:30:53 +01:00
Ajout du fichier Doxyfile pour parametrer la generation de la documentation git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@191 bfdf4180-ca20-0410-9c96-a3a8aa849046
40 lines
744 B
C++
40 lines
744 B
C++
#ifndef ARC_EDITOR_H
|
|
#define ARC_EDITOR_H
|
|
#include <QtGui>
|
|
#include "elementitemeditor.h"
|
|
class PartArc;
|
|
/**
|
|
Cette classe represente le widget d'edition d'un arc dans l'editeur
|
|
d'element.
|
|
*/
|
|
class ArcEditor : public ElementItemEditor {
|
|
Q_OBJECT
|
|
//constructeurs, destructeur
|
|
public:
|
|
ArcEditor(QETElementEditor *, PartArc *, QWidget * = 0);
|
|
~ArcEditor();
|
|
private:
|
|
ArcEditor(const ArcEditor &);
|
|
|
|
// attributs
|
|
private:
|
|
PartArc *part;
|
|
QLineEdit *x, *y, *h, *v;
|
|
QSpinBox *angle, *start_angle;
|
|
|
|
// methodes
|
|
public slots:
|
|
void updateArc();
|
|
void updateArcX();
|
|
void updateArcY();
|
|
void updateArcH();
|
|
void updateArcV();
|
|
void updateArcS();
|
|
void updateArcA();
|
|
void updateForm();
|
|
|
|
private:
|
|
void activeConnections(bool);
|
|
};
|
|
#endif
|