mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02: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
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#ifndef _QET_H
|
|
#define _QET_H
|
|
#include <QtXml>
|
|
/**
|
|
Ce fichier contient des fonctions utiles pouvant etre appelees depuis
|
|
n'importe ou. Il contient egalement des enums utilises dans plusieurs
|
|
classes de l'application
|
|
*/
|
|
namespace QET {
|
|
/// version de QElectroTech
|
|
const QString version = "0.1";
|
|
/// Orientation (utilise pour les bornes mais aussi pour les elements)
|
|
enum Orientation {North, East, South, West};
|
|
/// Types de segment de conducteurs
|
|
enum ConductorSegmentType { Horizontal = 1, Vertical = 2, Both = 3 };
|
|
QET::Orientation nextOrientation(QET::Orientation);
|
|
QET::Orientation previousOrientation(QET::Orientation);
|
|
QET::Orientation orientationFromString(const QString &);
|
|
QString orientationToString(QET::Orientation);
|
|
bool surLeMemeAxe(QET::Orientation, QET::Orientation);
|
|
bool estHorizontale(QET::Orientation);
|
|
bool estVerticale(QET::Orientation);
|
|
bool attributeIsAnInteger(const QDomElement &, QString , int * = NULL);
|
|
bool attributeIsAReal(const QDomElement &, QString , double * = NULL);
|
|
QString ElementsAndConductorsSentence(int, int);
|
|
}
|
|
#endif
|