9 #ifndef UI_PINSETTINGSWIDGET_H
10 #define UI_PINSETTINGSWIDGET_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QFrame>
15 #include <QtWidgets/QGridLayout>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QSpacerItem>
19 #include <QtWidgets/QStackedWidget>
20 #include <QtWidgets/QToolButton>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
162 if (PinSettingsWidget->objectName().isEmpty())
163 PinSettingsWidget->setObjectName(QString::fromUtf8(
"PinSettingsWidget"));
164 PinSettingsWidget->resize(536, 551);
191 label_2->setObjectName(QString::fromUtf8(
"label_2"));
192 label_2->setFocusPolicy(Qt::TabFocus);
193 label_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
205 label_3->setObjectName(QString::fromUtf8(
"label_3"));
206 label_3->setFocusPolicy(Qt::TabFocus);
207 label_3->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
221 canHintImage->setObjectName(QString::fromUtf8(
"canHintImage"));
222 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
223 sizePolicy.setHorizontalStretch(0);
224 sizePolicy.setVerticalStretch(0);
225 sizePolicy.setHeightForWidth(
canHintImage->sizePolicy().hasHeightForWidth());
228 canHintImage->setPixmap(QPixmap(QString::fromUtf8(
":/images/canHint.png")));
254 label_10->setObjectName(QString::fromUtf8(
"label_10"));
255 label_10->setPixmap(QPixmap(QString::fromUtf8(
":/images/Icon_Checked.svg")));
279 label_6->setObjectName(QString::fromUtf8(
"label_6"));
280 label_6->setFocusPolicy(Qt::TabFocus);
281 label_6->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
294 label_11->setObjectName(QString::fromUtf8(
"label_11"));
295 label_11->setFocusPolicy(Qt::TabFocus);
296 label_11->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
309 label_29->setObjectName(QString::fromUtf8(
"label_29"));
310 label_29->setFocusPolicy(Qt::TabFocus);
311 label_29->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
324 label_13->setObjectName(QString::fromUtf8(
"label_13"));
325 label_13->setFocusPolicy(Qt::TabFocus);
326 label_13->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
339 label_14->setObjectName(QString::fromUtf8(
"label_14"));
340 label_14->setFocusPolicy(Qt::TabFocus);
341 label_14->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
350 line_8 =
new QFrame(PinSettingsWidget);
351 line_8->setObjectName(QString::fromUtf8(
"line_8"));
352 line_8->setFrameShape(QFrame::HLine);
353 line_8->setFrameShadow(QFrame::Sunken);
358 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
375 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
385 oldPinEdit->setObjectName(QString::fromUtf8(
"oldPinEdit"));
403 newPinEdit->setObjectName(QString::fromUtf8(
"newPinEdit"));
441 canEditLabel->setObjectName(QString::fromUtf8(
"canEditLabel"));
449 QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Ignored);
450 sizePolicy1.setHorizontalStretch(0);
451 sizePolicy1.setVerticalStretch(0);
461 canEditPage->setObjectName(QString::fromUtf8(
"canEditPage"));
466 canEdit->setObjectName(QString::fromUtf8(
"canEdit"));
479 noCanEditPage->setObjectName(QString::fromUtf8(
"noCanEditPage"));
491 verticalSpacer_16 =
new QSpacerItem(20, 85, QSizePolicy::Minimum, QSizePolicy::Expanding);
498 pukEditLabel->setObjectName(QString::fromUtf8(
"pukEditLabel"));
504 pukEdit->setObjectName(QString::fromUtf8(
"pukEdit"));
515 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
522 verticalSpacer_15 =
new QSpacerItem(20, 85, QSizePolicy::Minimum, QSizePolicy::Expanding);
533 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
548 verticalSpacer_17 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
558 verticalSpacer_18 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
570 widget_2->setObjectName(QString::fromUtf8(
"widget_2"));
577 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
592 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
607 label_9->setObjectName(QString::fromUtf8(
"label_9"));
608 label_9->setFocusPolicy(Qt::TabFocus);
609 label_9->setAlignment(Qt::AlignCenter);
621 label_5->setObjectName(QString::fromUtf8(
"label_5"));
622 label_5->setAlignment(Qt::AlignCenter);
634 label_7->setObjectName(QString::fromUtf8(
"label_7"));
635 label_7->setAlignment(Qt::AlignCenter);
660 verticalSpacer_2 =
new QSpacerItem(20, 169, QSizePolicy::Minimum, QSizePolicy::Expanding);
666 pinSuccessPage->setObjectName(QString::fromUtf8(
"pinSuccessPage"));
671 widget_3->setObjectName(QString::fromUtf8(
"widget_3"));
685 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
686 sizePolicy2.setHorizontalStretch(0);
687 sizePolicy2.setVerticalStretch(0);
698 verticalSpacer_6 =
new QSpacerItem(20, 237, QSizePolicy::Minimum, QSizePolicy::Expanding);
710 noReaderLabel->setObjectName(QString::fromUtf8(
"noReaderLabel"));
716 verticalSpacer_5 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
722 errorNoNpaPage->setObjectName(QString::fromUtf8(
"errorNoNpaPage"));
728 noNpaLabel->setObjectName(QString::fromUtf8(
"noNpaLabel"));
734 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
748 label->setObjectName(QString::fromUtf8(
"label"));
749 label->setFocusPolicy(Qt::TabFocus);
750 label->setWordWrap(
true);
764 verticalSpacer_4 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
779 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
789 horizontalSpacer_5 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
796 verticalSpacer_8 =
new QSpacerItem(20, 263, QSizePolicy::Minimum, QSizePolicy::Expanding);
814 QMetaObject::connectSlotsByName(PinSettingsWidget);
819 changePinBasicHeading->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Select a secure PIN that consists of six digits. Do not select a number that can be guessed easily, such as \"123456\", your date of birth or any other number that is printed on your ID card.\n"
821 "When you change your PIN for the first time, please enter the five-digit Transport PIN in the field \"Current PIN / Transport PIN\". You received your Transport PIN with the letter sent to you by your competent authority.\n"
823 "Please note that the PIN may only consist of digits (0-9).",
nullptr));
824 label_2->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Select a secure PIN that consists of six digits. Do not select a number that can be guessed easily, such as \"123456\", your date of birth or any other number that is printed on your ID card.\n"
826 "When you change your PIN for the first time, please enter the five-digit Transport PIN in the field \"Current PIN / Transport PIN\". You received your Transport PIN with the letter sent to you by your competent authority.\n"
828 "Please note that the PIN may only consist of digits (0-9).",
nullptr));
829 label_3->setText(QCoreApplication::translate(
"PinSettingsWidget",
"A wrong PIN has been entered three times on your ID card. Your PIN is now blocked. To unblock your PIN you have to enter the PUK. You received the PUK with the letter sent to you by your competent authority.\n"
831 "Please note that you can only use the PUK to unblock the eID function. If you have forgotten your PIN, you can have a new PIN set at your competent authority.",
nullptr));
832 #if QT_CONFIG(accessibility)
833 canHintImage->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"Display of the Card Access Number (CAN) in the lower right corner of the id card",
nullptr));
834 #endif // QT_CONFIG(accessibility)
835 changePinWithCanHeading->setText(QCoreApplication::translate(
"PinSettingsWidget",
"A wrong PIN has been entered twice on your ID card. For a third attempt, please first enter the six-digit Card Access Number (CAN). You can find your Card Access Number (CAN) in the bottom right on the front of your ID card.",
nullptr));
837 changePinComfortHeading_2->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<h4>PIN successfully changed</h4>",
nullptr));
838 label_6->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<html>\n"
839 "<h4>No card reader detected. Please make sure that a card reader is connected.</h4>\n"
840 "<p>If you need help or have problems with your card reader click on the \"Diagnosis\" button for further information.\n"
842 "</html>",
nullptr));
843 label_11->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<html>\n"
844 "<h4>Please place your ID card on the card reader.</h4>\n"
845 "<p>If you have already placed an ID card on the card reader but it is not displayed here, please click on \"Diagnosis\".</p>\n"
846 "</html>",
nullptr));
847 label_29->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<html>\n"
848 "<h4>Extended Length is not supported.</h4>\n"
849 "<p>Your smartphone as card reader (SaC) does not meet the technical requirements (Extended Length not supported).</p>\n"
850 "</html>",
nullptr));
851 label_13->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<html>\n"
852 "<h4>Several ID cards detected</h4>\n"
853 "<p>Please place just one ID card on the card reader.</p>\n"
854 "</html>",
nullptr));
855 label_14->setText(QCoreApplication::translate(
"PinSettingsWidget",
"<html>\n"
856 "<h4>eID feature deactivated</h4>\n"
857 "<p>The eID function of your ID card is not activated. Please contact the authority responsible for issuing your identification card to activate the eID function.</p>\n"
858 "</html>",
nullptr));
859 oldPinEditLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Current PIN / Transport PIN:",
nullptr));
860 #if QT_CONFIG(accessibility)
861 oldRandomPinButton->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"open on screen keyboard",
nullptr));
862 #endif // QT_CONFIG(accessibility)
863 newPinEditLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"New PIN:",
nullptr));
864 #if QT_CONFIG(accessibility)
865 newRandomPinButton->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"open on screen keyboard",
nullptr));
866 #endif // QT_CONFIG(accessibility)
867 repeatNewPinEditLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Confirm:",
nullptr));
868 #if QT_CONFIG(accessibility)
869 repeatNewRandomPinButton->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"open on screen keyboard",
nullptr));
870 #endif // QT_CONFIG(accessibility)
871 canEditLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Card Access Number (CAN):",
nullptr));
872 #if QT_CONFIG(accessibility)
873 canRandomPinButton->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"open on screen keyboard",
nullptr));
874 #endif // QT_CONFIG(accessibility)
875 pukEditLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"PUK:",
nullptr));
876 #if QT_CONFIG(accessibility)
877 pukRandomPinButton->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"open on screen keyboard",
nullptr));
878 #endif // QT_CONFIG(accessibility)
879 #if QT_CONFIG(accessibility)
880 basicReaderImageLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"card reader icon",
nullptr));
881 #endif // QT_CONFIG(accessibility)
882 #if QT_CONFIG(accessibility)
883 comfortReaderImageLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"card reader icon",
nullptr));
884 #endif // QT_CONFIG(accessibility)
885 label_9->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Click on \"Change PIN\" to enter a new PIN.",
nullptr));
886 label_5->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Click on \"Enter PUK\" to unblock your ID card.",
nullptr));
887 label_7->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Click on \"Change PIN\" to enter your Card Access Number (CAN) and then set a new PIN. You can find your Card Access Number (CAN) on the front side of your ID card next to the date of expiry. On the electronic residence permit the Card Access Number (CAN) is printed above your signature.",
nullptr));
888 changePinComfortInProgressLabel->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Please pay attention to the display of your card reader.",
nullptr));
889 changePinComfortDetailsLabel_2->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Click on \"Change PIN\" if you want to change your PIN again.\n"
891 "If not, you can now remove your ID card form the card reader.",
nullptr));
892 #if QT_CONFIG(accessibility)
893 pinSuccessReaderImageLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"successful PIN change icon",
nullptr));
894 #endif // QT_CONFIG(accessibility)
895 #if QT_CONFIG(accessibility)
896 noReaderLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"no reader icon",
nullptr));
897 #endif // QT_CONFIG(accessibility)
898 #if QT_CONFIG(accessibility)
899 noNpaLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"no ID card icon",
nullptr));
900 #endif // QT_CONFIG(accessibility)
901 #if QT_CONFIG(accessibility)
902 label->setAccessibleName(QString());
903 #endif // QT_CONFIG(accessibility)
904 label->setText(QCoreApplication::translate(
"PinSettingsWidget",
"Please make sure that only one card reader with an ID card on it is connected to your computer.",
nullptr));
905 #if QT_CONFIG(accessibility)
906 multipleReaderLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"multiple card reader icon",
nullptr));
907 #endif // QT_CONFIG(accessibility)
908 #if QT_CONFIG(accessibility)
909 deactivatedReaderImageLabel->setAccessibleName(QCoreApplication::translate(
"PinSettingsWidget",
"deactivated card reader icon",
nullptr));
910 #endif // QT_CONFIG(accessibility)
912 (void)PinSettingsWidget;
923 #endif // UI_PINSETTINGSWIDGET_H