mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
Made a more distinctive use of french words "projet", "schéma" and "folio" in the GUI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3837 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -69,7 +69,7 @@ NewDiagramPage::NewDiagramPage(QETProject *project, QWidget *parent) :
|
|||||||
diagram_layout -> addWidget(bpw);
|
diagram_layout -> addWidget(bpw);
|
||||||
diagram_layout -> addWidget(ipw);
|
diagram_layout -> addWidget(ipw);
|
||||||
|
|
||||||
tab_widget -> addTab (diagram_widget, tr("Schéma"));
|
tab_widget -> addTab (diagram_widget, tr("Folio"));
|
||||||
tab_widget -> addTab (cpw, tr("Conducteur"));
|
tab_widget -> addTab (cpw, tr("Conducteur"));
|
||||||
tab_widget -> addTab (rpw, tr("Reports de folio"));
|
tab_widget -> addTab (rpw, tr("Reports de folio"));
|
||||||
tab_widget -> addTab (xrefpw, tr("Références croisées"));
|
tab_widget -> addTab (xrefpw, tr("Références croisées"));
|
||||||
@@ -170,7 +170,7 @@ QIcon NewDiagramPage::icon() const {
|
|||||||
* @return title of this page
|
* @return title of this page
|
||||||
*/
|
*/
|
||||||
QString NewDiagramPage::title() const {
|
QString NewDiagramPage::title() const {
|
||||||
if (m_project) return(tr("Nouveau schéma", "configuration page title"));
|
if (m_project) return(tr("Nouveau folio", "configuration page title"));
|
||||||
return(tr("Nouveau projet", "configuration page title"));
|
return(tr("Nouveau projet", "configuration page title"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -894,7 +894,7 @@ void ChangeTitleBlockCommand::redo() {
|
|||||||
@param parent QUndoCommand parent
|
@param parent QUndoCommand parent
|
||||||
*/
|
*/
|
||||||
ChangeBorderCommand::ChangeBorderCommand(Diagram *dia, const BorderProperties &old_bp, const BorderProperties &new_bp, QUndoCommand *parent) :
|
ChangeBorderCommand::ChangeBorderCommand(Diagram *dia, const BorderProperties &old_bp, const BorderProperties &new_bp, QUndoCommand *parent) :
|
||||||
QUndoCommand(QObject::tr("modifier les dimensions du schéma", "undo caption"), parent),
|
QUndoCommand(QObject::tr("modifier les dimensions du folio", "undo caption"), parent),
|
||||||
diagram(dia),
|
diagram(dia),
|
||||||
old_properties(old_bp),
|
old_properties(old_bp),
|
||||||
new_properties(new_bp)
|
new_properties(new_bp)
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ void DiagramsChooser::updateList() {
|
|||||||
foreach(Diagram *diagram, project_ -> diagrams()) {
|
foreach(Diagram *diagram, project_ -> diagrams()) {
|
||||||
// titre du schema
|
// titre du schema
|
||||||
QString diagram_title = diagram -> title();
|
QString diagram_title = diagram -> title();
|
||||||
if (diagram_title.isEmpty()) diagram_title = tr("Schéma sans titre");
|
if (diagram_title.isEmpty()) diagram_title = tr("Folio sans titre");
|
||||||
|
|
||||||
QCheckBox *checkbox = new QCheckBox(diagram_title);
|
QCheckBox *checkbox = new QCheckBox(diagram_title);
|
||||||
checkbox -> setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum));
|
checkbox -> setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum));
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ void DiagramView::zoomInSlowly() {
|
|||||||
*/
|
*/
|
||||||
void DiagramView::zoomOutSlowly() {
|
void DiagramView::zoomOutSlowly() {
|
||||||
scale(0.98, 0.98);
|
scale(0.98, 0.98);
|
||||||
// Interdit le dezoome plus grand que le schéma
|
// Interdit le dezoome plus grand que le folio
|
||||||
if ((mapFromScene(0,0).rx() == 0) && (mapFromScene(0,0).ry() == 0)){
|
if ((mapFromScene(0,0).rx() == 0) && (mapFromScene(0,0).ry() == 0)){
|
||||||
fitInView(sceneRect(), Qt::KeepAspectRatio);
|
fitInView(sceneRect(), Qt::KeepAspectRatio);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ QTreeWidgetItem *ElementsPanel::updateTemplateItem(QTreeWidgetItem *tb_template_
|
|||||||
item -> setStatusTip(
|
item -> setStatusTip(
|
||||||
0,
|
0,
|
||||||
tr(
|
tr(
|
||||||
"Cliquer-déposez ce modèle de cartouche sur un schéma pour l'y appliquer.",
|
"Glissez-déposez ce modèle de cartouche sur un folio pour l'y appliquer.",
|
||||||
"Status tip displayed when selecting a title block template"
|
"Status tip displayed when selecting a title block template"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -482,7 +482,7 @@ QTreeWidgetItem *ElementsPanel::updateElementItem(QTreeWidgetItem *element_qtwi,
|
|||||||
QTreeWidgetItem *item = GenericPanel::updateElementItem(element_qtwi, element, options, freshly_created);
|
QTreeWidgetItem *item = GenericPanel::updateElementItem(element_qtwi, element, options, freshly_created);
|
||||||
|
|
||||||
QString status_tip = tr(
|
QString status_tip = tr(
|
||||||
"Cliquer-déposez cet élément sur un schéma pour y insérer un élément « %1 », double-cliquez dessus pour l'éditer",
|
"Glissez-déposez cet élément « %1 » sur un folio pour l'y insérer, double-cliquez dessus pour l'éditer",
|
||||||
"Status tip displayed in the status bar when selecting an element"
|
"Status tip displayed in the status bar when selecting an element"
|
||||||
);
|
);
|
||||||
item -> setStatusTip(0, status_tip.arg(item -> text(0)));
|
item -> setStatusTip(0, status_tip.arg(item -> text(0)));
|
||||||
|
|||||||
@@ -67,14 +67,14 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
|
|||||||
prj_activate = new QAction(QET::Icons::ProjectFile, tr("Basculer vers ce projet"), this);
|
prj_activate = new QAction(QET::Icons::ProjectFile, tr("Basculer vers ce projet"), this);
|
||||||
prj_close = new QAction(QET::Icons::DocumentClose, tr("Fermer ce projet"), this);
|
prj_close = new QAction(QET::Icons::DocumentClose, tr("Fermer ce projet"), this);
|
||||||
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this);
|
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this);
|
||||||
prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du schéma"), this);
|
prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du folio"), this);
|
||||||
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un schéma"), this);
|
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un folio"), this);
|
||||||
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer ce schéma"), this);
|
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer ce folio"), this);
|
||||||
prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Remonter ce schéma"), this);
|
prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Remonter ce folio"), this);
|
||||||
prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Abaisser ce schéma"), this);
|
prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio"), this);
|
||||||
prj_move_diagram_upx10 = new QAction(QET::Icons::GoUp, tr("Remonter ce schéma x10"), this);
|
prj_move_diagram_upx10 = new QAction(QET::Icons::GoUp, tr("Remonter ce folio x10"), this);
|
||||||
prj_move_diagram_top = new QAction(QET::Icons::GoUp, tr("Remonter ce schéma au debut"), this);
|
prj_move_diagram_top = new QAction(QET::Icons::GoUp, tr("Remonter ce folio au debut"), this);
|
||||||
prj_move_diagram_downx10 = new QAction(QET::Icons::GoDown, tr("Abaisser ce schéma x10"), this);
|
prj_move_diagram_downx10 = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio x10"), this);
|
||||||
tbt_add = new QAction(QET::Icons::TitleBlock, tr("Nouveau modèle"), this);
|
tbt_add = new QAction(QET::Icons::TitleBlock, tr("Nouveau modèle"), this);
|
||||||
tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Éditer ce modèle"), this);
|
tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Éditer ce modèle"), this);
|
||||||
tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Supprimer ce modèle"), this);
|
tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Supprimer ce modèle"), this);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ ExportDialog::ExportDialog(QETProject *project, QWidget *parent) : QDialog(paren
|
|||||||
// la taille minimale du dialogue est fixee
|
// la taille minimale du dialogue est fixee
|
||||||
setMinimumSize(800, 390);
|
setMinimumSize(800, 390);
|
||||||
resize(minimumSize());
|
resize(minimumSize());
|
||||||
setWindowTitle(tr("Exporter les schémas du projet", "window title"));
|
setWindowTitle(tr("Exporter les folios du projet", "window title"));
|
||||||
|
|
||||||
// options d'export, dans le widget epw
|
// options d'export, dans le widget epw
|
||||||
epw = new ExportPropertiesWidget(default_export_properties);
|
epw = new ExportPropertiesWidget(default_export_properties);
|
||||||
@@ -72,7 +72,7 @@ ExportDialog::ExportDialog(QETProject *project, QWidget *parent) : QDialog(paren
|
|||||||
// disposition des elements
|
// disposition des elements
|
||||||
|
|
||||||
QHBoxLayout *hLayout = new QHBoxLayout();
|
QHBoxLayout *hLayout = new QHBoxLayout();
|
||||||
hLayout -> addWidget(new QLabel(tr("Choisissez les schémas que vous désirez exporter ainsi que leurs dimensions :")));
|
hLayout -> addWidget(new QLabel(tr("Choisissez les folios que vous désirez exporter ainsi que leurs dimensions :")));
|
||||||
selectAll = new QPushButton();
|
selectAll = new QPushButton();
|
||||||
deSelectAll = new QPushButton();
|
deSelectAll = new QPushButton();
|
||||||
selectAll -> setText(tr("Tout cocher"));
|
selectAll -> setText(tr("Tout cocher"));
|
||||||
@@ -138,7 +138,7 @@ QWidget *ExportDialog::initDiagramsListPart() {
|
|||||||
diagrams_list_layout_ = new QGridLayout();
|
diagrams_list_layout_ = new QGridLayout();
|
||||||
|
|
||||||
int line_count = 0;
|
int line_count = 0;
|
||||||
diagrams_list_layout_ -> addWidget(new QLabel(tr("Schéma")), line_count, 1, Qt::AlignHCenter | Qt::AlignVCenter);
|
diagrams_list_layout_ -> addWidget(new QLabel(tr("Titre du folio")), line_count, 1, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
diagrams_list_layout_ -> addWidget(new QLabel(tr("Nom de fichier")), line_count, 2, Qt::AlignHCenter | Qt::AlignVCenter);
|
diagrams_list_layout_ -> addWidget(new QLabel(tr("Nom de fichier")), line_count, 2, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
diagrams_list_layout_ -> addWidget(new QLabel(tr("Dimensions")), line_count, 3, Qt::AlignHCenter | Qt::AlignVCenter);
|
diagrams_list_layout_ -> addWidget(new QLabel(tr("Dimensions")), line_count, 3, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||||
|
|
||||||
@@ -769,7 +769,7 @@ void ExportDialog::slot_export() {
|
|||||||
tr("Noms des fichiers cibles", "message box title"),
|
tr("Noms des fichiers cibles", "message box title"),
|
||||||
tr(
|
tr(
|
||||||
"Vous devez entrer un nom de fichier non vide et unique pour chaque "
|
"Vous devez entrer un nom de fichier non vide et unique pour chaque "
|
||||||
"schéma à exporter.",
|
"folio à exporter.",
|
||||||
"message box content"
|
"message box content"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -1031,7 +1031,7 @@ ExportDialog::ExportDiagramLine::ExportDiagramLine(Diagram *dia, QSize diagram_s
|
|||||||
|
|
||||||
// titre et nom de fichier du schema
|
// titre et nom de fichier du schema
|
||||||
QString diagram_title = diagram -> title();
|
QString diagram_title = diagram -> title();
|
||||||
if (diagram_title.isEmpty()) diagram_title = QObject::tr("Schéma sans titre");
|
if (diagram_title.isEmpty()) diagram_title = QObject::tr("Folio sans titre");
|
||||||
QString diagram_filename = diagram -> title();
|
QString diagram_filename = diagram -> title();
|
||||||
if (diagram_filename.isEmpty()) diagram_filename = QObject::tr("schema");
|
if (diagram_filename.isEmpty()) diagram_filename = QObject::tr("schema");
|
||||||
diagram_filename = QET::stringToFileName(diagram_filename);
|
diagram_filename = QET::stringToFileName(diagram_filename);
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ QTreeWidgetItem *GenericPanel::updateProjectItem(QTreeWidgetItem *project_qtwi,
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
project_qtwi -> setToolTip(0, final_tooltip);
|
project_qtwi -> setToolTip(0, final_tooltip);
|
||||||
QString project_whatsthis = tr("Ceci est un projet QElectroTech, c'est-à-dire un fichier d'extension .qet regroupant plusieurs schémas/folios. Il embarque également les éléments et modèles de cartouches utilisés dans ces schémas/folios.", "\"What's this\" tip");
|
QString project_whatsthis = tr("Ceci est un projet QElectroTech, c'est-à-dire un fichier d'extension .qet regroupant plusieurs folios. Il embarque également les éléments et modèles de cartouches utilisés dans ces folios.", "\"What's this\" tip");
|
||||||
project_qtwi -> setWhatsThis(0, project_whatsthis);
|
project_qtwi -> setWhatsThis(0, project_whatsthis);
|
||||||
return(updateItem(project_qtwi, options, freshly_created));
|
return(updateItem(project_qtwi, options, freshly_created));
|
||||||
}
|
}
|
||||||
@@ -365,7 +365,7 @@ QTreeWidgetItem *GenericPanel::updateDiagramItem(QTreeWidgetItem *diagram_qtwi,
|
|||||||
|
|
||||||
QString displayed_title = diagram -> title();
|
QString displayed_title = diagram -> title();
|
||||||
if (displayed_title.isEmpty()) {
|
if (displayed_title.isEmpty()) {
|
||||||
displayed_title = tr("Schéma sans titre", "Fallback label when a diagram has no title");
|
displayed_title = tr("Folio sans titre", "Fallback label when a diagram has no title");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString displayed_label;
|
QString displayed_label;
|
||||||
@@ -543,7 +543,7 @@ QTreeWidgetItem *GenericPanel::updateTemplateItem(QTreeWidgetItem *tb_template_q
|
|||||||
Q_UNUSED(options)
|
Q_UNUSED(options)
|
||||||
tb_template_qtwi -> setText(0, tr("Modèle \"%1\"", "used to display a title block template").arg(tb_template.name()));
|
tb_template_qtwi -> setText(0, tr("Modèle \"%1\"", "used to display a title block template").arg(tb_template.name()));
|
||||||
QString tbt_whatsthis = tr(
|
QString tbt_whatsthis = tr(
|
||||||
"Ceci est un modèle de cartouche, qui peut être appliqué à un schéma.",
|
"Ceci est un modèle de cartouche, qui peut être appliqué à un folio.",
|
||||||
"\"What's this\" tip"
|
"\"What's this\" tip"
|
||||||
);
|
);
|
||||||
tb_template_qtwi -> setWhatsThis(0, tbt_whatsthis);
|
tb_template_qtwi -> setWhatsThis(0, tbt_whatsthis);
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ bool nomenclature::saveToCSVFile() {
|
|||||||
QString nomenclature::getNomenclature() {
|
QString nomenclature::getNomenclature() {
|
||||||
//Process...
|
//Process...
|
||||||
QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n";
|
QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n";
|
||||||
data += tr("Folio") +";"+ tr("Schéma") +";"+ tr("Désignation qet")+";"+ tr("Label") +";"+ tr("Désignation")+";"+ tr("Commentaire") +";"+ tr("Fabricant") +";"+ tr("Reference") +";"+ tr("Machine-reference")+"\n";
|
data += tr("N° de folio") +";"+ tr("Titre de folio") +";"+ tr("Désignation qet")+";"+ tr("Label") +";"+ tr("Désignation")+";"+ tr("Commentaire") +";"+ tr("Fabricant") +";"+ tr("Reference") +";"+ tr("Machine-reference")+"\n";
|
||||||
|
|
||||||
if(m_list_diagram.isEmpty()) return data;
|
if(m_list_diagram.isEmpty()) return data;
|
||||||
|
|
||||||
|
|||||||
@@ -160,10 +160,10 @@ QString ProjectMainConfigPage::projectTitle() const {
|
|||||||
void ProjectMainConfigPage::initWidgets() {
|
void ProjectMainConfigPage::initWidgets() {
|
||||||
title_label_ = new QLabel(tr("Titre du projet :", "label when configuring"));
|
title_label_ = new QLabel(tr("Titre du projet :", "label when configuring"));
|
||||||
title_value_ = new QLineEdit();
|
title_value_ = new QLineEdit();
|
||||||
title_information_ = new QLabel(tr("Ce titre sera disponible pour tous les schémas de ce projet en tant que %projecttitle.", "informative label"));
|
title_information_ = new QLabel(tr("Ce titre sera disponible pour tous les folios de ce projet en tant que %projecttitle.", "informative label"));
|
||||||
project_variables_label_ = new QLabel(
|
project_variables_label_ = new QLabel(
|
||||||
tr(
|
tr(
|
||||||
"Vous pouvez définir ci-dessous des propriétés personnalisées qui seront disponibles pour tous les schémas de ce projet (typiquement pour les cartouches).",
|
"Vous pouvez définir ci-dessous des propriétés personnalisées qui seront disponibles pour tous les folios de ce projet (typiquement pour les cartouches).",
|
||||||
"informative label"
|
"informative label"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ QString ProjectView::askUserForFilePath(bool assign) {
|
|||||||
this,
|
this,
|
||||||
tr("Enregistrer sous", "dialog title"),
|
tr("Enregistrer sous", "dialog title"),
|
||||||
project_ -> currentDir(),
|
project_ -> currentDir(),
|
||||||
tr("Schéma QElectroTech (*.qet)", "filetypes allowed when saving a diagram file")
|
tr("Projet QElectroTech (*.qet)", "filetypes allowed when saving a project file")
|
||||||
);
|
);
|
||||||
|
|
||||||
// if no filepath is provided, return an empty string
|
// if no filepath is provided, return an empty string
|
||||||
@@ -368,8 +368,8 @@ void ProjectView::removeDiagram(DiagramView *diagram_view) {
|
|||||||
//Ask confirmation to user.
|
//Ask confirmation to user.
|
||||||
int answer = QET::QetMessageBox::question(
|
int answer = QET::QetMessageBox::question(
|
||||||
this,
|
this,
|
||||||
tr("Supprimer le schéma ?", "message box title"),
|
tr("Supprimer le folio ?", "message box title"),
|
||||||
tr("Êtes-vous sûr de vouloir supprimer ce schéma du projet ? Ce changement est irréversible.", "message box content"),
|
tr("Êtes-vous sûr de vouloir supprimer ce folio du projet ? Ce changement est irréversible.", "message box content"),
|
||||||
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,
|
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,
|
||||||
QMessageBox::No
|
QMessageBox::No
|
||||||
);
|
);
|
||||||
@@ -750,7 +750,7 @@ int ProjectView::cleanProject() {
|
|||||||
Initialize actions for this widget.
|
Initialize actions for this widget.
|
||||||
*/
|
*/
|
||||||
void ProjectView::initActions() {
|
void ProjectView::initActions() {
|
||||||
add_new_diagram_ = new QAction(QET::Icons::AddFolio, tr("Ajouter un schéma"), this);
|
add_new_diagram_ = new QAction(QET::Icons::AddFolio, tr("Ajouter un folio"), this);
|
||||||
connect(add_new_diagram_, SIGNAL(triggered()), this, SLOT(addNewDiagram()));
|
connect(add_new_diagram_, SIGNAL(triggered()), this, SLOT(addNewDiagram()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -765,7 +765,7 @@ void ProjectView::initWidgets() {
|
|||||||
fallback_widget_ = new QWidget();
|
fallback_widget_ = new QWidget();
|
||||||
fallback_label_ = new QLabel(
|
fallback_label_ = new QLabel(
|
||||||
tr(
|
tr(
|
||||||
"Ce projet ne contient aucun schéma",
|
"Ce projet ne contient aucun folio",
|
||||||
"label displayed when a project contains no diagram"
|
"label displayed when a project contains no diagram"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ QETApp::QETApp(int &argc, char **argv) :
|
|||||||
|
|
||||||
// on ouvre soit les fichiers passes en parametre soit un nouvel editeur de projet
|
// on ouvre soit les fichiers passes en parametre soit un nouvel editeur de projet
|
||||||
if (qet_arguments_.files().isEmpty()) {
|
if (qet_arguments_.files().isEmpty()) {
|
||||||
setSplashScreenStep(tr("Chargement... Éditeur de schémas", "splash screen caption"));
|
setSplashScreenStep(tr("Chargement... Éditeur de schéma", "splash screen caption"));
|
||||||
new QETDiagramEditor();
|
new QETDiagramEditor();
|
||||||
} else {
|
} else {
|
||||||
setSplashScreenStep(tr("Chargement... Ouverture des fichiers", "splash screen caption"));
|
setSplashScreenStep(tr("Chargement... Ouverture des fichiers", "splash screen caption"));
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ void QETDiagramEditor::setUpUndoStack() {
|
|||||||
|
|
||||||
undo_view -> setEmptyLabel (tr("Aucune modification"));
|
undo_view -> setEmptyLabel (tr("Aucune modification"));
|
||||||
undo_view -> setStatusTip (tr("Cliquez sur une action pour revenir en arrière dans l'édition de votre schéma", "Status tip"));
|
undo_view -> setStatusTip (tr("Cliquez sur une action pour revenir en arrière dans l'édition de votre schéma", "Status tip"));
|
||||||
undo_view -> setWhatsThis (tr("Ce panneau liste les différentes actions effectuées sur le schéma courant. Cliquer sur une action permet de revenir à l'état du schéma juste après son application.", "\"What's this\" tip"));
|
undo_view -> setWhatsThis (tr("Ce panneau liste les différentes actions effectuées sur le folio courant. Cliquer sur une action permet de revenir à l'état du schéma juste après son application.", "\"What's this\" tip"));
|
||||||
|
|
||||||
qdw_undo = new QDockWidget(tr("Annulations", "dock title"), this);
|
qdw_undo = new QDockWidget(tr("Annulations", "dock title"), this);
|
||||||
qdw_undo -> setObjectName("diagram_undo");
|
qdw_undo -> setObjectName("diagram_undo");
|
||||||
@@ -197,10 +197,10 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
m_auto_conductor -> setDisabled (true);
|
m_auto_conductor -> setDisabled (true);
|
||||||
connect(m_auto_conductor, SIGNAL(triggered(bool)), this, SLOT(slot_autoConductor(bool)));
|
connect(m_auto_conductor, SIGNAL(triggered(bool)), this, SLOT(slot_autoConductor(bool)));
|
||||||
|
|
||||||
infos_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du schéma"), this);
|
infos_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du folio"), this);
|
||||||
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this);
|
prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this);
|
||||||
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un schéma"), this);
|
prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un folio"), this);
|
||||||
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer le schéma"), this);
|
prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer le folio"), this);
|
||||||
prj_clean = new QAction(QET::Icons::EditClear, tr("Nettoyer le projet"), this);
|
prj_clean = new QAction(QET::Icons::EditClear, tr("Nettoyer le projet"), this);
|
||||||
prj_diagramList = new QAction(QET::Icons::listDrawings, tr("Ajouter un sommaire"), this);
|
prj_diagramList = new QAction(QET::Icons::listDrawings, tr("Ajouter un sommaire"), this);
|
||||||
prj_nomenclature = new QAction(QET::Icons::DocumentSpreadsheet, tr("Exporter une nomenclature"), this);
|
prj_nomenclature = new QAction(QET::Icons::DocumentSpreadsheet, tr("Exporter une nomenclature"), this);
|
||||||
@@ -225,11 +225,11 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
close_file -> setShortcut( QKeySequence::Close );
|
close_file -> setShortcut( QKeySequence::Close );
|
||||||
save_file -> setShortcut( QKeySequence::Save );
|
save_file -> setShortcut( QKeySequence::Save );
|
||||||
|
|
||||||
new_file -> setStatusTip( tr("Crée un nouveau schéma", "status bar tip") );
|
new_file -> setStatusTip( tr("Crée un nouveau projet", "status bar tip") );
|
||||||
open_file -> setStatusTip( tr("Ouvre un schéma existant", "status bar tip") );
|
open_file -> setStatusTip( tr("Ouvre un projet existant", "status bar tip") );
|
||||||
close_file -> setStatusTip( tr("Ferme le schéma courant", "status bar tip") );
|
close_file -> setStatusTip( tr("Ferme le projet courant", "status bar tip") );
|
||||||
save_file -> setStatusTip( tr("Enregistre le projet courant et tous ses schémas", "status bar tip") );
|
save_file -> setStatusTip( tr("Enregistre le projet courant et tous ses folios", "status bar tip") );
|
||||||
save_file_as -> setStatusTip( tr("Enregistre le project courant avec un autre nom de fichier", "status bar tip") );
|
save_file_as -> setStatusTip( tr("Enregistre le projet courant avec un autre nom de fichier", "status bar tip") );
|
||||||
|
|
||||||
connect(save_file_as, SIGNAL( triggered() ), this, SLOT( saveAs() ) );
|
connect(save_file_as, SIGNAL( triggered() ), this, SLOT( saveAs() ) );
|
||||||
connect(save_file, SIGNAL( triggered() ), this, SLOT( save() ) );
|
connect(save_file, SIGNAL( triggered() ), this, SLOT( save() ) );
|
||||||
@@ -243,10 +243,10 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
QAction *add_row = m_row_column_actions_group.addAction( QET::Icons::EditTableInsertRowUnder, tr("Ajouter une ligne") );
|
QAction *add_row = m_row_column_actions_group.addAction( QET::Icons::EditTableInsertRowUnder, tr("Ajouter une ligne") );
|
||||||
QAction *remove_row = m_row_column_actions_group.addAction( QET::Icons::EditTableDeleteRow, tr("Enlever une ligne") );
|
QAction *remove_row = m_row_column_actions_group.addAction( QET::Icons::EditTableDeleteRow, tr("Enlever une ligne") );
|
||||||
|
|
||||||
add_column -> setStatusTip( tr("Ajoute une colonne au schéma", "status bar tip") );
|
add_column -> setStatusTip( tr("Ajoute une colonne au folio", "status bar tip") );
|
||||||
remove_column -> setStatusTip( tr("Enlève une colonne au schéma", "status bar tip") );
|
remove_column -> setStatusTip( tr("Enlève une colonne au folio", "status bar tip") );
|
||||||
add_row -> setStatusTip( tr("Agrandit le schéma en hauteur", "status bar tip") );
|
add_row -> setStatusTip( tr("Agrandit le folio en hauteur", "status bar tip") );
|
||||||
remove_row -> setStatusTip( tr("Rétrécit le schéma en hauteur", "status bar tip") );
|
remove_row -> setStatusTip( tr("Rétrécit le folio en hauteur", "status bar tip") );
|
||||||
|
|
||||||
connect(add_column, SIGNAL( triggered() ), this, SLOT( slot_addColumn() ) );
|
connect(add_column, SIGNAL( triggered() ), this, SLOT( slot_addColumn() ) );
|
||||||
connect(remove_column, SIGNAL( triggered() ), this, SLOT( slot_removeColumn() ) );
|
connect(remove_column, SIGNAL( triggered() ), this, SLOT( slot_removeColumn() ) );
|
||||||
@@ -272,7 +272,7 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
infos_diagram -> setShortcut( QKeySequence( tr("Ctrl+L") ) );
|
infos_diagram -> setShortcut( QKeySequence( tr("Ctrl+L") ) );
|
||||||
edit_selection -> setShortcut( QKeySequence( tr("Ctrl+E") ) );
|
edit_selection -> setShortcut( QKeySequence( tr("Ctrl+E") ) );
|
||||||
|
|
||||||
delete_selection -> setStatusTip( tr("Enlève les éléments sélectionnés du schéma", "status bar tip") );
|
delete_selection -> setStatusTip( tr("Enlève les éléments sélectionnés du folio", "status bar tip") );
|
||||||
rotate_selection -> setStatusTip( tr("Pivote les éléments et textes sélectionnés", "status bar tip") );
|
rotate_selection -> setStatusTip( tr("Pivote les éléments et textes sélectionnés", "status bar tip") );
|
||||||
rotate_texts -> setStatusTip( tr("Pivote les textes sélectionnés à un angle précis", "status bar tip") );
|
rotate_texts -> setStatusTip( tr("Pivote les textes sélectionnés à un angle précis", "status bar tip") );
|
||||||
find_element -> setStatusTip( tr("Retrouve l'élément sélectionné dans le panel", "status bar tip") );
|
find_element -> setStatusTip( tr("Retrouve l'élément sélectionné dans le panel", "status bar tip") );
|
||||||
@@ -292,8 +292,8 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
select_nothing -> setShortcut( QKeySequence( tr("Ctrl+Shift+A") ) );
|
select_nothing -> setShortcut( QKeySequence( tr("Ctrl+Shift+A") ) );
|
||||||
select_invert -> setShortcut( QKeySequence( tr("Ctrl+I") ) );
|
select_invert -> setShortcut( QKeySequence( tr("Ctrl+I") ) );
|
||||||
|
|
||||||
select_all -> setStatusTip( tr("Sélectionne tous les éléments du schéma", "status bar tip") );
|
select_all -> setStatusTip( tr("Sélectionne tous les éléments du folio", "status bar tip") );
|
||||||
select_nothing -> setStatusTip( tr("Désélectionne tous les éléments du schéma", "status bar tip") );
|
select_nothing -> setStatusTip( tr("Désélectionne tous les éléments du folio", "status bar tip") );
|
||||||
select_invert -> setStatusTip( tr("Désélectionne les éléments sélectionnés et sélectionne les éléments non sélectionnés", "status bar tip") );
|
select_invert -> setStatusTip( tr("Désélectionne les éléments sélectionnés et sélectionne les éléments non sélectionnés", "status bar tip") );
|
||||||
|
|
||||||
connect(select_all, SIGNAL( triggered() ), this, SLOT( slot_selectAll() ) );
|
connect(select_all, SIGNAL( triggered() ), this, SLOT( slot_selectAll() ) );
|
||||||
@@ -314,10 +314,10 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
zoom_fit -> setShortcut( QKeySequence( tr("Ctrl+9") ) );
|
zoom_fit -> setShortcut( QKeySequence( tr("Ctrl+9") ) );
|
||||||
zoom_reset -> setShortcut( QKeySequence( tr("Ctrl+0") ) );
|
zoom_reset -> setShortcut( QKeySequence( tr("Ctrl+0") ) );
|
||||||
|
|
||||||
zoom_in -> setStatusTip(tr("Agrandit le schéma", "status bar tip"));
|
zoom_in -> setStatusTip(tr("Agrandit le folio", "status bar tip"));
|
||||||
zoom_out -> setStatusTip(tr("Rétrécit le schéma", "status bar tip"));
|
zoom_out -> setStatusTip(tr("Rétrécit le folio", "status bar tip"));
|
||||||
zoom_content -> setStatusTip(tr("Adapte le zoom de façon à afficher tout le contenu indépendamment du cadre"));
|
zoom_content -> setStatusTip(tr("Adapte le zoom de façon à afficher tout le contenu du folio indépendamment du cadre"));
|
||||||
zoom_fit -> setStatusTip(tr("Adapte la taille du schéma afin qu'il soit entièrement visible", "status bar tip"));
|
zoom_fit -> setStatusTip(tr("Adapte le zoom exactement sur le cadre du folio", "status bar tip"));
|
||||||
zoom_reset -> setStatusTip(tr("Restaure le zoom par défaut", "status bar tip"));
|
zoom_reset -> setStatusTip(tr("Restaure le zoom par défaut", "status bar tip"));
|
||||||
|
|
||||||
connect( zoom_in, SIGNAL( triggered() ), this, SLOT( slot_zoomIn() ) );
|
connect( zoom_in, SIGNAL( triggered() ), this, SLOT( slot_zoomIn() ) );
|
||||||
@@ -361,22 +361,22 @@ void QETDiagramEditor::setUpActions() {
|
|||||||
prev_window -> setShortcut(QKeySequence::PreviousChild);
|
prev_window -> setShortcut(QKeySequence::PreviousChild);
|
||||||
|
|
||||||
// affichage dans la barre de statut
|
// affichage dans la barre de statut
|
||||||
export_diagram -> setStatusTip(tr("Exporte le schéma courant dans un autre format", "status bar tip"));
|
export_diagram -> setStatusTip(tr("Exporte le folio courant dans un autre format", "status bar tip"));
|
||||||
print -> setStatusTip(tr("Imprime le schéma courant", "status bar tip"));
|
print -> setStatusTip(tr("Imprime un ou plusieurs folios du projet courant", "status bar tip"));
|
||||||
quit_editor -> setStatusTip(tr("Ferme l'application QElectroTech", "status bar tip"));
|
quit_editor -> setStatusTip(tr("Ferme l'application QElectroTech", "status bar tip"));
|
||||||
undo -> setStatusTip(tr("Annule l'action précédente", "status bar tip"));
|
undo -> setStatusTip(tr("Annule l'action précédente", "status bar tip"));
|
||||||
redo -> setStatusTip(tr("Restaure l'action annulée", "status bar tip"));
|
redo -> setStatusTip(tr("Restaure l'action annulée", "status bar tip"));
|
||||||
cut -> setStatusTip(tr("Transfère les éléments sélectionnés dans le presse-papier", "status bar tip"));
|
cut -> setStatusTip(tr("Transfère les éléments sélectionnés dans le presse-papier", "status bar tip"));
|
||||||
copy -> setStatusTip(tr("Copie les éléments sélectionnés dans le presse-papier", "status bar tip"));
|
copy -> setStatusTip(tr("Copie les éléments sélectionnés dans le presse-papier", "status bar tip"));
|
||||||
paste -> setStatusTip(tr("Place les éléments du presse-papier sur le schéma", "status bar tip"));
|
paste -> setStatusTip(tr("Place les éléments du presse-papier sur le folio", "status bar tip"));
|
||||||
conductor_reset -> setStatusTip(tr("Recalcule les chemins des conducteurs sans tenir compte des modifications", "status bar tip"));
|
conductor_reset -> setStatusTip(tr("Recalcule les chemins des conducteurs sans tenir compte des modifications", "status bar tip"));
|
||||||
infos_diagram -> setStatusTip(tr("Édite les informations affichées par le cartouche", "status bar tip"));
|
infos_diagram -> setStatusTip(tr("Édite les propriétés du folio (dimensions, informations du cartouche, propriétés des conducteurs...)", "status bar tip"));
|
||||||
|
|
||||||
windowed_view_mode -> setStatusTip(tr("Présente les différents projets ouverts dans des sous-fenêtres", "status bar tip"));
|
windowed_view_mode -> setStatusTip(tr("Présente les différents projets ouverts dans des sous-fenêtres", "status bar tip"));
|
||||||
tabbed_view_mode -> setStatusTip(tr("Présente les différents projets ouverts des onglets", "status bar tip"));
|
tabbed_view_mode -> setStatusTip(tr("Présente les différents projets ouverts des onglets", "status bar tip"));
|
||||||
|
|
||||||
mode_selection -> setStatusTip(tr("Permet de sélectionner les éléments", "status bar tip"));
|
mode_selection -> setStatusTip(tr("Permet de sélectionner les éléments", "status bar tip"));
|
||||||
mode_visualise -> setStatusTip(tr("Permet de visualiser le schéma sans pouvoir le modifier", "status bar tip"));
|
mode_visualise -> setStatusTip(tr("Permet de visualiser le folio sans pouvoir le modifier", "status bar tip"));
|
||||||
|
|
||||||
tile_window -> setStatusTip(tr("Dispose les fenêtres en mosaïque", "status bar tip"));
|
tile_window -> setStatusTip(tr("Dispose les fenêtres en mosaïque", "status bar tip"));
|
||||||
cascade_window -> setStatusTip(tr("Dispose les fenêtres en cascade", "status bar tip"));
|
cascade_window -> setStatusTip(tr("Dispose les fenêtres en cascade", "status bar tip"));
|
||||||
@@ -707,7 +707,7 @@ bool QETDiagramEditor::openProject() {
|
|||||||
this,
|
this,
|
||||||
tr("Ouvrir un fichier"),
|
tr("Ouvrir un fichier"),
|
||||||
open_dialog_dir.absolutePath(),
|
open_dialog_dir.absolutePath(),
|
||||||
tr("Schémas QElectroTech (*.qet);;Fichiers XML (*.xml);;Tous les fichiers (*)")
|
tr("Projets QElectroTech (*.qet);;Fichiers XML (*.xml);;Tous les fichiers (*)")
|
||||||
);
|
);
|
||||||
if (filepath.isEmpty()) return(false);
|
if (filepath.isEmpty()) return(false);
|
||||||
|
|
||||||
|
|||||||
@@ -169,11 +169,11 @@ void QETPrintPreviewDialog::selectNoDiagram() {
|
|||||||
*/
|
*/
|
||||||
void QETPrintPreviewDialog::build() {
|
void QETPrintPreviewDialog::build() {
|
||||||
preview_ = new QPrintPreviewWidget(printer_);
|
preview_ = new QPrintPreviewWidget(printer_);
|
||||||
diagrams_label_ = new QLabel(tr("Schémas à imprimer :"));
|
diagrams_label_ = new QLabel(tr("Folios à imprimer :"));
|
||||||
diagrams_list_ = new DiagramsChooser(project_);
|
diagrams_list_ = new DiagramsChooser(project_);
|
||||||
diagrams_select_all_ = new QPushButton(tr("Tout cocher"));
|
diagrams_select_all_ = new QPushButton(tr("Tout cocher"));
|
||||||
diagrams_select_none_ = new QPushButton(tr("Tout décocher"));
|
diagrams_select_none_ = new QPushButton(tr("Tout décocher"));
|
||||||
toggle_diagrams_list_ = new QAction(QET::Icons::Diagram, tr("Cacher la liste des schémas"), this);
|
toggle_diagrams_list_ = new QAction(QET::Icons::Diagram, tr("Cacher la liste des folios"), this);
|
||||||
toggle_print_options_ = new QAction(QET::Icons::Configure, tr("Cacher les options d'impression"), this);
|
toggle_print_options_ = new QAction(QET::Icons::Configure, tr("Cacher les options d'impression"), this);
|
||||||
adjust_width_ = new QAction(QET::Icons::ViewFitWidth, tr("Ajuster la largeur"), this);
|
adjust_width_ = new QAction(QET::Icons::ViewFitWidth, tr("Ajuster la largeur"), this);
|
||||||
adjust_page_ = new QAction(QET::Icons::ViewFitWindow, tr("Ajuster la page"), this);
|
adjust_page_ = new QAction(QET::Icons::ViewFitWindow, tr("Ajuster la page"), this);
|
||||||
@@ -244,9 +244,9 @@ void QETPrintPreviewDialog::build() {
|
|||||||
));
|
));
|
||||||
use_full_page_label_ -> setWordWrap(true);
|
use_full_page_label_ -> setWordWrap(true);
|
||||||
use_full_page_label_ -> setContentsMargins(20, 0, 0, 0);
|
use_full_page_label_ -> setContentsMargins(20, 0, 0, 0);
|
||||||
fit_diagram_to_page_ = new QCheckBox(tr("Adapter le schéma à la page"));
|
fit_diagram_to_page_ = new QCheckBox(tr("Adapter le folio à la page"));
|
||||||
fit_diagram_to_page_label_ = new QLabel(tr(
|
fit_diagram_to_page_label_ = new QLabel(tr(
|
||||||
"Si cette option est cochée, le schéma sera agrandi ou "
|
"Si cette option est cochée, le folio sera agrandi ou "
|
||||||
"rétréci de façon à remplir toute la surface imprimable "
|
"rétréci de façon à remplir toute la surface imprimable "
|
||||||
"d'une et une seule page."
|
"d'une et une seule page."
|
||||||
));
|
));
|
||||||
@@ -363,9 +363,9 @@ void QETPrintPreviewDialog::setDiagramsListVisible(bool display) {
|
|||||||
diagrams_select_none_ -> setVisible(display);
|
diagrams_select_none_ -> setVisible(display);
|
||||||
|
|
||||||
if (display) {
|
if (display) {
|
||||||
toggle_diagrams_list_ -> setText(tr("Cacher la liste des schémas"));
|
toggle_diagrams_list_ -> setText(tr("Cacher la liste des folios"));
|
||||||
} else {
|
} else {
|
||||||
toggle_diagrams_list_ -> setText(tr("Afficher la liste des schémas"));
|
toggle_diagrams_list_ -> setText(tr("Afficher la liste des folios"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -984,7 +984,7 @@ QList <Diagram *> QETProject::addNewDiagramFolioList() {
|
|||||||
diagram_folio_list -> border_and_titleblock.importTitleBlock(defaultTitleBlockProperties());
|
diagram_folio_list -> border_and_titleblock.importTitleBlock(defaultTitleBlockProperties());
|
||||||
diagram_folio_list -> defaultConductorProperties = defaultConductorProperties();
|
diagram_folio_list -> defaultConductorProperties = defaultConductorProperties();
|
||||||
|
|
||||||
diagram_folio_list -> border_and_titleblock.setTitle(tr("Liste des Schémas"));
|
diagram_folio_list -> border_and_titleblock.setTitle(tr("Liste des Folios"));
|
||||||
// no need to display rows and columns
|
// no need to display rows and columns
|
||||||
diagram_folio_list -> border_and_titleblock.displayRows(false);
|
diagram_folio_list -> border_and_titleblock.displayRows(false);
|
||||||
diagram_folio_list -> border_and_titleblock.displayColumns(false);
|
diagram_folio_list -> border_and_titleblock.displayColumns(false);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ void TitleBlockTemplateCellWidget::initWidgets() {
|
|||||||
name_input_ = new QLineEdit();
|
name_input_ = new QLineEdit();
|
||||||
|
|
||||||
// widgets specific to empty cells
|
// widgets specific to empty cells
|
||||||
empty_label_ = new QLabel(tr("Attention : les bordures des cellules vides n'apparaissent pas lors du rendu final sur le schéma."));
|
empty_label_ = new QLabel(tr("Attention : les bordures des cellules vides n'apparaissent pas lors du rendu final sur le folio."));
|
||||||
|
|
||||||
// widgets specific to logo cells
|
// widgets specific to logo cells
|
||||||
logo_label_ = new QLabel(tr("Logo"));
|
logo_label_ = new QLabel(tr("Logo"));
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>412</width>
|
<width>480</width>
|
||||||
<height>300</height>
|
<height>300</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="border_gb">
|
<widget class="QGroupBox" name="border_gb">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Dimensions du schéma</string>
|
<string>Dimensions du folio</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="1" column="2">
|
<item row="1" column="2">
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ DiagramPropertiesDialog::DiagramPropertiesDialog(Diagram *diagram, QWidget *pare
|
|||||||
setWindowFlags(Qt::Sheet);
|
setWindowFlags(Qt::Sheet);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
setWindowTitle(tr("Propriétés du schéma", "window title"));
|
setWindowTitle(tr("Propriétés du folio", "window title"));
|
||||||
|
|
||||||
//Border widget
|
//Border widget
|
||||||
BorderPropertiesWidget *border_infos = new BorderPropertiesWidget(border, this);
|
BorderPropertiesWidget *border_infos = new BorderPropertiesWidget(border, this);
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ void diagramselection::load_TableDiagram() {
|
|||||||
QTableWidgetItem *item_State = new QTableWidgetItem();
|
QTableWidgetItem *item_State = new QTableWidgetItem();
|
||||||
|
|
||||||
QString diagram_title = list_diagram_.at(i) -> title();
|
QString diagram_title = list_diagram_.at(i) -> title();
|
||||||
if (diagram_title.isEmpty()) diagram_title = tr("Schéma sans titre");
|
if (diagram_title.isEmpty()) diagram_title = tr("Folio sans titre");
|
||||||
|
|
||||||
item_Name -> setData(Qt::DisplayRole, diagram_title);
|
item_Name -> setData(Qt::DisplayRole, diagram_title);
|
||||||
item_State -> setData(Qt::CheckStateRole, Qt::Checked);
|
item_State -> setData(Qt::CheckStateRole, Qt::Checked);
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>528</width>
|
<width>530</width>
|
||||||
<height>439</height>
|
<height>450</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@@ -136,8 +136,8 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Les variables suivantes sont utilisables dans le champ Folio :
|
<string>Les variables suivantes sont utilisables dans le champ Folio :
|
||||||
- %id : numéro du schéma courant dans le projet
|
- %id : numéro du folio courant dans le projet
|
||||||
- %total : nombre total de schémas dans le projet</string>
|
- %total : nombre total de folios dans le projet</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="scaledContents">
|
<property name="scaledContents">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
|
|||||||
Reference in New Issue
Block a user