mekasu0124

Untitled

Jan 28th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'login_window.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 6.6.1
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8.  
  9. #ifndef LOGIN_WINDOW_H
  10. #define LOGIN_WINDOW_H
  11.  
  12. #include <QtCore/QVariant>
  13. #include <QtGui/QIcon>
  14. #include <QtWidgets/QApplication>
  15. #include <QtWidgets/QFormLayout>
  16. #include <QtWidgets/QGridLayout>
  17. #include <QtWidgets/QGroupBox>
  18. #include <QtWidgets/QLabel>
  19. #include <QtWidgets/QLineEdit>
  20. #include <QtWidgets/QPushButton>
  21. #include <QtWidgets/QSpacerItem>
  22. #include <QtWidgets/QWidget>
  23.  
  24. QT_BEGIN_NAMESPACE
  25.  
  26. class Ui_w_LoginForm
  27. {
  28. public:
  29. QGridLayout *gridLayout;
  30. QGroupBox *groupBox;
  31. QFormLayout *formLayout;
  32. QLabel *label;
  33. QLineEdit *le_UserID;
  34. QLabel *label_2;
  35. QLineEdit *le_Password;
  36. QPushButton *pb_OK;
  37. QPushButton *pb_Cancel;
  38. QLabel *lb_Message;
  39. QSpacerItem *verticalSpacer;
  40.  
  41. void setupUi(QWidget *w_LoginForm)
  42. {
  43. if (w_LoginForm->objectName().isEmpty())
  44. w_LoginForm->setObjectName("w_LoginForm");
  45. w_LoginForm->resize(642, 318);
  46. QFont font;
  47. font.setPointSize(12);
  48. w_LoginForm->setFont(font);
  49. QIcon icon;
  50. icon.addFile(QString::fromUtf8(":/Book/book-solid.png"), QSize(), QIcon::Normal, QIcon::Off);
  51. w_LoginForm->setWindowIcon(icon);
  52. gridLayout = new QGridLayout(w_LoginForm);
  53. gridLayout->setObjectName("gridLayout");
  54. groupBox = new QGroupBox(w_LoginForm);
  55. groupBox->setObjectName("groupBox");
  56. groupBox->setAlignment(Qt::AlignCenter);
  57. formLayout = new QFormLayout(groupBox);
  58. formLayout->setObjectName("formLayout");
  59. label = new QLabel(groupBox);
  60. label->setObjectName("label");
  61.  
  62. formLayout->setWidget(0, QFormLayout::LabelRole, label);
  63.  
  64. le_UserID = new QLineEdit(groupBox);
  65. le_UserID->setObjectName("le_UserID");
  66.  
  67. formLayout->setWidget(0, QFormLayout::FieldRole, le_UserID);
  68.  
  69. label_2 = new QLabel(groupBox);
  70. label_2->setObjectName("label_2");
  71.  
  72. formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
  73.  
  74. le_Password = new QLineEdit(groupBox);
  75. le_Password->setObjectName("le_Password");
  76.  
  77. formLayout->setWidget(1, QFormLayout::FieldRole, le_Password);
  78.  
  79.  
  80. gridLayout->addWidget(groupBox, 0, 0, 1, 2);
  81.  
  82. pb_OK = new QPushButton(w_LoginForm);
  83. pb_OK->setObjectName("pb_OK");
  84. QIcon icon1;
  85. icon1.addFile(QString::fromUtf8(":/Buttons/check-solid.png"), QSize(), QIcon::Normal, QIcon::Off);
  86. pb_OK->setIcon(icon1);
  87.  
  88. gridLayout->addWidget(pb_OK, 2, 0, 1, 1);
  89.  
  90. pb_Cancel = new QPushButton(w_LoginForm);
  91. pb_Cancel->setObjectName("pb_Cancel");
  92. QIcon icon2;
  93. icon2.addFile(QString::fromUtf8(":/Buttons/xmark-solid.png"), QSize(), QIcon::Normal, QIcon::Off);
  94. pb_Cancel->setIcon(icon2);
  95.  
  96. gridLayout->addWidget(pb_Cancel, 2, 1, 1, 1);
  97.  
  98. lb_Message = new QLabel(w_LoginForm);
  99. lb_Message->setObjectName("lb_Message");
  100.  
  101. gridLayout->addWidget(lb_Message, 4, 0, 1, 2);
  102.  
  103. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  104.  
  105. gridLayout->addItem(verticalSpacer, 1, 0, 1, 2);
  106.  
  107.  
  108. retranslateUi(w_LoginForm);
  109.  
  110. QMetaObject::connectSlotsByName(w_LoginForm);
  111. } // setupUi
  112.  
  113. void retranslateUi(QWidget *w_LoginForm)
  114. {
  115. w_LoginForm->setWindowTitle(QCoreApplication::translate("w_LoginForm", "Sample Application ", nullptr));
  116. groupBox->setTitle(QCoreApplication::translate("w_LoginForm", "Welcome! Please Login", nullptr));
  117. label->setText(QCoreApplication::translate("w_LoginForm", "User ID:", nullptr));
  118. label_2->setText(QCoreApplication::translate("w_LoginForm", "Password:", nullptr));
  119. pb_OK->setText(QString());
  120. pb_Cancel->setText(QString());
  121. lb_Message->setText(QCoreApplication::translate("w_LoginForm", "Message", nullptr));
  122. } // retranslateUi
  123.  
  124. };
  125.  
  126. namespace Ui {
  127. class w_LoginForm: public Ui_w_LoginForm {};
  128. } // namespace Ui
  129.  
  130. QT_END_NAMESPACE
  131.  
  132. #endif // LOGIN_WINDOW_H
  133.  
Advertisement
Add Comment
Please, Sign In to add comment