Prise en compte dans 'config_event.qml' des alertes par email et par SMS
This commit is contained in:
+51
-55
@@ -773,56 +773,6 @@ visible: false
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Ligne de formulaire : Alarme_sms
|
||||
Rectangle {
|
||||
id: ligne_alarme_sms_checkbox
|
||||
width: (shipheart_largeur_page * pourcentage_largeur_colonne_gauche) - (espace_colonnes_principales / 2)
|
||||
height: visible ? hauteur_ligne_formulaire : 0
|
||||
color: "transparent"
|
||||
// visible: ligne_alarme_son.visible
|
||||
visible: false
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Emission SMS")
|
||||
width: parent.width * pourcentage_largeur_labels_formulaire
|
||||
}
|
||||
|
||||
Shipheart_formulaire_checkbox {
|
||||
id: champ_formulaire_Alarme_sms
|
||||
width: parent.width * (1 - pourcentage_largeur_labels_formulaire)
|
||||
}
|
||||
|
||||
Shipheart_formulaire_ligne_separation {
|
||||
haut_bas_hautbas: shipheart_formulaire_ligne_separation_basse
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Ligne de formulaire : Texte_sms
|
||||
Rectangle {
|
||||
id: ligne_alarme_sms
|
||||
width: (shipheart_largeur_page * pourcentage_largeur_colonne_gauche) - (espace_colonnes_principales / 2)
|
||||
implicitHeight: champ_formulaire_Texte_sms.implicitHeight
|
||||
height: visible ? undefined : 0 // Le 'undefined' permet de ne pas perturber le 'implicitHeight' en temps normal. Le 0 mpermet de forcer la hauteur si non visible.
|
||||
color: "transparent"
|
||||
// visible: ligne_alarme_sms_checkbox.visible
|
||||
// && champ_formulaire_Alarme_sms_checkbox.checked
|
||||
visible: false
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Texte du SMS à envoyer")
|
||||
width: parent.width * pourcentage_largeur_labels_formulaire
|
||||
}
|
||||
|
||||
Shipheart_formulaire_textarea {
|
||||
id: champ_formulaire_Texte_sms
|
||||
width: parent.width * (1 - pourcentage_largeur_labels_formulaire)
|
||||
horizontalAlignment: Text.AlignJustify
|
||||
wrapMode: Label.Wrap
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Ligne de formulaire : Alarme_email
|
||||
Rectangle {
|
||||
@@ -830,8 +780,7 @@ visible: false
|
||||
width: (shipheart_largeur_page * pourcentage_largeur_colonne_gauche) - (espace_colonnes_principales / 2)
|
||||
height: visible ? hauteur_ligne_formulaire : 0
|
||||
color: "transparent"
|
||||
// visible: ligne_alarme_son.visible
|
||||
visible: false
|
||||
visible: ligne_alarme_son.visible
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Emission Email")
|
||||
@@ -856,9 +805,8 @@ visible: false
|
||||
implicitHeight: champ_formulaire_Texte_email.implicitHeight
|
||||
height: visible ? undefined : 0 // Le 'undefined' permet de ne pas perturber le 'implicitHeight' en temps normal. Le 0 mpermet de forcer la hauteur si non visible.
|
||||
color: "transparent"
|
||||
// visible: ligne_alarme_email_checkbox.visible
|
||||
// && champ_formulaire_Alarme_email_checkbox.checked
|
||||
visible: false
|
||||
visible: ligne_alarme_email_checkbox.visible
|
||||
&& champ_formulaire_Alarme_email.checked
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Texte de l'email à envoyer")
|
||||
@@ -874,6 +822,54 @@ visible: false
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Ligne de formulaire : Alarme_sms
|
||||
Rectangle {
|
||||
id: ligne_alarme_sms_checkbox
|
||||
width: (shipheart_largeur_page * pourcentage_largeur_colonne_gauche) - (espace_colonnes_principales / 2)
|
||||
height: visible ? hauteur_ligne_formulaire : 0
|
||||
color: "transparent"
|
||||
visible: ligne_alarme_son.visible
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Emission SMS")
|
||||
width: parent.width * pourcentage_largeur_labels_formulaire
|
||||
}
|
||||
|
||||
Shipheart_formulaire_checkbox {
|
||||
id: champ_formulaire_Alarme_sms
|
||||
width: parent.width * (1 - pourcentage_largeur_labels_formulaire)
|
||||
}
|
||||
|
||||
Shipheart_formulaire_ligne_separation {
|
||||
haut_bas_hautbas: shipheart_formulaire_ligne_separation_basse
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Ligne de formulaire : Texte_sms
|
||||
Rectangle {
|
||||
id: ligne_alarme_sms
|
||||
width: (shipheart_largeur_page * pourcentage_largeur_colonne_gauche) - (espace_colonnes_principales / 2)
|
||||
implicitHeight: champ_formulaire_Texte_sms.implicitHeight
|
||||
height: visible ? undefined : 0 // Le 'undefined' permet de ne pas perturber le 'implicitHeight' en temps normal. Le 0 mpermet de forcer la hauteur si non visible.
|
||||
color: "transparent"
|
||||
visible: ligne_alarme_sms_checkbox.visible
|
||||
&& champ_formulaire_Alarme_sms.checked
|
||||
|
||||
Shipheart_formulaire_label {
|
||||
text: qsTr("Texte du SMS à envoyer")
|
||||
width: parent.width * pourcentage_largeur_labels_formulaire
|
||||
}
|
||||
|
||||
Shipheart_formulaire_textarea {
|
||||
id: champ_formulaire_Texte_sms
|
||||
width: parent.width * (1 - pourcentage_largeur_labels_formulaire)
|
||||
horizontalAlignment: Text.AlignJustify
|
||||
wrapMode: Label.Wrap
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//===========================================================
|
||||
// Séparation :
|
||||
|
||||
Reference in New Issue
Block a user