Ajout de l'editeur d'elements

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@94 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-06-30 17:41:07 +00:00
parent 0472392977
commit 75ca8fd3f2
79 changed files with 3867 additions and 345 deletions

40
orientationsetwidget.h Normal file
View File

@@ -0,0 +1,40 @@
#ifndef ORIENTATION_SET_WIDGET_H
#define ORIENTATION_SET_WIDGET_H
#include <QtGui>
#include "orientationset.h"
class OrientationSetWidget : public QWidget {
Q_OBJECT
// constructeurs, destructeur
public:
OrientationSetWidget(QWidget * = 0);
virtual ~OrientationSetWidget() {};
private:
OrientationSetWidget(const OrientationSetWidget &);
// attributs
private:
OrientationSet ori;
QComboBox *north_orientation;
QComboBox *east_orientation;
QComboBox *south_orientation;
QComboBox *west_orientation;
QRadioButton *north_default;
QRadioButton *east_default;
QRadioButton *south_default;
QRadioButton *west_default;
QButtonGroup *default_radios;
// methodes
public:
OrientationSet orientationSet() const;
void setOrientationSet(const OrientationSet &);
private:
void updateForm();
public slots:
void slot_defaultChanged(QAbstractButton *);
void updateOrientationSet();
};
#endif