mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Translate comment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2736 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
@param parent Le QWidget parent de la boite de dialogue
|
||||
@param parent The parent of the dialog QWidget
|
||||
*/
|
||||
AboutQET::AboutQET(QWidget *parent) : QDialog(parent) {
|
||||
// Titre, taille, comportement...
|
||||
@@ -60,7 +60,7 @@ AboutQET::~AboutQET() {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le titre QElectroTech avec son icone
|
||||
@return The title QElectroTech with its icon
|
||||
*/
|
||||
QWidget *AboutQET::title() const {
|
||||
QWidget *icon_and_title = new QWidget();
|
||||
@@ -87,7 +87,7 @@ QWidget *AboutQET::title() const {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le widget contenu par l'onglet "A propos"
|
||||
@return The widget content tab "About"
|
||||
*/
|
||||
QWidget *AboutQET::aboutTab() const {
|
||||
QLabel *about = new QLabel(
|
||||
@@ -106,7 +106,7 @@ QWidget *AboutQET::aboutTab() const {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le widget contenu par l'onglet "Auteurs"
|
||||
@return The widget content by "Authors" tab
|
||||
*/
|
||||
QWidget *AboutQET::authorsTab() const {
|
||||
QLabel *authors = new QLabel();
|
||||
@@ -122,7 +122,7 @@ QWidget *AboutQET::authorsTab() const {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le widget contenu par l'onglet "Traducteurs"
|
||||
@return The widget content via the "Translators" tab
|
||||
*/
|
||||
QWidget *AboutQET::translatorsTab() const {
|
||||
QLabel *translators = new QLabel();
|
||||
@@ -158,7 +158,7 @@ QWidget *AboutQET::translatorsTab() const {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le widget contenu par l'onglet "Contributeurs"
|
||||
@return The widget content via the "Contributors" tab
|
||||
*/
|
||||
QWidget *AboutQET::contributorsTab() const {
|
||||
QLabel *contributors = new QLabel();
|
||||
@@ -184,7 +184,7 @@ QWidget *AboutQET::contributorsTab() const {
|
||||
}
|
||||
|
||||
/**
|
||||
@return Le widget contenu par l'onglet "Accord de Licence"
|
||||
@return The widget content via the "License Agreement" tab
|
||||
*/
|
||||
QWidget *AboutQET::licenseTab() const {
|
||||
QWidget *license = new QWidget();
|
||||
@@ -205,11 +205,11 @@ QWidget *AboutQET::licenseTab() const {
|
||||
}
|
||||
|
||||
/**
|
||||
Ajoute une personne a la liste des auteurs
|
||||
@param label QLabel auquel sera ajoute la personne
|
||||
@param name Nom de la personne
|
||||
@param email Adresse e-mail de la personne
|
||||
@param work Fonction / travail effectue par la personne
|
||||
Adds a person to the list of authors
|
||||
@param label QLabel which will add the person
|
||||
@param name Name of person
|
||||
@param email E-mail address of the person
|
||||
@param work Function / work done by the person
|
||||
*/
|
||||
void AboutQET::addAuthor(QLabel *label, const QString &name, const QString &email, const QString &work) const {
|
||||
QString new_text = label -> text();
|
||||
|
||||
@@ -38,105 +38,105 @@ BasicMoveElementsHandler::~BasicMoveElementsHandler() {
|
||||
}
|
||||
|
||||
/**
|
||||
@param action Action a renvoyer si un item existe deja
|
||||
@param action Action return if an item already exists
|
||||
*/
|
||||
void BasicMoveElementsHandler::setActionIfItemAlreadyExists(QET::Action action) {
|
||||
already_exists_ = action;
|
||||
}
|
||||
|
||||
/**
|
||||
@param action Action a renvoyer si un item n'est pas lisible
|
||||
@param action Action return if an item is not readable
|
||||
*/
|
||||
void BasicMoveElementsHandler::setActionIfItemIsNotReadable(QET::Action action) {
|
||||
not_readable_ = action;
|
||||
}
|
||||
|
||||
/**
|
||||
@param action Action a renvoyer si un item n'est pas accessible en ecriture
|
||||
@param action Action return if an item is not writable
|
||||
*/
|
||||
void BasicMoveElementsHandler::setActionIfItemIsNotWritable(QET::Action action) {
|
||||
not_writable_ = action;
|
||||
}
|
||||
|
||||
/**
|
||||
@param action Action a renvoyer si un item provoque une erreur
|
||||
@param action Action if a return item causes an error
|
||||
*/
|
||||
void BasicMoveElementsHandler::setActionIfItemTriggersAnError(QET::Action action) {
|
||||
error_ = action;
|
||||
}
|
||||
|
||||
/**
|
||||
@param name Nom a renvoyer pour une eventuelle operation de renommage
|
||||
Il est toutefois deconseille de proceder a un renommage systematique, vu que
|
||||
cette propriete est invariable.
|
||||
@param name Name refer to a possible renaming operation
|
||||
However, it is not recommended to proceed to a systematic renaming, as
|
||||
this property is invariable.
|
||||
*/
|
||||
void BasicMoveElementsHandler::setNameForRenamingOperation(const QString &name) {
|
||||
rename_ = name;
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si la categorie cible existe deja
|
||||
@return the action to be performed if the target category already exists
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::categoryAlreadyExists(ElementsCategory *, ElementsCategory *) {
|
||||
return(already_exists_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si l'element cible existe deja
|
||||
@return the action performed if the target element already exists
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::elementAlreadyExists(ElementDefinition *, ElementDefinition *) {
|
||||
return(already_exists_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si la categorie existe deja
|
||||
@return the action to take if the category already exists
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::categoryIsNotReadable(ElementsCategory *) {
|
||||
return(not_readable_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si l'element existe deja
|
||||
@return the action to take if the element already exists
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::elementIsNotReadable(ElementDefinition *) {
|
||||
return(not_readable_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si la categorie cible n'est pas accessible
|
||||
en ecriture
|
||||
@return the action to be performed if the target category is not accessible
|
||||
in writing
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::categoryIsNotWritable(ElementsCategory *) {
|
||||
return(not_writable_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer si l'element cible n'est pas accessible
|
||||
en ecriture
|
||||
@return the action performed if the target element is not accessible
|
||||
in writing
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::elementIsNotWritable(ElementDefinition *) {
|
||||
return(not_writable_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer lorsque l'erreur decrite dans la QString
|
||||
s'est produite avec la categorie indiquee
|
||||
@return the action to be performed when the error described in the QString
|
||||
occurred with dieters category
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::errorWithACategory(ElementsCategory *, const QString &) {
|
||||
return(error_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return l'action a effectuer lorsque l'erreur decrite dans la QString
|
||||
s'est produite avec l'element indique
|
||||
@return the action to be performed when the error described in the QString
|
||||
occurred with the element indicates
|
||||
*/
|
||||
QET::Action BasicMoveElementsHandler::errorWithAnElement(ElementDefinition *, const QString &) {
|
||||
return(error_);
|
||||
}
|
||||
|
||||
/**
|
||||
@return le nom a utiliser pour le renommage si une methode de cet objet
|
||||
a precedemment renvoye QET::Rename.
|
||||
@return the name to use for renaming if a method of this object
|
||||
has previously sent back QET::Rename.
|
||||
*/
|
||||
QString BasicMoveElementsHandler::nameForRenamingOperation() {
|
||||
return(rename_);
|
||||
|
||||
Reference in New Issue
Block a user