ui_passworddialog.h
上传用户:huahtool
上传日期:2015-12-10
资源大小:1089k
文件大小:4k
源码类别:

浏览器

开发平台:

Visual C++

  1. /********************************************************************************
  2. ** Form generated from reading ui file 'passworddialog.ui'
  3. **
  4. ** Created: Tue Nov 18 19:00:08 2008
  5. **      by: Qt User Interface Compiler version 4.4.3
  6. **
  7. ** WARNING! All changes made in this file will be lost when recompiling ui file!
  8. ********************************************************************************/
  9. #ifndef UI_PASSWORDDIALOG_H
  10. #define UI_PASSWORDDIALOG_H
  11. #include <QtCore/QVariant>
  12. #include <QtGui/QAction>
  13. #include <QtGui/QApplication>
  14. #include <QtGui/QButtonGroup>
  15. #include <QtGui/QDialog>
  16. #include <QtGui/QDialogButtonBox>
  17. #include <QtGui/QGridLayout>
  18. #include <QtGui/QHBoxLayout>
  19. #include <QtGui/QLabel>
  20. #include <QtGui/QLineEdit>
  21. QT_BEGIN_NAMESPACE
  22. class Ui_PasswordDialog
  23. {
  24. public:
  25.     QGridLayout *gridLayout;
  26.     QHBoxLayout *hboxLayout;
  27.     QLabel *iconLabel;
  28.     QLabel *introLabel;
  29.     QLabel *label;
  30.     QLineEdit *userNameLineEdit;
  31.     QLabel *lblPassword;
  32.     QLineEdit *passwordLineEdit;
  33.     QDialogButtonBox *buttonBox;
  34.     void setupUi(QDialog *PasswordDialog)
  35.     {
  36.     if (PasswordDialog->objectName().isEmpty())
  37.         PasswordDialog->setObjectName(QString::fromUtf8("PasswordDialog"));
  38.     PasswordDialog->resize(399, 148);
  39.     gridLayout = new QGridLayout(PasswordDialog);
  40.     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
  41.     hboxLayout = new QHBoxLayout();
  42.     hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
  43.     iconLabel = new QLabel(PasswordDialog);
  44.     iconLabel->setObjectName(QString::fromUtf8("iconLabel"));
  45.     hboxLayout->addWidget(iconLabel);
  46.     introLabel = new QLabel(PasswordDialog);
  47.     introLabel->setObjectName(QString::fromUtf8("introLabel"));
  48.     QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
  49.     sizePolicy.setHorizontalStretch(0);
  50.     sizePolicy.setVerticalStretch(0);
  51.     sizePolicy.setHeightForWidth(introLabel->sizePolicy().hasHeightForWidth());
  52.     introLabel->setSizePolicy(sizePolicy);
  53.     hboxLayout->addWidget(introLabel);
  54.     gridLayout->addLayout(hboxLayout, 0, 0, 1, 2);
  55.     label = new QLabel(PasswordDialog);
  56.     label->setObjectName(QString::fromUtf8("label"));
  57.     gridLayout->addWidget(label, 1, 0, 1, 1);
  58.     userNameLineEdit = new QLineEdit(PasswordDialog);
  59.     userNameLineEdit->setObjectName(QString::fromUtf8("userNameLineEdit"));
  60.     gridLayout->addWidget(userNameLineEdit, 1, 1, 1, 1);
  61.     lblPassword = new QLabel(PasswordDialog);
  62.     lblPassword->setObjectName(QString::fromUtf8("lblPassword"));
  63.     gridLayout->addWidget(lblPassword, 2, 0, 1, 1);
  64.     passwordLineEdit = new QLineEdit(PasswordDialog);
  65.     passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit"));
  66.     passwordLineEdit->setEchoMode(QLineEdit::Password);
  67.     gridLayout->addWidget(passwordLineEdit, 2, 1, 1, 1);
  68.     buttonBox = new QDialogButtonBox(PasswordDialog);
  69.     buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
  70.     buttonBox->setOrientation(Qt::Horizontal);
  71.     buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
  72.     gridLayout->addWidget(buttonBox, 3, 0, 1, 2);
  73.     retranslateUi(PasswordDialog);
  74.     QObject::connect(buttonBox, SIGNAL(accepted()), PasswordDialog, SLOT(accept()));
  75.     QObject::connect(buttonBox, SIGNAL(rejected()), PasswordDialog, SLOT(reject()));
  76.     QMetaObject::connectSlotsByName(PasswordDialog);
  77.     } // setupUi
  78.     void retranslateUi(QDialog *PasswordDialog)
  79.     {
  80.     PasswordDialog->setWindowTitle(QApplication::translate("PasswordDialog", "Authentication Required", 0, QApplication::UnicodeUTF8));
  81.     iconLabel->setText(QApplication::translate("PasswordDialog", "DUMMY ICON", 0, QApplication::UnicodeUTF8));
  82.     introLabel->setText(QApplication::translate("PasswordDialog", "INTRO TEXT DUMMY", 0, QApplication::UnicodeUTF8));
  83.     label->setText(QApplication::translate("PasswordDialog", "Username:", 0, QApplication::UnicodeUTF8));
  84.     lblPassword->setText(QApplication::translate("PasswordDialog", "Password:", 0, QApplication::UnicodeUTF8));
  85.     Q_UNUSED(PasswordDialog);
  86.     } // retranslateUi
  87. };
  88. namespace Ui {
  89.     class PasswordDialog: public Ui_PasswordDialog {};
  90. } // namespace Ui
  91. QT_END_NAMESPACE
  92. #endif // UI_PASSWORDDIALOG_H