mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Mise a jour du displayedVersion et du splash screen
Purge des caracteres non-ASCII dans les sources Mise a jour du fichier de configuration Doxyfile, pour generer la documentation git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@582 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
be45e7ac10
commit
635e720181
BIN
ico/splash.png
BIN
ico/splash.png
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 26 KiB |
@ -21,7 +21,7 @@
|
||||
class QLabel;
|
||||
/**
|
||||
Cette classe represente la boite de dialogue
|
||||
« A propos de QElectroTech »
|
||||
"A propos de QElectroTech".
|
||||
*/
|
||||
class AboutQET : public QDialog {
|
||||
Q_OBJECT
|
||||
|
@ -361,40 +361,40 @@ void Conductor::priv_calculeConductor(const QPointF &p1, QET::Orientation o1, co
|
||||
if (depart.y() < arrivee.y()) {
|
||||
// trajet descendant
|
||||
if ((ori_depart == QET::North && (ori_arrivee == QET::South || ori_arrivee == QET::West)) || (ori_depart == QET::East && ori_arrivee == QET::West)) {
|
||||
// cas « 3 »
|
||||
// cas "3"
|
||||
int ligne_inter_x = qRound(depart.x() + arrivee.x()) / 2;
|
||||
while (ligne_inter_x % Diagram::xGrid) -- ligne_inter_x;
|
||||
points << QPointF(ligne_inter_x, depart.y());
|
||||
points << QPointF(ligne_inter_x, arrivee.y());
|
||||
} else if ((ori_depart == QET::South && (ori_arrivee == QET::North || ori_arrivee == QET::East)) || (ori_depart == QET::West && ori_arrivee == QET::East)) {
|
||||
// cas « 4 »
|
||||
// cas "4"
|
||||
int ligne_inter_y = qRound(depart.y() + arrivee.y()) / 2;
|
||||
while (ligne_inter_y % Diagram::yGrid) -- ligne_inter_y;
|
||||
points << QPointF(depart.x(), ligne_inter_y);
|
||||
points << QPointF(arrivee.x(), ligne_inter_y);
|
||||
} else if ((ori_depart == QET::North || ori_depart == QET::East) && (ori_arrivee == QET::North || ori_arrivee == QET::East)) {
|
||||
points << QPointF(arrivee.x(), depart.y()); // cas « 2 »
|
||||
points << QPointF(arrivee.x(), depart.y()); // cas "2"
|
||||
} else {
|
||||
points << QPointF(depart.x(), arrivee.y()); // cas « 1 »
|
||||
points << QPointF(depart.x(), arrivee.y()); // cas "1"
|
||||
}
|
||||
} else {
|
||||
// trajet montant
|
||||
if ((ori_depart == QET::West && (ori_arrivee == QET::East || ori_arrivee == QET::South)) || (ori_depart == QET::North && ori_arrivee == QET::South)) {
|
||||
// cas « 3 »
|
||||
// cas "3"
|
||||
int ligne_inter_y = qRound(depart.y() + arrivee.y()) / 2;
|
||||
while (ligne_inter_y % Diagram::yGrid) -- ligne_inter_y;
|
||||
points << QPointF(depart.x(), ligne_inter_y);
|
||||
points << QPointF(arrivee.x(), ligne_inter_y);
|
||||
} else if ((ori_depart == QET::East && (ori_arrivee == QET::West || ori_arrivee == QET::North)) || (ori_depart == QET::South && ori_arrivee == QET::North)) {
|
||||
// cas « 4 »
|
||||
// cas "4"
|
||||
int ligne_inter_x = qRound(depart.x() + arrivee.x()) / 2;
|
||||
while (ligne_inter_x % Diagram::xGrid) -- ligne_inter_x;
|
||||
points << QPointF(ligne_inter_x, depart.y());
|
||||
points << QPointF(ligne_inter_x, arrivee.y());
|
||||
} else if ((ori_depart == QET::West || ori_depart == QET::North) && (ori_arrivee == QET::West || ori_arrivee == QET::North)) {
|
||||
points << QPointF(depart.x(), arrivee.y()); // cas « 2 »
|
||||
points << QPointF(depart.x(), arrivee.y()); // cas "2"
|
||||
} else {
|
||||
points << QPointF(arrivee.x(), depart.y()); // cas « 1 »
|
||||
points << QPointF(arrivee.x(), depart.y()); // cas "1"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -285,7 +285,7 @@ QDomDocument Diagram::toXml(bool diagram) {
|
||||
QList<Conductor *> list_conductors;
|
||||
QList<DiagramTextItem *> list_texts;
|
||||
|
||||
// Determine les elements a « XMLiser »
|
||||
// Determine les elements a "XMLiser"
|
||||
foreach(QGraphicsItem *qgi, items()) {
|
||||
if (Element *elmt = qgraphicsitem_cast<Element *>(qgi)) {
|
||||
if (diagram) list_elements << elmt;
|
||||
|
@ -176,7 +176,7 @@ class Diagram : public QGraphicsScene {
|
||||
};
|
||||
|
||||
/**
|
||||
Permet d'ajouter ou enlever le « poseur de conducteur », c'est-a-dire la
|
||||
Permet d'ajouter ou enlever le "poseur de conducteur", c'est-a-dire la
|
||||
droite en pointilles qui apparait lorsqu'on pose un conducteur entre deux
|
||||
bornes.
|
||||
@param pf true pour ajouter le poseur de conducteur, false pour l'enlever
|
||||
|
@ -27,7 +27,7 @@ namespace QET {
|
||||
/// version de QElectroTech (utilisee pour estampiller les projets et elements)
|
||||
const QString version = "0.2";
|
||||
/// version affichee de QElectroTech
|
||||
const QString displayedVersion = version;
|
||||
const QString displayedVersion = "0.2a";
|
||||
QString license();
|
||||
/// Orientation (utilise pour les bornes mais aussi pour les elements)
|
||||
enum Orientation {North, East, South, West};
|
||||
|
@ -819,7 +819,7 @@ void QETApp::initConfiguration() {
|
||||
Construit l'icone dans le systray et son menu
|
||||
*/
|
||||
void QETApp::initSystemTray() {
|
||||
setSplashScreenStep(tr("Chargement... icône du systray", "splash screen caption"));
|
||||
setSplashScreenStep(tr("Chargement... ic\364ne du systray", "splash screen caption"));
|
||||
// initialisation des menus de l'icone dans le systray
|
||||
menu_systray = new QMenu(tr("QElectroTech", "systray menu title"));
|
||||
|
||||
|
@ -174,7 +174,7 @@ void QETDiagramEditor::toggleFullScreen() {
|
||||
}
|
||||
|
||||
/**
|
||||
Dialogue « A propos de QElectroTech »
|
||||
Dialogue "A propos de QElectroTech"
|
||||
Le dialogue en question est cree lors du premier appel de cette fonction.
|
||||
En consequence, sa premiere apparition n'est pas immediate. Par la suite,
|
||||
le dialogue n'a pas a etre recree et il apparait instantanement. Il est
|
||||
|
@ -31,8 +31,8 @@ class RecentFiles;
|
||||
Cette classe represente la fenetre principale de QElectroTech et,
|
||||
ipso facto, la plus grande partie de l'interface graphique de QElectroTech.
|
||||
Il s'agit d'un objet QMainWindow avec un QWorkSpace contenant des objets
|
||||
« DiagramView » en guise de widget central et un « Panel d'Elements » en
|
||||
guise de widget « Dock ».
|
||||
"DiagramView" en guise de widget central et un "Panel d'Elements" en
|
||||
guise de widget "Dock".
|
||||
*/
|
||||
class QETDiagramEditor : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
@ -25,7 +25,7 @@ class Conductor;
|
||||
class Diagram;
|
||||
class Element;
|
||||
/**
|
||||
Classe modelisant la Ť borne ť d'un appareil, c'est-a-dire un
|
||||
Classe modelisant la "borne" d'un appareil, c'est-a-dire un
|
||||
branchement possible pour un Conducteur.
|
||||
*/
|
||||
class Terminal : public QGraphicsItem {
|
||||
|
Loading…
x
Reference in New Issue
Block a user